Previous Up Next

3.1  Lexical issues

JoCaml has the same lexical conventions as Objective Caml, with additional keywords spawn, def and reply.

Keywords or and & exist in both languages, but with very different meanings. As a consequence, JoCaml users cannot use or and & for the boolean connectors “or” and “and”. Notice that this practice is deprecated in Objective Caml: to express boolean connectors one should (in Objective Caml) and must (in JoCaml) use the operators || and &&.


Previous Up Next