lundi 3 août 2015

Ocaml if-then-else Syntax Error

Why is this Ocaml statement giving me a syntax error?

let a = 0;; if a = 0 then let b = 0;;

Do if then else statements always have to return a value?

Aucun commentaire:

Enregistrer un commentaire