iamdisappoint@reddthat.com to Programmer Humor@programming.dev · 2 days agoIt was best as a silly toy language in the 1990's...reddthat.comimagemessage-square143fedilinkarrow-up1654arrow-down169
arrow-up1585arrow-down1imageIt was best as a silly toy language in the 1990's...reddthat.comiamdisappoint@reddthat.com to Programmer Humor@programming.dev · 2 days agomessage-square143fedilink
minus-squaresip@programming.devlinkfedilinkarrow-up1·edit-211 hours agoI 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
minus-squareVictor@lemmy.worldlinkfedilinkarrow-up1·10 hours agoIf 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.
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
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.