List Info

Thread: "ocaml_beginners"::[] Currified exceptions in revised Caml syntax ?




"ocaml_beginners"::[] Currified exceptions in revised Caml syntax ?
user name
2006-12-30 15:26:51

Hello all,

the following line of code (in the so-called "revised" CamlP4 syntax,from file stdpp.ml
of the OCaml distribution) puzzles me :

exception Exc_located of Token.flocation and exn;

appearantly this is a sort of "currified" exception with two parameters. I did
not find any explanation on this in the CamlP4 manual or tutorials (NB : I'm
using the "old" version 3.09.0). Can it be translated into ordinary Caml syntax ?

Ewan


__._,_.___
.

__,_._,___
[1]

about | contact  Other archives ( Real Estate discussion Medical topics )