F Natural – Putting the fn back in functional
github.com
github.com
[0]: https://github.com/billhails/PyScheme/wiki/Then-and-Back
EDIT: Sadly, this project hasn't been touched in 2 months.
Also interops with JS (and has superb bindings for React) so immediate results/learning are very easy to get.
The messenger people don't know what to do about that either, really.
I really like the language though so it's a shame.
But the real zen of Fable is using fable-elmish, which is a UI library that (like Elm) focuses on message passing. It's super elegant.
Good sample app doing nontrivial stuff: https://github.com/SAFE-Stack/SAFE-Chat
(Bonus is that it's full-stack F# :))
define y = 12;
but the following one does not:
define fn(x) = { ... }
The example warped my brain a little.
In scheme you can save that continuation and return to it as many times as you want, which people from other languages have a hard time to wrap their head around. I'm rather sad that they chose to implement undelimited continuations, since that is almost never what you want.
First class continuations are a fantastic tool in your language. They can be used to implement coroutines, fibers, nondeterminism and so on. Really no surprise that they are a part of scheme, which usually pick a few well thought out primitives that combine into nice high level abstractions.