Crystal and Rust are good examples of language homepages that give you an idea of what you're getting into up front. Or for a transpiled language, PureScript.
Crystal and Rust are good examples of language homepages that give you an idea of what you're getting into up front. Or for a transpiled language, PureScript.
For alert(), you'll find it in Fable.Import.Browser.window.alert()
(In case you're wondering, the Fable convention is that the Fable.Import.* namespace is used for pure JS bindings with no business code, while libraries with an actual translation layer are placed in the Fable.Helpers.* namespace.)
Though one area I think it's quite nice is parsing, I like FParsec
Fable lets one use F# for both frontend and backend, and being able to share the code (models in particular, but really anything) while maintaining clear separation of tiers reduces your code base and dramatically improves quality w/o the need for elaborate tests.
Fable-elmish lets one use the same frontend code and architecture to write Native and Web apps. Again, YMMV, but at our company being able to transition an entire team between completely different types of projects avoids expertise silos and makes truly cross-functional teams possible.
We have OSSed a lot of our backend tech that helps building event-driven system in F# as well, in case anyone's interested: https://prolucid.github.io.
As Tomas said, just like Lisp in Paul Graham's "Beating the Averages" has been his secret weapon, F# is ours.
We are a small team working on it, and we try to constantly improve it.
I will provide you some links here if you can find them useful:
- File explorer using electron: https://github.com/fable-compiler/samples-electron#samples
- Pixi.js samples (quite new we are working on them): https://github.com/fable-compiler/samples-pixi/
- Elmish central website: https://fable-elmish.github.io/
- Bulma wrapper for Elmish: https://mangelmaxime.github.io/Fulma/
- A demo of Fulma + Elmish
- Live demo: https://mangelmaxime.github.io/fulma-demo/
- Source code: https://github.com/MangelMaxime/fulma-demo
And also, a really cool place is Fable awesome: https://github.com/kunjee17/awesome-fable