Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

> You have to explicitly opt-in to any unsafe operations

Many of the unsafe operations don't exist in OCaml. Often because the GC makes them unnecessary.



You can implement all of the unsafe operations in OCaml using the unsafe Obj.magic cast: http://caml.inria.fr/pub/docs/manual-ocaml/libref/Obj.html




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: