Hashtag
#OCaml
135 posts tagged with this hashtag.
Verified purely functional catenable real-time deques. ~ Jules Viennot, Arthur Wendling, Armaël Guéneau, François Pottier.

arxiv.org
Verified Purely Functional Catenable Real-Time Deques
We present OCaml and Rocq implementations of Kaplan and Tarjan's purely functional, real-time catenable deques. The correctness of our Rocq code is machine-checked.
The #OCaml weekly news for 2026-11-03 is out
alan.petitepomme.net
OCaml Weekly News
I'm really proud to announce our new website for #unikernel in #OCaml: https://uniker.nl/. You can check details here: https://discuss.ocaml.org/t/ann-uniker-nl-unikernels-in-ocaml/18625. A new story begins!
discuss.ocaml.org
[ANN] uniker.nl - Unikernels in OCaml
We are delighted to announce the launch of our new website: uniker.nl. This website embodies our new approach to developing unikernels with OCaml 5. It offers a new way of developing unikernels and now places just as much emphasis on the deployment and use of unikernels. The website features a comprehensive tutorial and resources to help you get to grips with our new ecosystem, providing a first entry point for anyone interested in unikernels in OCaml. The content of this site is available here,...
I'm really proud to announce our new website for #unikernel in #OCaml: https://uniker.nl/. You can check details here: https://discuss.ocaml.org/t/ann-uniker-nl-unikernels-in-ocaml/18625. A new story begins!
discuss.ocaml.org
[ANN] uniker.nl - Unikernels in OCaml
We are delighted to announce the launch of our new website: uniker.nl. This website embodies our new approach to developing unikernels with OCaml 5. It offers a new way of developing unikernels and now places just as much emphasis on the deployment and use of unikernels. The website features a comprehensive tutorial and resources to help you get to grips with our new ecosystem, providing a first entry point for anyone interested in unikernels in OCaml. The content of this site is available here,...
Scam alert; apparently there’s a fake functional programming conference trying to pass itself off as being affiliated with a larger conference, with an additional fee: https://www.reddit.com/r/haskell/s/BqsYYU9nIX
reddit.com
Scam functional programming conference targets #Haskell and #OCaml communities: https://discourse.haskell.org/t/scam-alert-recursion-2026-conference-conf-funcp-org/14817
discourse.haskell.org
[SCAM ALERT] Recursion 2026 conference (conf.funcp.org)
Haskell Security Response Team has been alerted to an apparent scam website pretending to be the “Recursion 2026” conference (29-30 October, NYC). The registration facility appears (to me) to be closed at the moment, but it’s possible they scammed some people in our community. Thanks to Cuihtlauac Alvarado for the report. The OCaml community has also been alerted - I am reproducing the substance of that announcement below, with thanks: This site: https://conf.funcp.org/ Presents as an OCa...
They keynote for #BOBkonf2027 will be held by the incomparable Xavier Leroy, principal designer of #OCaml and #CompCert!
https://bobkonf.de/2027/leroy.html
They keynote for #BOBkonf2027 will be held by the incomparable Xavier Leroy, principal designer of #OCaml and #CompCert!
https://bobkonf.de/2027/leroy.html
Some updates on tree-sitter support for OCaml mini-languages (odoc, opam and dune) and improving Emacs support for OCaml with neocaml. https://lambdafoo.com/posts/2026-09-14-more-trees-more-neocaml.html #emacs #ocaml
lambdafoo.com
More tree-sitter, more neocaml, more elisp · Perpetually Curious
It's sad that Haskell and OCaml are stuck with such terrible tooling / build systems. I'm partial to OCaml but opam + dune are terrible, and FFI is too complicated (Ocaml LSP is amazing though).
If OCaml had better tooling I would use it instead of Rust whenever possible. As is its I'm probably giving it up for now.
Romain ( @dinosaure ) talked about building #unikernels with effects and miou at the #OCaml workshop and introduced https://uniker.nl -- with lots of documentation about that (OCaml workshop https://ocaml.org/ocaml-workshop-2026/schedule) #MirageOS
Note he's a coworker at https://robur.coop :)
Reach out if you've interest and ideas 💡 about what you'd like to see in the unikernel 🐪 world 🌎.
This work doesn't use multiple stage compilation (mirage configure && make build), no code is generated, no opam-monorepo (barely maintained, comes with a custom solver, ...), no functors -- instead easily accessible straightforward code.
PS just to be clear, no LLM has been involved for developing any of this. We're enjoying to craft the creative and engineered code ourselves by hand. #fuck_ai
robur.coop
Robur - Open Source Software Cooperative
Developing robust, secure and sustainable digital infrastructure in OCaml and MirageOS unikernels.
Romain ( @dinosaure ) talked about building #unikernels with effects and miou at the #OCaml workshop and introduced https://uniker.nl -- with lots of documentation about that (OCaml workshop https://ocaml.org/ocaml-workshop-2026/schedule) #MirageOS
Note he's a coworker at https://robur.coop :)
Reach out if you've interest and ideas 💡 about what you'd like to see in the unikernel 🐪 world 🌎.
This work doesn't use multiple stage compilation (mirage configure && make build), no code is generated, no opam-monorepo (barely maintained, comes with a custom solver, ...), no functors -- instead easily accessible straightforward code.
PS just to be clear, no LLM has been involved for developing any of this. We're enjoying to craft the creative and engineered code ourselves by hand. #fuck_ai
robur.coop
Robur - Open Source Software Cooperative
Developing robust, secure and sustainable digital infrastructure in OCaml and MirageOS unikernels.
Romain ( @dinosaure ) talked about building #unikernels with effects and miou at the #OCaml workshop and introduced https://uniker.nl -- with lots of documentation about that (OCaml workshop https://ocaml.org/ocaml-workshop-2026/schedule) #MirageOS
Note he's a coworker at https://robur.coop :)
Reach out if you've interest and ideas 💡 about what you'd like to see in the unikernel 🐪 world 🌎.
This work doesn't use multiple stage compilation (mirage configure && make build), no code is generated, no opam-monorepo (barely maintained, comes with a custom solver, ...), no functors -- instead easily accessible straightforward code.
PS just to be clear, no LLM has been involved for developing any of this. We're enjoying to craft the creative and engineered code ourselves by hand. #fuck_ai
robur.coop
Robur - Open Source Software Cooperative
Developing robust, secure and sustainable digital infrastructure in OCaml and MirageOS unikernels.
beta1 is out and i’m still looking for beta-testers in case anyone’s interested
discuss.ocaml.org
[ANN] opam 2.6.0~alpha1
Hi everyone, We are happy to announce the release of opam 2.6.0~beta1. This version is a beta, we invite users to test it to spot previously unnoticed bugs as we head towards the stable release. Main changes compared to 2.6.0~alpha1 ♻ opam init --reinit (command typically called after upgrading from an older opam version) got improved. It now stops asking to retry the command when upgrading from a 2.1 opam root, and regenerates switches metadata to allow tools that use the ...
@kit_ty_kate tagging with #OCaml #opam so that people subscribed to these tags get a chance to see it :)
beta1 is out and i’m still looking for beta-testers in case anyone’s interested
discuss.ocaml.org
[ANN] opam 2.6.0~alpha1
Hi everyone, We are happy to announce the release of opam 2.6.0~beta1. This version is a beta, we invite users to test it to spot previously unnoticed bugs as we head towards the stable release. Main changes compared to 2.6.0~alpha1 ♻ opam init --reinit (command typically called after upgrading from an older opam version) got improved. It now stops asking to retry the command when upgrading from a 2.1 opam root, and regenerates switches metadata to allow tools that use the ...
Let's Camel. Let's #OCaml
Readings shared: July 27 – August 3, 2026. https://jaalonso.github.io/vestigium/posts/2026/08/03-readings_shared_08-03-26/ #AI #AI4Math #ATP #Autoformalization #CommonLisp #FunctionalProgramming #Haskell #ITP #IsabelleHOL #LLMs #LeanProver #Logic #Math #Ocaml #PVS #RocqProver
jaalonso.github.io
Readings shared August 3, 2026
The readings shared in Mastodon on 3 August 2026 are: A Lean 4 library for descriptive complexity. ~ Pierre Senellart. #LeanProver #ITP AI safety formalization Atlas. ~ Mario Brčić et als. #LeanProve
Pgeon: Generating tableau-based provers from declarative specifications of logical calculi. ~ Romain Sidhoum, Simon Robillard, David Delahaye. https://www.researchgate.net/publication/410760278_Pgeon_Generating_Tableau-Based_Provers_from_Declarative_Specifications_of_Logical_Calculi #ATP #Logic #Ocaml
Thanks to @NGIZero @nlnet, we have funding work on μTCP, our TCP/IP stack for #MirageOS / #mkernel #OCaml #unikernels https://nlnet.nl/project/microTCP/ .
The longer story is this project I first heard about in 2012 at ICFP in Copenhagen where @peter_sewell_ gave an impressive talk "Tales from the Jungle". I was at that moment doing my PhD on software verification (Coq, separation logic) and it was so nice to see real world stories of verification.
For several reasons (MirageOS melting pot, OCaml-TLS with David Kaloper), I went to Cambridge and worked with Peter on that formal model, read our JFP journal paper http://www.cl.cam.ac.uk/~pes20/Netsem/paper3.pdf .
Then I left academia, and worked in my spare time (finding projects, going through team processes, ...) on the OCaml implementation very slowly. Motivated by @dinosaure and @reynir we deployed it in 2024, and fixed issues. Now we have several months of funded work to push it over the finish line.
Big thanks to everyone involved so we can push this forward. 🎉💕
Thanks to @NGIZero @nlnet, we have funding work on μTCP, our TCP/IP stack for #MirageOS / #mkernel #OCaml #unikernels https://nlnet.nl/project/microTCP/ .
The longer story is this project I first heard about in 2012 at ICFP in Copenhagen where @peter_sewell_ gave an impressive talk "Tales from the Jungle". I was at that moment doing my PhD on software verification (Coq, separation logic) and it was so nice to see real world stories of verification.
For several reasons (MirageOS melting pot, OCaml-TLS with David Kaloper), I went to Cambridge and worked with Peter on that formal model, read our JFP journal paper http://www.cl.cam.ac.uk/~pes20/Netsem/paper3.pdf .
Then I left academia, and worked in my spare time (finding projects, going through team processes, ...) on the OCaml implementation very slowly. Motivated by @dinosaure and @reynir we deployed it in 2024, and fixed issues. Now we have several months of funded work to push it over the finish line.
Big thanks to everyone involved so we can push this forward. 🎉💕
I’m looking for beta-testers for the next opam release in exchange for a free ~30x speedup on opam update (on Windows, busy VPSs or for hard-drive/sdcard/emmc/cacheless-filesystems/etc. users).
Anyone interested?
discuss.ocaml.org
[ANN] opam 2.6.0~alpha1
Hi everyone, We are happy to announce the first alpha release of opam 2.6.0. This is the culmination of 2 years of team work requiring large internal changes, we hope you’ll enjoy it. This version is an alpha, we invite users to test it to spot previously unnoticed bugs as we head towards the stable release. What’s new? Some highlights: 💰 For people using the shell hooks, this release changed the way PATH is kept up-to-date from opam taking priority over any other elements of PATH ...
Announcing the July #Bangalore #FPIndia #Meetup!
When: 1st August (yep 😆)
CFP is open: https://hasgeek.com/fpindia/bangalore-fp-july-2026-meetup
Come meet fellow FP heads, have great conversations, all skill levels welcome!
#PureScript #Typescript #Rust #Erlang #Scala #OCaml #FunctionalProgramming
hasgeek.com
Bangalore FP July 2026 meetup
FPIndia Meetup for the month of July 2026
Announcing the July #Bangalore #FPIndia #Meetup!
When: 1st August (yep 😆)
CFP is open: https://hasgeek.com/fpindia/bangalore-fp-july-2026-meetup
Come meet fellow FP heads, have great conversations, all skill levels welcome!
#PureScript #Typescript #Rust #Erlang #Scala #OCaml #FunctionalProgramming
hasgeek.com
Bangalore FP July 2026 meetup
FPIndia Meetup for the month of July 2026
"If you have used OCaml 5 this will feel familiar, except OCaml keeps its effects out of the types, so you find out about an unhandled one at runtime, in production, on a Friday."
"If you have used Haskell this will also feel familiar, except in Haskell you would be assembling a monad transformer stack, lifting each operation through every layer by hand, and explaining to a junior colleague that a monad is just a monoid in the category of endofunctors, what's the problem."
https://www.stephendiehl.com/posts/prism/
#ocaml #functionalprogramming #haskell #programminglanguages
stephendiehl.com
Prism: An Impure Functional Language With Typed Effects - Stephen Diehl
Personal blog of Stephen Diehl - Software engineer writing about technology, programming, and the future
Announcing the June #Bangalore #FPIndia #Meetup!
Our first talk is Type-level Programming in #Haskell, presented by @abnv!
Like always, meet fellow FP heads, have great conversations, all skill levels welcome!
RSVP https://hasgeek.com/fpindia/bangalore-fp-june-2026-meetup/
hasgeek.com
Bangalore FP June 2026 meetup
Bangalore FP June 2026 meetup
Happy to announce another confirmed talk for the #FPIndia #Bangalore June #meetup!
Srijan will talk about Formalising #MachineLearning for Functional Languages!
https://hasgeek.com/fpindia/bangalore-fp-june-2026-meetup/
#Haskell #PureScript #Typescript #Rust #Erlang #Scala #OCaml #FormalMethods #AI
hasgeek.com
Bangalore FP June 2026 meetup
Bangalore FP June 2026 meetup
Happy to announce another confirmed talk for the #FPIndia #Bangalore June #meetup!
Srijan will talk about Formalising #MachineLearning for Functional Languages!
https://hasgeek.com/fpindia/bangalore-fp-june-2026-meetup/
#Haskell #PureScript #Typescript #Rust #Erlang #Scala #OCaml #FormalMethods #AI
hasgeek.com
Bangalore FP June 2026 meetup
Bangalore FP June 2026 meetup
@avsm @nick @samoht it's unfortunate that you did not try our new mailing list with unikernels in #OCaml: https://mailingl.st/
mailingl.st
ptt - mailing lists as unikernels
Announcing the June #Bangalore #FPIndia #Meetup!
Our first talk is Type-level Programming in #Haskell, presented by @abnv!
Like always, meet fellow FP heads, have great conversations, all skill levels welcome!
RSVP https://hasgeek.com/fpindia/bangalore-fp-june-2026-meetup/
hasgeek.com
Bangalore FP June 2026 meetup
Bangalore FP June 2026 meetup
I've finally finished my implementation of SSH for unikernels in #OCaml. For this example, I've used @reynir project to implement a #unikernel that offers a chat service (like IRC) via SSH. So now we have an engine for providing a TUI within a unikernel that doesn’t even recognise the concept of a console (thanks to lwd)!
I write #java for work, and #rust + #nushell at home. I will absolutely ramble about things I have no idea on :p
loves #reverseengineering and #binaries, will work on anything and everything low level. I love OS level shit, from the desktop ux to driver stability. I will absolutely ramble about #linux #arch and #nixos
I occasionally dabble with functional programming, and will totally not shut up about my #ocaml mmtk port.
As an aside, avid movie watcher, reader, manga enjoyer, anime enjoyer, and fanfic reader.
Here to have fun and enjoy!
Readings shared May 9, 2026. https://jaalonso.github.io/vestigium/posts/2026/05/10-readings_shared_05-09-26 #AI4Math #ATP #Aristotle #CompSci #CoqProver #FunctionalProgramming #Haskell #History #ITP #IsabelleHOL #LeanProver #Logic #Math #Mizar #Ocaml #RocqProver
jaalonso.github.io
Readings shared May 9, 2026
The readings shared in Bluesky on 9 May 2026 are: A shallow embedding of Datalog in Lean. ~ Ramy Shahin. #LeanProver #ITP Bennett's conjecture in Lean 4: Counter-models for the PSR-reducibility of Sp
Functional pearl: Binding boolean expressions and extended pattern matching. ~ Arthur Charguéraud, Yanni Lefki. https://www.chargueraud.org/research/2026/bbe/bbe-and-extended-matching.pdf #Ocaml #FunctionalProgramming
I'd been looking for a modern, statically typed, functional language for years, and after using #GleamLang for about a year, I can say I've found it. Didn't expect it to be a BEAM language though!
Shout out to #OCaml, the current runner-up language and #RocLang which I'm looking forward to v0.1 of!
OCaml Meeting 2026 in Tokyo - connpass https://ocamljp.connpass.com/event/391765/
ocamljp.connpass.com
OCaml Meeting 2026 in Tokyo (2026/08/22 10:00〜)
OCaml Meeting は過去に開催されていた日本の OCaml コミュニティによる勉強会です。 前回から13 年ぶりの開催となる今回は OCaml Meeting 2026 in Tokyo と銘打ちまして、東京にて開催することとなりました 🎉 OCaml に興味のある方や、昨今の関数型の話題で気になっているという方、初めて OCaml を知ったという方まで、ぜひどなたでもご参加ください。 また、ご登壇いただける方も募集しております。 関数型プログラミングが好きな方、特に、OCaml に関連した技術やテクニックについて話したい方はどうぞお気軽に登壇にご応募ください! ...
I am pleased to announce the launch of our mailing list ptt@mailingl.st. You can view the announcement here: https://discuss.ocaml.org/t/ann-ptt-a-mailing-list-system-as-unikernel/17987. It brings to fruition all the work we have done on #unikernels and email, all in #OCaml!
discuss.ocaml.org
[ANN] ptt, a mailing list system as unikernel
Hey! We just launched a new mailing list powered entirely by OCaml unikernels. The website (itself a unikernel) is at https://mailingl.st. You can subscribe to ptt@mailingl.st by sending an email to ptt-subscribe@mailingl.st if you’re interested in the development and deployment of SMTP-related unikernels. Fair warning: this is still a public test mailing list for now. In the long run, it will focus on our ptt project. The SMTP protocol: a long and winding road! In the beginning, email It all ...
Two more sleeps until the first #BFPG Hack Day of 2026! See yas there, curious minds!
#FP #Haskell #OCaml #Idris #Gleam #Lean #Scala #Erlang #Elixir #FSharp #Clojure #Lisp #Agda #Rocq #Rust #Scheme #Racket
functional.cafe
Fraser Tweedale (@hackuador@functional.cafe)
Functional programmers and #FP curious people in Brisbane: don't miss #BFPG Hack Day this Saturday 28 March at UQ: https://luma.com/uu28az9h
Functional programmers and #FP curious people in Brisbane: don't miss #BFPG Hack Day this Saturday 28 March at UQ: https://luma.com/uu28az9h
luma.com
BFPG Hack Day - March 2026 · Luma
Come to BFPG Hack Day for some wholesome fun hacking on side projects, tackling tutorials, grinding axes and shaving yaks! Work together or independently.…
Thanks to Sirius-beta Labs who are once again sponsoring lunch for #BFPG Hack Day. UQ St Lucia, Saturday 28 March. Be there or be a lambda cube!
#FP #Haskell #OCaml #Idris #Gleam #Lean #Scala #Erlang #Elixir #FSharp #Clojure #Lisp #Agda #Rocq #Rust #Scheme #Racket
luma.com
BFPG Hack Day - March 2026 · Luma
Come to BFPG Hack Day for some wholesome fun hacking on side projects, tackling tutorials, grinding axes and shaving yaks! Work together or independently.…
A little dream comes true! We just deployed an #unikernel in #OCaml which is a search engine through the old caml-list: https://caml-list.robur.coop/ :tada:. It's a full operating system which is able to search and serve a little website. It is worth archiving and keeping accessible a whole section of caml’s history.
caml-list.robur.coop
blame
We (the #OCaml #security response team) https://ocaml.org/security published today an advisory for the OCaml runtime (Marshal decoding over-read) https://osv.dev/vulnerability/OSEC-2026-01
I'm happy we managed to coordinate this, turned out to be an excessive amount of work - fixing the runtime, fuzzing, performance testing, but also integrating into osv.dev -- any feedback is highly appreciated, esp. if we're missing out on best practices. Otherwise, please welcome OSEC to your vulnerability databases. We're here to stay. :)
If you like our work, please fund OCSF https://ocaml-sf.org or apply to our calls for proposals (or both ;) https://discuss.ocaml.org/t/ocaml-security-grants/
Have a nice evening 😍
discuss.ocaml.org
OCaml security grants
Dear OCaml hackers, we’re pleased to announce that there are grants (up to 100_000 EUR) available for the broad topic of OCaml and security. The main idea is to strengthen the OCaml ecosystem in terms of security - being it tooling, documentation, guides, … Your submitted proposal (until March 1st) will be reviewed by the OCaml security team (OCaml Security). This wouldn’t be possible without the OCSF (https://ocaml-sf.org/) and their sponsors. If you have an idea, please go to CryptPad and s...
This can only happens at #FOSDEM unexpected meeting with #OSHW @braillerap and |Lupin| an #ocaml engineer joing @vates in may
I'd been looking for a modern, statically typed, functional language for years, and after using #GleamLang for about a year, I can say I've found it. Didn't expect it to be a BEAM language though!
Shout out to #OCaml, the current runner-up language and #RocLang which I'm looking forward to v0.1 of!
Case Study: Automating Type Safety for Mission-Critical Industrial Systems, by Stack Builders
stackbuilders.com
Plow Technologies Case Study
Plow Technologies, a U.S. leader in oil and gas well site automation with over a decade of field experience, delivers custom control systems that make even complex industrial challenges manageable. Now part of PakEnergy, Plow continues driving innovation across critical industries.
dune だけインストールしてあれば、dune から依存パッケージの解決とインストールが可能になったみたいな話。
#OCaml
[OCaml'25] OCaml Package Management with (only!) Dune
https://www.youtube.com/watch?v=cgpnBdXsW2c&feature=youtu.be
https://dune.readthedocs.io/en/stable/tutorials/dune-package-management/setup.html
dune.readthedocs.io
Setting Up Package Management With Dune - Dune documentation
The #OCaml Weekly News for 2026-01-06 is out
alan.petitepomme.net
OCaml Weekly News
Readings shared December 29, 2025. https://jaalonso.github.io/vestigium/posts/2025/12/30-readings_shared_12-29-25 #AI #Agda #CoqProver #FunctionalProgramming #Haskell #ITP #IsabelleHOL #LeanProver #Logic #Math #OCaml #Rocq #SMT
jaalonso.github.io
Readings shared December 29, 2025
The readings shared in Bluesky on 29 December 2025 are: Hint-based SMT proof reconstruction. ~ Joshua Clune, Haniel Barbosa, Jeremy Avigad. #ITP #LeanProver #SMT The biggest controversy in maths coul
Cairn : Trouver son chemin dans Menhir. ~ Vincent Penelle. https://hal.science/hal-05428166/document#page=89 #OCaml #FunctionalProgramming
Mapping and explaining syntax errors with LRgrep. ~ Frédéric Bour, François Pottier. https://hal.science/hal-05428166/document#page=68 #OCaml #FunctionalProgramming
On the design and implementation of Modular Explicits. ~ Samuel Vivien, Didier Rémy, Gabriel Scherer. https://hal.science/hal-05428166/document#page=48 #OCaml #FunctionalProgramming
🎉 Two new SDKs to announce for our geocoding API: OCaml and Racket both written by our friend Rome Stone 🙌
Blog post: https://blog.opencagedata.com/post/ocaml-and-racketlang-sdks-for-the-opencage-geocoding-api
and with that we now have more than 40 different SDKs for you to chose from to make your geocoding as simple as possible. See the full list:
https://opencagedata.com/sdks
Readings shared November 23, 2025. https://jaalonso.github.io/vestigium/posts/2025/11/24-readings_shared_11-23-25 #AI #Agda #AlphaProof #FunctionalProgramming #ITP #IsabelleHOL #LLMs #LeanProver #Math #OCaml #Rocq
jaalonso.github.io
Readings shared November 23, 2025
The readings shared in Bluesky on 23 November 2025 are: DeepMind’s latest: An AI for handling mathematical proofs. ~ Jacek Krywko. #AI #Math #LLMs #ITP #LeanProver #AlphaProof Verified certification
Testing a priority queue with Monolith. ~ François Pottier. https://cambium.inria.fr/blog/testing-a-priority-queue-with-Monolith/ #OCaml #FunctionalProgramming
cambium.inria.fr
Gagallium : Testing a priority queue with Monolith
Readings shared November 14, 2025. https://jaalonso.github.io/vestigium/posts/2025/11/15-readings_shared_11-14-25 #AI #Agda #AlphaProof #CoqProver #FunctionalProgramming #Haskell #ITP #LeanProver #Math #OCaml #Rocq
jaalonso.github.io
Readings shared November 14, 2025
The readings shared in Bluesky on 14 November 2025 are: An introduction to formal real analysis (Lecture 18: Rearrangements). ~ Alex Kontorovich. #ITP #LeanProver #Math Choice trees: Representing and
Tail recursion modulo context: An equational approach. ~ Daan Leijen, Anton Felix Lorenzen. https://www.cambridge.org/core/journals/journal-of-functional-programming/article/tail-recursion-modulo-context-an-equational-approach-extended-version/CCFFA4B8583A4924F002B0C377394303 #OCaml #FunctionalProgramming
cambridge.org
Tail recursion modulo context: An equational approach (extended version) | Journal of Functional Programming | Cambridge Core
Tail recursion modulo context: An equational approach (extended version) - Volume 35
The #OCaml Weekly News for 2025-10-21 si out
alan.petitepomme.net
OCaml Weekly News
Readings shared October 15, 2025. https://jaalonso.github.io/vestigium/posts/2025/10/16-readings_shared_10-15-25 #AI #CoqProver #FunctionalProgramming #Haskell #ITP #IsabelleHOL #LLMs #LeanProver #LiquidHaskell #Math #OCaml #Rocq
jaalonso.github.io
Readings shared October 15, 2025
The readings shared in Bluesky on 15 October 2025 are: Rely-guarantee verification of queue locks with proof support in Isabelle/HOL. ~ Robert J. Colvin, Scott Heiner, Peter Höfner, Roger C. Su. #ITP
McTT: A verified kernel for a proof assistant. ~ Junyoung Jang, Antoine Gaulin, Jason Z. S. Hu, Brigitte Pientka. https://dl.acm.org/doi/10.1145/3747511 #ITP #Rocq #OCaml #FunctionalProgramming
Readings shared October 13, 2025. https://jaalonso.github.io/vestigium/posts/2025/10/14-readings_shared_10-13-25 #Agda #CoqProver #Erlang #FunctionalProgramming #Haskell #ITP #LeanProver #Math #OCaml #PVS #Programming #Python #Rocq
jaalonso.github.io
Readings shared October 13, 2025
The readings shared in Bluesky on 13 October 2025 are: PVS formalization of proofs of the infinitude of primes. ~ Bruno Berto de Oliveira Ribeiro. #ITP #PVS #Math Certified decision procedures for wi
A tale of two lambdas: A haskeller’s journey into OCaml. ~ Richard A. Eisenberg. https://dl.acm.org/doi/10.1145/3759164.3771264 #Haskell #OCaml #FunctionalProgramming
One year at Ahrefs: I started working at Ahrefs one year ago. When I applied I had heard of them from OCaml’s discuss amongst other OCaml community spaces and… https://tech.ahrefs.com/one-year-at-ahrefs-065167c61542?source=rss----303662d88bae--ocaml&utm_source=dlvr.it&utm_medium=mastodon #OCaml #OCamlPlanet
Ocsigen: A Full OCaml Framework for Websites and Apps: Discover the OCaml web development framework Ocsigen, from its origins to its many helpful features! https://tarides.com/blog/2025-10-02-ocsigen-a-full-ocaml-framework-for-websites-and-apps?utm_source=dlvr.it&utm_medium=mastodon #OCaml #OCamlPlanet
File descriptors as integers considered harmful: Continuing the previous foray into file descriptors, and trying to remove Obj.magic both from ocaml-uring’s code itself, and from the recommended way for using it. https://www.dra27.uk/blog/platform/2025/10/01/int-file-descriptors-considered-harmful.html?utm_source=dlvr.it&utm_medium=mastodon #OCaml #OCamlPlanet
dra27.uk
File descriptors as integers considered harmful
Continuing the previous foray into file descriptors, and trying to remove Obj.magic both from ocaml-uring’s code itself, and from the recommended way for using it.
File descriptors are not integers: There was a flurry of activity on ocaml-multicore/ocaml-uring this month leading to a release (ocaml/opam-repository#28604). ocaml-uring provides bindings to the Linux’s io_uring, which allows batching various syscalls to the kernel for it to execute out-of-order, and in parallel. Its principal use at the moment is for the high-performance Linux backend of Eio. https://www.dra27.uk/blog/platform/2025/09/30/file-descriptors-are-not-integers.html?utm_source=dlvr.it&utm_medium=mastodon #OCaml #OCamlPlanet
dra27.uk
File descriptors are not integers
There was a flurry of activity on ocaml-multicore/ocaml-uring this month leading to a release (ocaml/opam-repository#28604). ocaml-uring provides bindings to the Linux’s io_uring, which allows batching various syscalls to the kernel for it to execute out-of-order, and in parallel. Its principal use at the moment is for the high-performance Linux backend of Eio.
OCaml Security Team Established: OCaml Security Response Team Established
There is now a dedicated Security Response Team (SRT) to handle vulnerability reports and coordinate security responses. If you discover a security issue in the OCaml compiler, runtime, standard library, or ecosystem tools, you can report it confidentially to the team.
* Report vulnerabilities: Email security@ocaml.org or use a private GitHub issue for high-impact… https://ocaml.org/changelog/2025-10-03-security-team?utm_source=dlvr.it&utm_medium=mastodon #OCaml #OCamlChangelog
The #OCaml Weekly News for 2025-09-23 is out
alan.petitepomme.net
OCaml Weekly News
Vulkan graphics in OCaml vs C: I convert my Vulkan test program from C to OCaml and compare the results,
then continue the Vulkan tutorial in OCaml, adding 3D, textures and depth buffering.
Table of Contents
* Introduction
* Running it yourself
* The direct port
* Labelled arguments
* Enums and bit-fields
* Optional fields
* Loading shaders
* Logging
* Error handling
* Refactored version
* Olivine wrappers… https://roscidus.com/blog/blog/2025/09/20/ocaml-vulkan/?utm_source=dlvr.it&utm_medium=mastodon #OCaml #OCamlPlanet
Auto-configuration of MirageOS unikernels: Removing tedious manual labor, use basic network protocols instead https://blog.robur.coop/articles/mollymawk-autoconfig.html?utm_source=dlvr.it&utm_medium=mastodon #OCaml #OCamlPlanet
blog.robur.coop
Robur's blog - Auto-configuration of MirageOS unikernels
Removing tedious manual labor, use basic network protocols instead
OCaml Weekly News, 16 Sep 2025: * Dune dev meeting
* Dune 3.20
* OCaml compiler office hours? (preparation thread)
* Second beta release of OCaml 5.4.0
* Unicode 17.0.0 update for Uucd, Uucp, Uunf and Uuseg
* Scope Image File Viewer
* OCaml security team
* Testo 0.2.0 - test library with support for snapshots, parallel runs, xfails, timeouts
* tinyfiledialogs bindings
* RFC: ~for...in~ construct
* dead_code_analyzer 1.0.0
* Relocatable… https://alan.petitepomme.net/cwn/2025.09.16.html?utm_source=dlvr.it&utm_medium=mastodon #OCaml #OCamlPlanet
alan.petitepomme.net
OCaml Weekly News
Relocatable OCaml - from concept to demo to PRs: If you give vapourware long enough, it condenses into an actual ware! An idea hatched between rehearsing Handel arias in the outskirts of Munich just over six years ago to make running OCaml’s programs a little less surprising is now 132 commits of reality.
Relocatable OCaml started out as a solution to a few thorny problems with the darker corners of OCaml. The somewhat grander fast opam switches… https://www.dra27.uk/blog/platform/2025/09/15/relocatable-ocaml.html?utm_source=dlvr.it&utm_medium=mastodon #OCaml #OCamlPlanet
dra27.uk
Relocatable OCaml - from concept to demo to PRs
If you give vapourware long enough, it condenses into an actual ware! An idea hatched between rehearsing Handel arias in the outskirts of Munich just over six years ago to make running OCaml’s programs a little less surprising is now 132 commits of reality.
Shipping a robust DB migration runner for Chaufr (OCaml + Caqti + Lwt): Implemented a production-minded database migration system for Chaufr: CLI, tracking, checksum validation, rollback, and safe SQL execution. https://fearful-odds.rocks/blog/db-migration-runner-for-chaufr?utm_source=dlvr.it&utm_medium=mastodon #OCaml #OCamlPlanet

fearful-odds.rocks
Shipping a robust DB migration runner for Chaufr (OCaml + Caqti + Lwt)
Implemented a production-minded database migration system for Chaufr: CLI, tracking, checksum validation, rollback, and safe SQL execution.
I know we're late to the party, but finally https://ocaml.org/security is alive #OCaml #security -- so please share your exploits now :) or at least know a way to report the segmentation faults you encounter ;)
ocaml.org
OCaml Security
This page details the OCaml security disclosure process, including how to report vulnerabilities, the role and members of the OCaml Security Response Team (SRT), and their publications.
Dynamic Formal Verification in OCaml: An Ortac/QCheck-STM Tutorial: You may have read our recent post discussing our involvement in the Gospel Project. In today's follow-up post, we will focus on Ortac, a tool we have been developing at Tarides as part of the Gospel Project.
What is Ortac?
Ortac aims to give OCaml programmers easy access to dynamic formal verification, also known as specification-driven testing. At its core, it translates… https://tarides.com/blog/2025-09-10-dynamic-formal-verification-in-ocaml-an-ortac-qcheck-stm-tutorial?utm_source=dlvr.it&utm_medium=mastodon #OCaml #OCamlPlanet
The #OCaml Weekly News for 2025-09-09 is out
alan.petitepomme.net
OCaml Weekly News
Giving hub.cl an upgrade: Giving hub.cl an upgrade
* published
2025-09-07
For a few years now we've been running hub.cl.cam.ac.uk, a Jupyterhub instance, for the first year course "Foundations of Computer Science". It serves as a hosting site for the lecture notes, which come in the form of Jupyter notebooks, and as a playground where students can try OCaml, and it also is used to run the assessed exercises that are a mandatory part… https://jon.recoil.org/blog/2025/09/giving-hub-cl-an-upgrade.html?utm_source=dlvr.it&utm_medium=mastodon #OCaml #OCamlPlanet
jon.recoil.org
blog/2025/09/giving-hub-cl-an-upgrade.mld
Using ocaml-lsp-server via an MCP server: Using ocaml-lsp-server via an MCP server
* published
2025-08-27
* notanotebook
Here's a quick post on how to get the OCaml Language Server (ocaml-lsp-server) working with an MCP server.
We're going to use issacphi's adapter for LSP servers, which is written in go. So install go, and then:
Once that's done, make sure you've got `ocaml-lsp-server` installed in your switch:
Then add the MCP… https://jon.recoil.org/blog/2025/08/ocaml-lsp-mcp.html?utm_source=dlvr.it&utm_medium=mastodon #OCaml #OCamlPlanet
jon.recoil.org
blog/2025/08/ocaml-lsp-mcp.mld
Rust for Everyone!: Rust promises to empower everyone to build reliable software, but its unique features create steep learning curves. In this talk, Will Crichton presents four years of research into evidence-based tools that help both novices and experts work more effectively with Rust's complexity, including:
- Ownership visualization: Interactive diagrams showing permissions (read/write/own) that help students understand borrowing better than… https://www.youtube.com/watch/R0dP-QR5wQo?version=3&utm_source=dlvr.it&utm_medium=mastodon #OCaml #OCamlPlanet
youtube.com
Rust for Everyone!
Rust promises to empower everyone to build reliable software, but its unique features create steep learning curves. In this talk, Will Crichton presents four...
🎉 Two new SDKs to announce for our geocoding API: OCaml and Racket both written by our friend Rome Stone 🙌
Blog post: https://blog.opencagedata.com/post/ocaml-and-racketlang-sdks-for-the-opencage-geocoding-api
and with that we now have more than 40 different SDKs for you to chose from to make your geocoding as simple as possible. See the full list:
https://opencagedata.com/sdks
Privacy for DNSvizor: The NGI-funded DNSvizor provides core network services on your network; DNS resolution and DHCP. We improved the privacy. https://blog.robur.coop/articles/dnsvizor06.html?utm_source=dlvr.it&utm_medium=mastodon #OCaml #OCamlPlanet
blog.robur.coop
Robur's blog - Privacy for DNSvizor
The NGI-funded DNSvizor provides core network services on your network; DNS resolution and DHCP. We improved the privacy.
Privacy for DNSvizor: The NGI-funded DNSvizor provides core network services on your network; DNS resolution and DHCP. We improved the privacy. https://blog.robur.coop/articles/dnsvizor06.html?utm_source=dlvr.it&utm_medium=mastodon #OCaml #OCamlPlanet
blog.robur.coop
Robur's blog - Privacy for DNSvizor
The NGI-funded DNSvizor provides core network services on your network; DNS resolution and DHCP. We improved the privacy.
Privacy for DNSvizor: The NGI-funded DNSvizor provides core network services on your network; DNS resolution and DHCP. We improved the privacy. https://blog.robur.coop/articles/dnsvizor06.html?utm_source=dlvr.it&utm_medium=mastodon #OCaml #OCamlPlanet
blog.robur.coop
Robur's blog - Privacy for DNSvizor
The NGI-funded DNSvizor provides core network services on your network; DNS resolution and DHCP. We improved the privacy.
Week 33: Week 33
* published
2025-08-19
* libs
cohttp yojson jsonm
More work this week on the OCaml MCP server. Sadiq and I met before I went away on holiday and discussed the next steps to 'park' the work on the MCP server. The final steps are:
* Write a README
* Write and run a small script to fix a problem with module-type names
* Write up and publish a blog post
Not much, right? As always though, writing things up lead to… https://jon.recoil.org/blog/2025/08/week33.html?utm_source=dlvr.it&utm_medium=mastodon #OCaml #OCamlPlanet
jon.recoil.org
blog/2025/08/week33.mld
The #OCaml Weekly News for 2025-08-19 is out
alan.petitepomme.net
OCaml Weekly News
Here is a rather lengthy write-up (in English) explaining why I chose #OCaml as my main programming language for my personal and professional projects!
https://xvw.lol/en/articles/why-ocaml.html
I hope you find this interesting, and I welcome any feedback!
xvw.lol
Why I chose OCaml as my primary language
A detailed explanation of why I chose OCaml as the ‘default’ programming language for every project.
Readings shared August 10, 2025. https://jaalonso.github.io/vestigium/posts/2025/08/11-readings_shared_08-10-25 #Agda #CategoryTheory #CoqProver #FunctionalProgramming #Haskell #ITP #IsabelleHOL #Math #OCaml
jaalonso.github.io
Readings shared August 10, 2025
The readings shared in Bluesky on 10 August 2025 are A practical formalization of monadic equational reasoning in dependent-type theory. ~ Reynald Affeldt, Jacques Garrigue, Takafumi Saikawa, #ITP #
Upcoming OCaml Events: * OCaml Users and Developers Workshop 2025 // Singapore, Singapore // Oct 17, 2025 https://ocaml.org/events?utm_source=dlvr.it&utm_medium=mastodon #OCaml #OCamlPlanet
I've got to learn this "weird French programming language that no other company uses" used by this one company named Jane Street so that no other companies will hire their employees. #ocaml
I've got to learn this "weird French programming language that no other company uses" used by this one company named Jane Street so that no other companies will hire their employees. #ocaml
@shriramk Yeah.. #JaneStreet is the #OCaml company, and #Nubank is the #Clojure company. I need to takeover some FinTech and make it the #Racket company, though that might lead to some awkward audit questions ("What's this Racket you're involved in?") .
FWIW, #upvest is very much a #go company, and for good reasons. ;-)
Is there an #OCaml community on the Fediverse?
I dipped my toes into the language 6-ish years ago and I'm revisiting it now. The curve then was pretty steep, but now going through the initial tutorial there are only a few giant leaps required.
I can't tell if a) I'm unearthing internalized but lost understanding, b) I've grown used to the concepts through other languages in the meantime or c) the info got better.
Is there an #OCaml community on the Fediverse?
I dipped my toes into the language 6-ish years ago and I'm revisiting it now. The curve then was pretty steep, but now going through the initial tutorial there are only a few giant leaps required.
I can't tell if a) I'm unearthing internalized but lost understanding, b) I've grown used to the concepts through other languages in the meantime or c) the info got better.
OCaml Weekly News, 24 Jun 2025: * Multi-domain, multi-scheduler Lwt
* 15th MirageOS retreat May 13th - 20th
* opam 2.4.0~beta1
* ML Family Workshop 2025: Call for Presentations
* Migrating OCaml.org to Use Dune (Developer Preview)
* Send us Talk and Workshop Proposals for Fun OCaml 2025 in Warsaw, September 15+16
* A Brief Introduction to Normalization-By-Evaluation
* My Second Outreachy Internship's Blog Post
* Other OCaml News https://alan.petitepomme.net/cwn/2025.06.24.html?utm_source=dlvr.it&utm_medium=mastodon #OCaml #OCamlPlanet
alan.petitepomme.net
OCaml Weekly News
A hardware description language using OCaml effects: A hardware description language using OCaml effects
This is an idea proposed in 2025 as a Cambridge Computer Science Part III or MPhil project, and is available for being worked on. It may be co-supervised with KC Sivaramakrishnan and Andy Ray.
Programming FPGAs using functional programming languages is a very good fit for
the problem domain. OCaml has the HardCaml ecosystem to
express… https://anil.recoil.org/ideas/tracing-hdl-with-effects?utm_source=dlvr.it&utm_medium=mastodon #OCaml #OCamlPlanet

anil.recoil.org
A hardware description language using OCaml effects
A hardware description language using OCaml effects: A hardware description language using OCaml effects
This is an idea proposed in 2025 as a Cambridge Computer Science Part III or MPhil project, and is available for being worked on. It may be co-supervised with KC Sivaramakrishnan and Andy Ray.
Programming FPGAs using functional programming languages is a very good fit for
the problem domain. OCaml has the HardCaml ecosystem to
express… https://anil.recoil.org/ideas/tracing-hdl-with-effects?utm_source=dlvr.it&utm_medium=mastodon #OCaml #OCamlPlanet

anil.recoil.org
A hardware description language using OCaml effects
A hardware description language using OCaml effects: A hardware description language using OCaml effects
This is an idea proposed in 2025 as a Cambridge Computer Science Part III or MPhil project, and is available for being worked on. It may be co-supervised with KC Sivaramakrishnan and Andy Ray.
Programming FPGAs using functional programming languages is a very good fit for
the problem domain. OCaml has the HardCaml ecosystem to
express… https://anil.recoil.org/ideas/tracing-hdl-with-effects?utm_source=dlvr.it&utm_medium=mastodon #OCaml #OCamlPlanet

anil.recoil.org
A hardware description language using OCaml effects
Readings shared May 14, 2025. https://jaalonso.github.io/vestigium/posts/2025/05/14-readings_shared_05-14-25 #Arend #CategoryTheory #ITP #LLMs #LeanProver #OCaml #Rocq
jaalonso.github.io
Readings shared May 14, 2025
The readings shared in Bluesky on 14 May 2025 are Formal P-category theory and normalization by evaluation in Rocq. ~ David G. Berry, Marcelo P. Fiore. #ITP #Rocq #CategoryTheory Verified purely func
Verified purely functional catenable real-time deques. ~ Jules Viennot, Arthur Wendling, Armaël Guéneau, François Pottier. https://arxiv.org/abs/2505.07681 #ITP #Rocq #OCaml

arxiv.org
Verified Purely Functional Catenable Real-Time Deques
We present OCaml and Rocq implementations of Kaplan and Tarjan's purely functional, real-time catenable deques. The correctness of our Rocq implementation is machine-checked.
Tarides at BOB Konferenz 2025: BOB Konferenz is a 10-year-old
conference whose tagline is: "The software development
conference for everyone dissatisfied with the status quo"! Indeed,
BOB is a conference that focusses on a variety of subjects that
strongly converge with the interests of Tarides (and the OCaml world
in general). It aims to cover topics such as functional programming,
"fancy types" (dependent types, gradual typing, linear types, ...),… https://tarides.com/blog/2025-05-08-tarides-at-bob-konferenz-2025?utm_source=dlvr.it&utm_medium=mastodon #OCaml #OCamlPlanet
Come join us for another day of geeking out over functional programming! The FPIndia May meetup is here!
https://hasgeek.com/fpindia/bangalore-fp-may-meetup/
#Bangalore #FunctionalProgramming #FPIndia #Meetup #India #Haskell #PureScript #OCaml #Elixir #Clojure #Scala
hasgeek.com
Bangalore FP May meetup
Bangalore FP May meetup
Come join us for another day of geeking out over functional programming! The FPIndia May meetup is here!
https://hasgeek.com/fpindia/bangalore-fp-may-meetup/
#Bangalore #FunctionalProgramming #FPIndia #Meetup #India #Haskell #PureScript #OCaml #Elixir #Clojure #Scala
hasgeek.com
Bangalore FP May meetup
Bangalore FP May meetup
Is there any org in #Bangalore that would like to lend their space for an #FPIndia meetup? Please dm
#India #FunctionalProgramming #Meetup #Haskell #PureScript #Erlang #Elixir #OCaml #Scala #Clojure
Is there any org in #Bangalore that would like to lend their space for an #FPIndia meetup? Please dm
#India #FunctionalProgramming #Meetup #Haskell #PureScript #Erlang #Elixir #OCaml #Scala #Clojure
Bstr, a synthetic library for bigstrings: A small library to manipulate bstr https://blog.osau.re/articles/bstr.html?utm_source=dlvr.it&utm_medium=mastodon #OCaml #OCamlPlanet
blog.osau.re
Dinosaure's websiteBstr, a synthetic library for bigstrings
A small library to manipulate bstr
As a fan of both #ocaml and @gasproni, I enjoyed this podcast.
https://mastodon.social/@gasproni/114393113911624949
mastodon.social
Giovanni Asproni (@gasproni@mastodon.social)
Giovanni Asproni A conversation with Malcolm Matalka about the reasoning behind choosing OCaml and (almost) zero frameworks for the development of Terrateam. We also touch on some related topics, e.g., static vs dynamic typing, the use of monorepos, micro-types, and more. https://se-radio.net/2025/04/se-radio-665-malcolm-matalka-on-developing-in-ocaml-with-zero-frameworks/
Roguetype: The first ever roguelike written in the OCaml type system
https://github.com/Octachron/roguetype
Discussions: https://discu.eu/q/https://github.com/Octachron/roguetype
discu.eu
GitHub - Octachron/roguetype: The first ever roguelike written in the OCaml type system - discu.eu
Discussions and related articles for «GitHub - Octachron/roguetype: The first ever roguelike written in the OCaml type system»
Meet Mollymawk, our web UI for orchestrating #MirageOS unikernels, funded by NLnet @NGIZero https://blog.robur.coop/articles/mollymawk-first-milestone.html #OCaml #unikernel
blog.robur.coop
Robur's blog - What's new with Mollymawk?
In this article we explore the journey Mollymawk has been on, inlcuding getting an (NGI0 core) NLnet grant, updates and more.
Meet Mollymawk, our web UI for orchestrating #MirageOS unikernels, funded by NLnet @NGIZero https://blog.robur.coop/articles/mollymawk-first-milestone.html #OCaml #unikernel
blog.robur.coop
Robur's blog - What's new with Mollymawk?
In this article we explore the journey Mollymawk has been on, inlcuding getting an (NGI0 core) NLnet grant, updates and more.
Ready to geek out over functional programming? Join us for the upcoming FPIndia Bangalore meetup!
https://hasgeek.com/fpindia/bangalore-fp-april-meetup/
#Bangalore #FunctionalProgramming #FPIndia #Meetup #India #Haskell #PureScript #OCaml #Elixir #Clojure #Scala
hasgeek.com
Bangalore FP April meetup
Bangalore FP April meetup
Roguetype: The first ever roguelike written in the OCaml type system
https://github.com/Octachron/roguetype
Discussions: https://discu.eu/q/https://github.com/Octachron/roguetype
discu.eu
GitHub - Octachron/roguetype: The first ever roguelike written in the OCaml type system - discu.eu
Discussions and related articles for «GitHub - Octachron/roguetype: The first ever roguelike written in the OCaml type system»
Pushing the opam-repository into a sustainable repository: The main opam-repository was only ever growing by collecting all releases of all packages. We worked hard on reducing the load for all clients by archiving packages. https://blog.robur.coop/articles/2025-03-26-opam-repository-archive.html?utm_source=dlvr.it&utm_medium=mastodon #OCaml #OCamlPlanet
blog.robur.coop
Robur's blog - Pushing the opam-repository into a sustainable repository
The main opam-repository was only ever growing by collecting all releases of all packages. We worked hard on reducing the load for all clients by archiving packages.
Dear everyone, we just published an article on our #opam-repository archival work https://blog.robur.coop/articles/2025-03-26-opam-repository-archive.html
Happy reading #OCaml #opam #sustainability
blog.robur.coop
Robur's blog - Pushing the opam-repository into a sustainable repository
The main opam-repository was only ever growing by collecting all releases of all packages. We worked hard on reducing the load for all clients by archiving packages.
Hi! New instance, new pinned post.
Send me cool people to follow (or introduce yourself!)
- leftists
- functional programmers, 'spcly #OCaml folks
- #Queer mfers, #BDSM, or #polyamory
- fans of #SystemicGames (#Factorio, #RimWorld, and the like)
come @ me
I'm really glad to share my last work about μTCP, #unikernels, effects and #OCaml 5. I talk about TCP/IP, #GADTs, and some useful data-structures. https://blog.robur.coop/articles/utcp_and_effects.html
blog.robur.coop
Robur's blog - μTCP, Miou and unikernels
My experiment about the TCP/IP stack, effects and unikernels
Just what the internet needed: another attempt to explain #monads! 🙄 But this time I'm comparing #Haskell and #OCaml approaches to show why #typeclasses make all the difference. Turns out those JavaScript Promise analogies only tell half the story…
hackers.pub
Monads: Beyond Simple Analogies—Reflections on Functional Programming Paradigms
While exploring functional programming languages, I've been reflecting on how different communities approach similar concepts. One pattern that seems particularly fascinating is how Haskell and OCaml communities differ in their embrace of monads as an abstraction tool. The Elegant Power of Monads in Haskell It's common to hear monads explained through analogies to concepts like JavaScript's Promise or jQuery chains. While these comparisons provide an entry point, they might miss what makes monads truly beautiful and powerful in Haskell's ecosystem. The real strength appears to lie in the Monad typeclass itself. This elegant abstraction allows for creating generic functions and types that work with any type that shares the monad property. This seems to offer a profound unification of concepts that might initially appear unrelated: You can write code once that works across many contexts (Maybe, [], IO, State, etc.) Generic functions like sequence, mapM, and others become available across all monadic types The same patterns and mental models apply consistently across different computational contexts For example, a simple conditional function like this works beautifully in any monadic context: whenM :: Monad m => m Bool -> m () -> m () whenM condition action = do result <- condition if result then action else return () Whether dealing with potentially missing values, asynchronous operations, or state transformations, the same function can be employed without modification. There's something genuinely satisfying about this level of abstraction and reuse. OCaml's Different Approach Interestingly, the OCaml community seems less enthusiastic about monads as a primary abstraction tool. This might stem from several factors related to language design: Structural Differences OCaml lacks built-in typeclass support, relying instead on its module system and functors. While powerful in its own right, this approach might not make monad abstractions feel as natural or convenient: (* OCaml monad implementation requires more boilerplate *) module type MONAD = sig type 'a t val return : 'a -> 'a t val bind : 'a t -> ('a -> 'b t) -> 'b t end module OptionMonad : MONAD with type 'a t = 'a option = struct type 'a t = 'a option let return x = Some x let bind m f = match m with | None -> None | Some x -> f x end OCaml also doesn't offer syntactic sugar like Haskell's do notation, which makes monadic code in Haskell considerably more readable and expressive: -- Haskell's elegant do notation userInfo = do name <- getLine age <- readLn return (name, age) Compared to the more verbose OCaml equivalent: let user_info = get_line >>= fun name -> read_ln >>= fun age -> return (name, age) The readability difference becomes even more pronounced in more complex monadic operations. Philosophical Differences Beyond syntax, the languages differ in their fundamental approach to effects: Haskell is purely functional, making monads essential for managing effects in a principled way OCaml permits direct side effects, often making monadic abstractions optional This allows OCaml programmers to write more direct code when appropriate: (* Direct style in OCaml *) let get_user_info () = print_string "Name: "; let name = read_line () in print_string "Age: "; let age = int_of_string (read_line ()) in (name, age) OCaml's approach might favor pragmatism and directness in many cases, with programmers often preferring: Direct use of option and result types Module-level abstractions through functors Continuation-passing style when needed While this directness can be beneficial for immediate readability, it might come at the cost of some of the elegant uniformity that Haskell's monadic approach provides. Reflections on Language Design These differences highlight how programming language design shapes the idioms and patterns that emerge within their communities. Neither approach is objectively superior—they represent different philosophies about abstraction, explicitness, and the role of the type system. Haskell's approach encourages a high level of abstraction and consistency across different computational contexts, which can feel particularly satisfying when working with complex, interconnected systems. There's something intellectually pleasing about solving a problem once and having that solution generalize across many contexts. OCaml often favors more direct solutions that might be easier to reason about locally, though potentially at the cost of less uniformity across the codebase. This approach has its own virtues, particularly for systems where immediate comprehensibility is paramount. After working with both paradigms, I find myself drawn to the consistent abstractions that Haskell's approach provides, while still appreciating the pragmatic clarity that OCaml can offer in certain situations. The typeclasses and syntactic support in Haskell seem to unlock a particularly elegant way of structuring code that, while perhaps requiring a steeper initial learning curve, offers a uniquely satisfying programming experience. What patterns have you noticed in how different programming language communities approach similar problems? And have you found yourself drawn to the elegant abstractions of Haskell or the pragmatic approach of OCaml?
While exploring functional programming languages, I've been reflecting on how different communities approach similar concepts. One pattern that seems particularly fascinating is how Haskell and OCaml communities differ in their embrace of monads as an abstraction tool.
The Elegant Power of Monads in Haskell
It's common to hear monads explained through analogies to concepts like JavaScript's Promise or jQuery chains. While these comparisons provide an entry point, they might miss what makes monads truly beautiful and powerful in Haskell's ecosystem.
The real strength appears to lie in the Monad typeclass itself. This elegant abstraction allows for creating generic functions and types that work with any type that shares the monad property. This seems to offer a profound unification of concepts that might initially appear unrelated:
- You can write code once that works across many contexts (
Maybe,[],IO,State, etc.) - Generic functions like
sequence,mapM, and others become available across all monadic types - The same patterns and mental models apply consistently across different computational contexts
For example, a simple conditional function like this works beautifully in any monadic context:
whenM :: Monad m => m Bool -> m () -> m ()
whenM condition action = do
result <- condition
if result then action else return ()
Whether dealing with potentially missing values, asynchronous operations, or state transformations, the same function can be employed without modification. There's something genuinely satisfying about this level of abstraction and reuse.
OCaml's Different Approach
Interestingly, the OCaml community seems less enthusiastic about monads as a primary abstraction tool. This might stem from several factors related to language design:
Structural Differences
OCaml lacks built-in typeclass support, relying instead on its module system and functors. While powerful in its own right, this approach might not make monad abstractions feel as natural or convenient:
(* OCaml monad implementation requires more boilerplate *)
module type MONAD = sig
type 'a t
val return : 'a -> 'a t
val bind : 'a t -> ('a -> 'b t) -> 'b t
end
module OptionMonad : MONAD with type 'a t = 'a option = struct
type 'a t = 'a option
let return x = Some x
let bind m f = match m with
| None -> None
| Some x -> f x
end
OCaml also doesn't offer syntactic sugar like Haskell's do notation, which makes monadic code in Haskell considerably more readable and expressive:
-- Haskell's elegant do notation
userInfo = do
name <- getLine
age <- readLn
return (name, age)
Compared to the more verbose OCaml equivalent:
let user_info =
get_line >>= fun name ->
read_ln >>= fun age ->
return (name, age)
The readability difference becomes even more pronounced in more complex monadic operations.
Philosophical Differences
Beyond syntax, the languages differ in their fundamental approach to effects:
- Haskell is purely functional, making monads essential for managing effects in a principled way
- OCaml permits direct side effects, often making monadic abstractions optional
This allows OCaml programmers to write more direct code when appropriate:
(* Direct style in OCaml *)
let get_user_info () =
print_string "Name: ";
let name = read_line () in
print_string "Age: ";
let age = int_of_string (read_line ()) in
(name, age)
OCaml's approach might favor pragmatism and directness in many cases, with programmers often preferring:
- Direct use of
optionandresulttypes - Module-level abstractions through functors
- Continuation-passing style when needed
While this directness can be beneficial for immediate readability, it might come at the cost of some of the elegant uniformity that Haskell's monadic approach provides.
Reflections on Language Design
These differences highlight how programming language design shapes the idioms and patterns that emerge within their communities. Neither approach is objectively superior—they represent different philosophies about abstraction, explicitness, and the role of the type system.
Haskell's approach encourages a high level of abstraction and consistency across different computational contexts, which can feel particularly satisfying when working with complex, interconnected systems. There's something intellectually pleasing about solving a problem once and having that solution generalize across many contexts.
OCaml often favors more direct solutions that might be easier to reason about locally, though potentially at the cost of less uniformity across the codebase. This approach has its own virtues, particularly for systems where immediate comprehensibility is paramount.
After working with both paradigms, I find myself drawn to the consistent abstractions that Haskell's approach provides, while still appreciating the pragmatic clarity that OCaml can offer in certain situations. The typeclasses and syntactic support in Haskell seem to unlock a particularly elegant way of structuring code that, while perhaps requiring a steeper initial learning curve, offers a uniquely satisfying programming experience.
What patterns have you noticed in how different programming language communities approach similar problems? And have you found yourself drawn to the elegant abstractions of Haskell or the pragmatic approach of OCaml?
Just what the internet needed: another attempt to explain #monads! 🙄 But this time I'm comparing #Haskell and #OCaml approaches to show why #typeclasses make all the difference. Turns out those JavaScript Promise analogies only tell half the story…
hackers.pub
Monads: Beyond Simple Analogies—Reflections on Functional Programming Paradigms
While exploring functional programming languages, I've been reflecting on how different communities approach similar concepts. One pattern that seems particularly fascinating is how Haskell and OCaml communities differ in their embrace of monads as an abstraction tool. The Elegant Power of Monads in Haskell It's common to hear monads explained through analogies to concepts like JavaScript's Promise or jQuery chains. While these comparisons provide an entry point, they might miss what makes monads truly beautiful and powerful in Haskell's ecosystem. The real strength appears to lie in the Monad typeclass itself. This elegant abstraction allows for creating generic functions and types that work with any type that shares the monad property. This seems to offer a profound unification of concepts that might initially appear unrelated: You can write code once that works across many contexts (Maybe, [], IO, State, etc.) Generic functions like sequence, mapM, and others become available across all monadic types The same patterns and mental models apply consistently across different computational contexts For example, a simple conditional function like this works beautifully in any monadic context: whenM :: Monad m => m Bool -> m () -> m () whenM condition action = do result <- condition if result then action else return () Whether dealing with potentially missing values, asynchronous operations, or state transformations, the same function can be employed without modification. There's something genuinely satisfying about this level of abstraction and reuse. OCaml's Different Approach Interestingly, the OCaml community seems less enthusiastic about monads as a primary abstraction tool. This might stem from several factors related to language design: Structural Differences OCaml lacks built-in typeclass support, relying instead on its module system and functors. While powerful in its own right, this approach might not make monad abstractions feel as natural or convenient: (* OCaml monad implementation requires more boilerplate *) module type MONAD = sig type 'a t val return : 'a -> 'a t val bind : 'a t -> ('a -> 'b t) -> 'b t end module OptionMonad : MONAD with type 'a t = 'a option = struct type 'a t = 'a option let return x = Some x let bind m f = match m with | None -> None | Some x -> f x end OCaml also doesn't offer syntactic sugar like Haskell's do notation, which makes monadic code in Haskell considerably more readable and expressive: -- Haskell's elegant do notation userInfo = do name <- getLine age <- readLn return (name, age) Compared to the more verbose OCaml equivalent: let user_info = get_line >>= fun name -> read_ln >>= fun age -> return (name, age) The readability difference becomes even more pronounced in more complex monadic operations. Philosophical Differences Beyond syntax, the languages differ in their fundamental approach to effects: Haskell is purely functional, making monads essential for managing effects in a principled way OCaml permits direct side effects, often making monadic abstractions optional This allows OCaml programmers to write more direct code when appropriate: (* Direct style in OCaml *) let get_user_info () = print_string "Name: "; let name = read_line () in print_string "Age: "; let age = int_of_string (read_line ()) in (name, age) OCaml's approach might favor pragmatism and directness in many cases, with programmers often preferring: Direct use of option and result types Module-level abstractions through functors Continuation-passing style when needed While this directness can be beneficial for immediate readability, it might come at the cost of some of the elegant uniformity that Haskell's monadic approach provides. Reflections on Language Design These differences highlight how programming language design shapes the idioms and patterns that emerge within their communities. Neither approach is objectively superior—they represent different philosophies about abstraction, explicitness, and the role of the type system. Haskell's approach encourages a high level of abstraction and consistency across different computational contexts, which can feel particularly satisfying when working with complex, interconnected systems. There's something intellectually pleasing about solving a problem once and having that solution generalize across many contexts. OCaml often favors more direct solutions that might be easier to reason about locally, though potentially at the cost of less uniformity across the codebase. This approach has its own virtues, particularly for systems where immediate comprehensibility is paramount. After working with both paradigms, I find myself drawn to the consistent abstractions that Haskell's approach provides, while still appreciating the pragmatic clarity that OCaml can offer in certain situations. The typeclasses and syntactic support in Haskell seem to unlock a particularly elegant way of structuring code that, while perhaps requiring a steeper initial learning curve, offers a uniquely satisfying programming experience. What patterns have you noticed in how different programming language communities approach similar problems? And have you found yourself drawn to the elegant abstractions of Haskell or the pragmatic approach of OCaml?
While exploring functional programming languages, I've been reflecting on how different communities approach similar concepts. One pattern that seems particularly fascinating is how Haskell and OCaml communities differ in their embrace of monads as an abstraction tool.
The Elegant Power of Monads in Haskell
It's common to hear monads explained through analogies to concepts like JavaScript's Promise or jQuery chains. While these comparisons provide an entry point, they might miss what makes monads truly beautiful and powerful in Haskell's ecosystem.
The real strength appears to lie in the Monad typeclass itself. This elegant abstraction allows for creating generic functions and types that work with any type that shares the monad property. This seems to offer a profound unification of concepts that might initially appear unrelated:
- You can write code once that works across many contexts (
Maybe,[],IO,State, etc.) - Generic functions like
sequence,mapM, and others become available across all monadic types - The same patterns and mental models apply consistently across different computational contexts
For example, a simple conditional function like this works beautifully in any monadic context:
whenM :: Monad m => m Bool -> m () -> m ()
whenM condition action = do
result <- condition
if result then action else return ()
Whether dealing with potentially missing values, asynchronous operations, or state transformations, the same function can be employed without modification. There's something genuinely satisfying about this level of abstraction and reuse.
OCaml's Different Approach
Interestingly, the OCaml community seems less enthusiastic about monads as a primary abstraction tool. This might stem from several factors related to language design:
Structural Differences
OCaml lacks built-in typeclass support, relying instead on its module system and functors. While powerful in its own right, this approach might not make monad abstractions feel as natural or convenient:
(* OCaml monad implementation requires more boilerplate *)
module type MONAD = sig
type 'a t
val return : 'a -> 'a t
val bind : 'a t -> ('a -> 'b t) -> 'b t
end
module OptionMonad : MONAD with type 'a t = 'a option = struct
type 'a t = 'a option
let return x = Some x
let bind m f = match m with
| None -> None
| Some x -> f x
end
OCaml also doesn't offer syntactic sugar like Haskell's do notation, which makes monadic code in Haskell considerably more readable and expressive:
-- Haskell's elegant do notation
userInfo = do
name <- getLine
age <- readLn
return (name, age)
Compared to the more verbose OCaml equivalent:
let user_info =
get_line >>= fun name ->
read_ln >>= fun age ->
return (name, age)
The readability difference becomes even more pronounced in more complex monadic operations.
Philosophical Differences
Beyond syntax, the languages differ in their fundamental approach to effects:
- Haskell is purely functional, making monads essential for managing effects in a principled way
- OCaml permits direct side effects, often making monadic abstractions optional
This allows OCaml programmers to write more direct code when appropriate:
(* Direct style in OCaml *)
let get_user_info () =
print_string "Name: ";
let name = read_line () in
print_string "Age: ";
let age = int_of_string (read_line ()) in
(name, age)
OCaml's approach might favor pragmatism and directness in many cases, with programmers often preferring:
- Direct use of
optionandresulttypes - Module-level abstractions through functors
- Continuation-passing style when needed
While this directness can be beneficial for immediate readability, it might come at the cost of some of the elegant uniformity that Haskell's monadic approach provides.
Reflections on Language Design
These differences highlight how programming language design shapes the idioms and patterns that emerge within their communities. Neither approach is objectively superior—they represent different philosophies about abstraction, explicitness, and the role of the type system.
Haskell's approach encourages a high level of abstraction and consistency across different computational contexts, which can feel particularly satisfying when working with complex, interconnected systems. There's something intellectually pleasing about solving a problem once and having that solution generalize across many contexts.
OCaml often favors more direct solutions that might be easier to reason about locally, though potentially at the cost of less uniformity across the codebase. This approach has its own virtues, particularly for systems where immediate comprehensibility is paramount.
After working with both paradigms, I find myself drawn to the consistent abstractions that Haskell's approach provides, while still appreciating the pragmatic clarity that OCaml can offer in certain situations. The typeclasses and syntactic support in Haskell seem to unlock a particularly elegant way of structuring code that, while perhaps requiring a steeper initial learning curve, offers a uniquely satisfying programming experience.
What patterns have you noticed in how different programming language communities approach similar problems? And have you found yourself drawn to the elegant abstractions of Haskell or the pragmatic approach of OCaml?
Just what the internet needed: another attempt to explain #monads! 🙄 But this time I'm comparing #Haskell and #OCaml approaches to show why #typeclasses make all the difference. Turns out those JavaScript Promise analogies only tell half the story…
hackers.pub
Monads: Beyond Simple Analogies—Reflections on Functional Programming Paradigms
While exploring functional programming languages, I've been reflecting on how different communities approach similar concepts. One pattern that seems particularly fascinating is how Haskell and OCaml communities differ in their embrace of monads as an abstraction tool. The Elegant Power of Monads in Haskell It's common to hear monads explained through analogies to concepts like JavaScript's Promise or jQuery chains. While these comparisons provide an entry point, they might miss what makes monads truly beautiful and powerful in Haskell's ecosystem. The real strength appears to lie in the Monad typeclass itself. This elegant abstraction allows for creating generic functions and types that work with any type that shares the monad property. This seems to offer a profound unification of concepts that might initially appear unrelated: You can write code once that works across many contexts (Maybe, [], IO, State, etc.) Generic functions like sequence, mapM, and others become available across all monadic types The same patterns and mental models apply consistently across different computational contexts For example, a simple conditional function like this works beautifully in any monadic context: whenM :: Monad m => m Bool -> m () -> m () whenM condition action = do result <- condition if result then action else return () Whether dealing with potentially missing values, asynchronous operations, or state transformations, the same function can be employed without modification. There's something genuinely satisfying about this level of abstraction and reuse. OCaml's Different Approach Interestingly, the OCaml community seems less enthusiastic about monads as a primary abstraction tool. This might stem from several factors related to language design: Structural Differences OCaml lacks built-in typeclass support, relying instead on its module system and functors. While powerful in its own right, this approach might not make monad abstractions feel as natural or convenient: (* OCaml monad implementation requires more boilerplate *) module type MONAD = sig type 'a t val return : 'a -> 'a t val bind : 'a t -> ('a -> 'b t) -> 'b t end module OptionMonad : MONAD with type 'a t = 'a option = struct type 'a t = 'a option let return x = Some x let bind m f = match m with | None -> None | Some x -> f x end OCaml also doesn't offer syntactic sugar like Haskell's do notation, which makes monadic code in Haskell considerably more readable and expressive: -- Haskell's elegant do notation userInfo = do name <- getLine age <- readLn return (name, age) Compared to the more verbose OCaml equivalent: let user_info = get_line >>= fun name -> read_ln >>= fun age -> return (name, age) The readability difference becomes even more pronounced in more complex monadic operations. Philosophical Differences Beyond syntax, the languages differ in their fundamental approach to effects: Haskell is purely functional, making monads essential for managing effects in a principled way OCaml permits direct side effects, often making monadic abstractions optional This allows OCaml programmers to write more direct code when appropriate: (* Direct style in OCaml *) let get_user_info () = print_string "Name: "; let name = read_line () in print_string "Age: "; let age = int_of_string (read_line ()) in (name, age) OCaml's approach might favor pragmatism and directness in many cases, with programmers often preferring: Direct use of option and result types Module-level abstractions through functors Continuation-passing style when needed While this directness can be beneficial for immediate readability, it might come at the cost of some of the elegant uniformity that Haskell's monadic approach provides. Reflections on Language Design These differences highlight how programming language design shapes the idioms and patterns that emerge within their communities. Neither approach is objectively superior—they represent different philosophies about abstraction, explicitness, and the role of the type system. Haskell's approach encourages a high level of abstraction and consistency across different computational contexts, which can feel particularly satisfying when working with complex, interconnected systems. There's something intellectually pleasing about solving a problem once and having that solution generalize across many contexts. OCaml often favors more direct solutions that might be easier to reason about locally, though potentially at the cost of less uniformity across the codebase. This approach has its own virtues, particularly for systems where immediate comprehensibility is paramount. After working with both paradigms, I find myself drawn to the consistent abstractions that Haskell's approach provides, while still appreciating the pragmatic clarity that OCaml can offer in certain situations. The typeclasses and syntactic support in Haskell seem to unlock a particularly elegant way of structuring code that, while perhaps requiring a steeper initial learning curve, offers a uniquely satisfying programming experience. What patterns have you noticed in how different programming language communities approach similar problems? And have you found yourself drawn to the elegant abstractions of Haskell or the pragmatic approach of OCaml?
While exploring functional programming languages, I've been reflecting on how different communities approach similar concepts. One pattern that seems particularly fascinating is how Haskell and OCaml communities differ in their embrace of monads as an abstraction tool.
The Elegant Power of Monads in Haskell
It's common to hear monads explained through analogies to concepts like JavaScript's Promise or jQuery chains. While these comparisons provide an entry point, they might miss what makes monads truly beautiful and powerful in Haskell's ecosystem.
The real strength appears to lie in the Monad typeclass itself. This elegant abstraction allows for creating generic functions and types that work with any type that shares the monad property. This seems to offer a profound unification of concepts that might initially appear unrelated:
- You can write code once that works across many contexts (
Maybe,[],IO,State, etc.) - Generic functions like
sequence,mapM, and others become available across all monadic types - The same patterns and mental models apply consistently across different computational contexts
For example, a simple conditional function like this works beautifully in any monadic context:
whenM :: Monad m => m Bool -> m () -> m ()
whenM condition action = do
result <- condition
if result then action else return ()
Whether dealing with potentially missing values, asynchronous operations, or state transformations, the same function can be employed without modification. There's something genuinely satisfying about this level of abstraction and reuse.
OCaml's Different Approach
Interestingly, the OCaml community seems less enthusiastic about monads as a primary abstraction tool. This might stem from several factors related to language design:
Structural Differences
OCaml lacks built-in typeclass support, relying instead on its module system and functors. While powerful in its own right, this approach might not make monad abstractions feel as natural or convenient:
(* OCaml monad implementation requires more boilerplate *)
module type MONAD = sig
type 'a t
val return : 'a -> 'a t
val bind : 'a t -> ('a -> 'b t) -> 'b t
end
module OptionMonad : MONAD with type 'a t = 'a option = struct
type 'a t = 'a option
let return x = Some x
let bind m f = match m with
| None -> None
| Some x -> f x
end
OCaml also doesn't offer syntactic sugar like Haskell's do notation, which makes monadic code in Haskell considerably more readable and expressive:
-- Haskell's elegant do notation
userInfo = do
name <- getLine
age <- readLn
return (name, age)
Compared to the more verbose OCaml equivalent:
let user_info =
get_line >>= fun name ->
read_ln >>= fun age ->
return (name, age)
The readability difference becomes even more pronounced in more complex monadic operations.
Philosophical Differences
Beyond syntax, the languages differ in their fundamental approach to effects:
- Haskell is purely functional, making monads essential for managing effects in a principled way
- OCaml permits direct side effects, often making monadic abstractions optional
This allows OCaml programmers to write more direct code when appropriate:
(* Direct style in OCaml *)
let get_user_info () =
print_string "Name: ";
let name = read_line () in
print_string "Age: ";
let age = int_of_string (read_line ()) in
(name, age)
OCaml's approach might favor pragmatism and directness in many cases, with programmers often preferring:
- Direct use of
optionandresulttypes - Module-level abstractions through functors
- Continuation-passing style when needed
While this directness can be beneficial for immediate readability, it might come at the cost of some of the elegant uniformity that Haskell's monadic approach provides.
Reflections on Language Design
These differences highlight how programming language design shapes the idioms and patterns that emerge within their communities. Neither approach is objectively superior—they represent different philosophies about abstraction, explicitness, and the role of the type system.
Haskell's approach encourages a high level of abstraction and consistency across different computational contexts, which can feel particularly satisfying when working with complex, interconnected systems. There's something intellectually pleasing about solving a problem once and having that solution generalize across many contexts.
OCaml often favors more direct solutions that might be easier to reason about locally, though potentially at the cost of less uniformity across the codebase. This approach has its own virtues, particularly for systems where immediate comprehensibility is paramount.
After working with both paradigms, I find myself drawn to the consistent abstractions that Haskell's approach provides, while still appreciating the pragmatic clarity that OCaml can offer in certain situations. The typeclasses and syntactic support in Haskell seem to unlock a particularly elegant way of structuring code that, while perhaps requiring a steeper initial learning curve, offers a uniquely satisfying programming experience.
What patterns have you noticed in how different programming language communities approach similar problems? And have you found yourself drawn to the elegant abstractions of Haskell or the pragmatic approach of OCaml?
Readings shared February 21, 2025. https://jaalonso.github.io/vestigium/posts/2025/02/21-readings_shared_02-21-25 #AI #Autoformalization #Coq #FunctionalProgramming #ITP #IsabelleHOL #LLMs #LeanProver #Math #OCaml #Rocq
jaalonso.github.io
Readings shared February 21, 2025
The readings shared in Bluesky on 21 February 2025 are Machine-assisted proofs (February 19, 2025). ~ Terence Tao. #ITP #LeanProver #AI #Math Formalisation of combinatorial optimisation in Isabelle/H
Learn programming with OCaml (Algorithms and data structures). ~ Sylvain Conchon, Jean-Christophe Filliâtre. https://usr.lmf.cnrs.fr/lpo/lpo.pdf #OCaml #FunctionalProgramming
Porting PFP from Haskell to OCaml
https://github.com/lewis-carson/PFPCaml
Discussions: https://discu.eu/q/https://github.com/lewis-carson/PFPCaml
discu.eu
GitHub - lewis-carson/PFPCaml: A port of PFP from Haskell to OCaml - discu.eu
Discussions and related articles for «GitHub - lewis-carson/PFPCaml: A port of PFP from Haskell to OCaml»
Readings shared January 3, 2025. https://jaalonso.github.io/vestigium/posts/2025/01/03-readings_shared_01-03-25 #ITP #Lean4 #IsabelleHOL #Coq #Rocq #Math #FunctionalProgramming #OCaml #Haskell #Python #AI #MachineLearning
jaalonso.github.io
Readings shared January 3, 2025
The readings shared in Bluesky on 3 January 2025 are Readings shared January 2, 2025. #Haskell #Python #Math #Exercitium: Mayor órbita de la sucesión de Collatz. #Haskell #Python #Matemáticas Proofs
Typechecking of overloading in programming languages and mechanized mathematics. ~ Arthur Charguéraud, Martin Bodin, Louis Riboulet. https://inria.hal.science/hal-04859446/document #OCaml #FunctionalProgramming
Storable types: free, absorbing, custom. ~ Basile Clément, Camille Noûs, Gabriel Scherer. https://inria.hal.science/hal-04859464/file/jfla2025-final54.pdf #OCaml #FunctionalProgramming
We just published our funding structure and detailed income since the beginning of robur -- https://blog.robur.coop/articles/finances.html #cooperative #mirageos #ocaml #money #transparency -- and why we're doing what we're doing. :)
blog.robur.coop
Robur's blog - How has robur financially been doing since 2018?
How we organise as a collective, and why we're doing that.
Heyo!
My name is Sofie, and I love building things so it is nicer and easier to use!
I touch on subjects such as #nixos, #sysadmin, and how to generally make your life easier running servers.
I also love trying out a lot of different programming languages, big ones being #Rust, #Ocaml, and #Ruby right now!
My current pet project is https://github.com/imsofi/phenix
In my free time I also enjoy #boardgames and #radiocontrol.
Good to see you! :ablobfoxbongo:
Hi types.pl,
I am a computer scientist interested in #verification, concurrency theory applied to parallel systems.
My main research project deals with verifying safety and performance properties of #CUDA kernels.
I write code for research mainly in #OCaml and #Coq.
I am passionate about teaching. I am currently using Racket to teach functional programming and Coq to teach Intro to Theory of Computation.
I use this to share my own research findings, papers I like, and software that I find fun.
PS: I just migrated from mathstodon.xyz and I think I lost my posts.
Heya folks! 👋
My name is Sophia, I work as a software developer in Germany.
This is my #tech account, so I'll focus on #Vim #NeoVim, command-line tools, #TypeScript, front-end #WebDevelopment.
Other accounts 👉 please see my bio.
I love to try out different programming languages like #GoLang, #Rust, #Elixir, #Nim, #OCaml, etc.
In my free time I enjoy reading, playing pen & paper RPGs #ttrpg or learning new languages like #Esperanto.
Reactivating — Hello! I’m into:
• Functional programming, especially #haskell, #ocaml, #elmlang, #purescript
• Proof systems & software correctness tools #coq, #idris, #agda, #rustlang
• Scientific data acquisition & analysis, #gpu frameworks
• Reproducible builds, #nixos, #nixpkgs
• Non-traditional families (#queer, interracial)
• #ADHD strategies & other #neurodivergent perspectives
• Black natural hair care, for Ms. 7yo
• #Classical & electronic music, dabbling at piano as a busy adult
> ./masto.sh
>>> Welcome back to Mastodon!
>>> You are [yomimono]. You are in some sort of wandering shop.
>>> Behind you is a weirder earth (closed), just beyond which is a famous town of witches (also closed).
> inventory
>>> You have:
>>> a computer
>>> regrets
> order coffee
>>> ☕
> program computer
>>> You make a #unikernel in #ocaml using #mirageos .
> program computer
>>> You work on a #secretProject ! it involves #crossStitch and #embroidery.
> look cat
>>> which #cat?
> ALL
















