News for hackers. Stuff that matters.
Re:A set of efficient persistent immutable data structures f... by cies on Tuesday March 28, 2017 @05:10PM (#13980752)
There's some neat stuff in the Reason syntax, apart from the make-it-less-weird-for-those-coming-from-JS/Java/C#/etc., for instance: JSX[0] and named curried functions[1]. Both are fitting in really nice when doing FE dev't like with `react-reason`[2].

If you are interested in this, I recommend some talks. First one by Cheng Lou, a main contributor of Reason and FB employee on React Conf 2017[3]. And a talk by Sean Grove[4] on Reason in general.

With the power of FB behind this new techonolgy (they have currently written 25% of messenger.com in Reason), this might well become very big. A general purpose strongly typed functional prog lang, that has a vast ecosystem, now an approachable syntax, and compiles to both native and JS. Sounds good nuh?

[0]: https://facebook.github.io/reason/#diving-deeper-jsx

[1]: https://facebook.github.io/reason/#diving-deeper-curried-fun...

[2]: https://github.com/chenglou/reason-react-example/blob/master...

[3]: https://www.youtube.com/watch?v=_0T5OSSzxms

[4]: https://www.youtube.com/watch?v=8LCmLQ1-YqQ&t=517s

Re:A set of efficient persistent immutable data structures f... by thedufer on Tuesday March 28, 2017 @06:22PM (#13981326)
Can you explain how named curried functions differ from ocaml's named arguments? It looks exactly the same, other than the syntax.
Re:A set of efficient persistent immutable data structures f... by chenglou on Tuesday March 28, 2017 @06:43PM (#13981519)
They are the same. I don't think cies was implying they were different.
Re:A set of efficient persistent immutable data structures f... by thedufer on Tuesday March 28, 2017 @06:53PM (#13981605)
The wording seems to pretty clearly say otherwise, but I appreciate the confirmation that I'm not missing anything.
Re:A set of efficient persistent immutable data structures f... by jordwalke on Tuesday March 28, 2017 @06:47PM (#13981538)
They're not different than OCaml's, but Reason's JSX is an interesting / useful application of labeled arguments that appeals to React developers.
Re:A set of efficient persistent immutable data structures f... by cies on Wednesday March 29, 2017 @03:40AM (#13984178)
My bad. They're the same (as others noted). Was not familiar with them.