News for hackers. Stuff that matters.
Re:ReScript (previously BuckleScript and Reason) by toastal on Friday August 14, 2020 @03:00PM (#24161879)
Dropping the semicolons, all the brackets, and other JS-y syntax of ReasonML in favor of something more OCaml-y makes this a lot easier to read. I'm super confused at a capital U being the sigil for uncurried functions; it just is not a convention I'd expect from a modern language.
Re:ReScript (previously BuckleScript and Reason) by yawaramin on Friday August 14, 2020 @03:34PM (#24162293)
It's not a sigil, it's just a naming convention. For example, in the OCaml world there's a convention for functions that throw exceptions to have a '_exn' suffix. In Haskell there's a convention for monadic function to have an 'M' suffix.