Hacker News new | ask | show | jobs
by imglorp 588 days ago
Interesting syntax: all the "let" bindings end with "in", eg

    let comparison =
      (0 == 0, 0 < 1, 1 <= 1, 2 > 1, 1 >= 1) 
    in
Anyone know why "in" keyword?
2 comments

this is the syntax for variable binding in ocaml.

Hazel appears to be written in ocaml and mentions being "ml-like" on the site

The bindings are only valid for the expression following in.

Haskell does the same thing.