ocamllabs / ocaml-effects

*DEPRECATED: See ocaml-multicore/ocaml-multicore* OCaml effects handlers
Other
27 stars 4 forks source link

regularize syntax for effect declaration #20

Open gmevel opened 8 years ago

gmevel commented 8 years ago

hello,

(not sure how issues are received at this stage of developpement, i try anyway)

i suggest to change the syntax of effect declaration:

effect E : a -> b

to the more regular:

effect E : a -> b eff

why?

cons:

(in case it matters: i’m testing effects on the opam switch 4.02.1+multicore, as 4.03.0+effects does not compile for me.)