2 ms·
See a problem, realize it’s a graph, realize it’s traveling salesman, reduce it to 3SAT, and start grinding it out in MiniSAT before I can type “jupyter lab”.
by benreesman 5y ago
See a problem, realize it’s a graph, realize it’s traveling salesman, reduce it to 3SAT, and start grinding it out in MiniSAT before I can type “jupyter lab”.
- eru 5y agoThat's not particularly Haskell specific. What's more Haskell specific is recognizing many problems can be solved easier when seen through the lens of parsers, interpreters and/or compilers. Haskell's and the whole ML family of languages are great at writing parsers etc. In fact they were originally invented for implementing other languages.
- CactusOnFire 5y agoI have always figured the appeal of Haskell, Clojure, et al., is to transpile your task and turn any software problem into your language of choice.
- eru 5y agoYes, though that's related, but not really want I wanted to say. I meant that solving a problem in Haskell can often mean eg writing something a bit like a parser.