Rails on OCaml
protoship.io
protoship.io
I get that people coming from Ruby/JS/Python world will go "woo, types!" but you don't need to go functional to get that; I wish more of these articles would explain why the nuances of functional type systems, and other benefits of the functional approach, lead to concrete advantages when it comes to building real systems that do useful work.
It just occured to me that relationship between Java and more expressive languages that do more, parallels relationship between microservices architecture and monoliths.
Because in Java it's hard to make smart classes that do everything you need, you need to create whole ecosystem of dumb classes that only through their interaction are capable of doing what you need. But the language has no tools to deal with interactions between classes. For monitoring them and reshaping them just as there's no tooling in microservices architecture to deal with complexities of inter-service interactions.
So in theory you have nice isolated units that should be easy to change and swap. But you just pushed the complexities of your problem to in-between of your units where they are no longer well visible and very hard to manage and evolve.
I would like to see a typed-FP Phoenix for a typed-FP equivalent to Elixir: a language that builds on an existing platform with a great focus on the UX and the tooling. Perhaps Reason could become that language, or something derived from Haskell. (Although Haskell's Elixir would be in a difficult situation. It would need to compile faster than Haskell to have a really good UX.) Then again, maybe that language would build on top of a less obvious choice for FP aficionados, like Go.
Right now the Rails-like web framework with a focus on type safety I find the most promising exists in a multiparadigm language and isn't devoted to FP. It is Lucky for Crystal.
If you are interested you can email sorbet@stripe.com (it's been almost a year with no releases though).