are there any advantages to using OCaml for making web apps?
Language-wise, it is Ocaml with a different syntax layer, so all of the nice things about the language are still available.
- Super-fast compiler
- Readable and succinct JS output with nearly 1-to-1 mapping from OCaml source
- Simple module system with no need to explicitly import modules--the compiler takes care of it for you
- High-quality React and other bindings
- The standard advantages of the type system like expressive power of data types and pattern matching with exhaustivity checking
- Tons of super useful built-in lints like 'unused variable', 'unused function parameter', 'discarding a value', etc.
* Node with TypeScript
* JVM with Scala
* CLR with F#