News for hackers. Stuff that matters.
Re:Hazel: A live functional programming environment featurin... by imglorp on Friday November 01, 2024 @12:14PM (#42018451)
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?
Re:Hazel: A live functional programming environment featurin... by moomin on Friday November 01, 2024 @12:19PM (#42018520)
The bindings are only valid for the expression following in.

Haskell does the same thing.

Re:Hazel: A live functional programming environment featurin... by arthurbrown on Friday November 01, 2024 @12:22PM (#42018562)
this is the syntax for variable binding in ocaml.

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