Rizo Isrof
rizo.odis.io
Rizo Isrof
@rizo.odis.io
Lost in macro expansion
https://github.com/rizo
It's a very comprehensive framework that solves many problems elegantly and completely. It also has a large API surface and sacrifices simplicity for power. More info here: youtu.be/9FGaKfA5xR8?...

If you're new to OCaml maybe start with something simpler and ad-hoc like Dream/Melange.
Ocsigen: Developing Web and mobile applications in OCaml
YouTube video by Ocsigen
youtu.be
January 18, 2025 at 4:59 PM
Would be great to fix this upstream and specialise global compare-like functions for ints at some point!
December 7, 2024 at 9:30 PM
I, personally, also find them super convenient. But, when introducing newcomers to OCaml from scratch, I think presenting things gradually works best. Really depends on the context, but for someone just exploring the language there's a complexity budget they're willing to pay.
December 7, 2024 at 9:27 PM
One aspect I find important for beginners is just to ignore some problems and get things done quickly :)

Worrying about the edge cases/performance of poly compare, sexp and ppx is a recipe for frustration.

Base is definitely a better default for production code, of course!
December 7, 2024 at 3:45 PM
It's a devising opinion, but I would recommend sticking to the standard library when learning the language. For slightly fancier data structures consider Containers, which is fairly lightweight and unopinionated. Base is very well-designed but does not focus on simplicity.
December 7, 2024 at 10:31 AM
Something like this should work and give you a sorted set of tuples.
December 7, 2024 at 12:12 AM
Agreed.. But also, if the error was presented in the reverse order it would make so much more sense.
December 2, 2024 at 8:58 PM
I had an extra slide to briefly summarise the library landscape:
November 27, 2024 at 5:19 PM
Sure: lwd is low-level and focuses on managing entire documents/graphs; react/note is a more classical form of continuous FRP (with signals and events); bonsai works with state machines/VDOM. None allow resource management synced with the lifetime of the views. Helix tries to offer a very simple API
November 27, 2024 at 5:16 PM
Typical OCaml is much more practical than typical Haskell. The ecosystem values simplicity and ease of maintenance. The community is small but dedicated and helpful. The libraries are fewer but have excellent quality. Dune is a great build system. OCaml 5 removed the need for concurrency monads!
November 21, 2024 at 11:18 PM
This was a lovely read. Thanks for explaining it all clearly! I do wish we had value-level dead code elimination. I saw an initial effort of that some time ago which looked promising.
November 21, 2024 at 12:18 AM
This os looking great! What's the plan for customising the elements/components? Is it allowing users to pass custom css class names as attributes to add/override styles?
November 17, 2024 at 11:50 AM