iamdisappoint@reddthat.com to Programmer Humor@programming.dev · 1 day agoIt was best as a silly toy language in the 1990's...reddthat.comimagemessage-square123fedilinkarrow-up1429arrow-down147
arrow-up1382arrow-down1imageIt was best as a silly toy language in the 1990's...reddthat.comiamdisappoint@reddthat.com to Programmer Humor@programming.dev · 1 day agomessage-square123fedilink
minus-squaresip@programming.devlinkfedilinkarrow-up0·edit-24 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·3 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.