upvote
> do a Haskell version first [...] port

As lower-hanging fruit, to get some style steering, but not the strictness/correctness assist in implementation, there's also doing code sketches in hs - writing without testing - and then asking for whatever code as inspired by / in the spirit of / based on the reference sketch.

reply
With LLMs that’s not a terrible approach. They are generally very good at translating between programming languages.
reply