Name: Anonymous 2015-02-01 10:13
Using eval is almost always a bad idea. It's a crutch for bad designs, it opens giant security holes in your code, and in practice it's almost never needed to get actual stuff done.
type state = { i_am_here: int; enable_frobnicator: bool; _ }
val do_the_thing : state -> state
val go_over_there : int -> state -> state