[Teaching] Asking teachers: what support would you want to distribute OCaml to students ?
Drup
drupyog+caml at zoho.com
Thu Nov 27 11:25:55 GMT 2014
> - Student would appreciate a meta function for printing value (as the
> interpreter do) rather that writing a lot of function to do that...
I think a function of type 'a -> string is not going to happen without
horrible hacks, however, you can take the deriving route by using either
camlp4 + sexplib/deriving or ppx_deriving (with ocaml ≥ 4.02). The
later is a bit easier to setup, since you avoid camlp4. However, If you
already use camlp4 for other reasons, you can't use ppx.
More information about the Teaching
mailing list