this post was submitted on 24 Nov 2025
557 points (89.4% liked)

Programmer Humor

27489 readers
1946 users here now

Welcome to Programmer Humor!

This is a place where you can post jokes, memes, humor, etc. related to programming!

For sharing awful code theres also Programming Horror.

Rules

founded 2 years ago
MODERATORS
 
you are viewing a single comment's thread
view the rest of the comments
[โ€“] sip@programming.dev 1 points 1 day ago* (last edited 1 day ago) (1 children)

I asked chatgpt for a few languages with a good typesystem and it suggested ocaml among other (scala, rust, haskell, f#)

Then asked for a 100 line ocaml REST API example with a popular framework and db lib.. and it looks mostly like Haskell.

edit: async is done with monads

[โ€“] victorz@lemmy.world 1 points 23 hours ago (2 children)

If it looks mostly like Haskell but has better tooling, I'm in. I have yet to manage to successfully set up a Haskell environment on my own PC. ๐Ÿ˜… I am obviously missing something.

[โ€“] sip@programming.dev 1 points 10 hours ago

I think ghcup is the simplest way

[โ€“] sip@programming.dev 1 points 10 hours ago

I used it either through my distro's package or using stack install. there's also cabal install, but that doesn't install the compiler, at least not in 2017 when I played with it.