Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

Yes, that seems to be what the aptly-named "tardis" monad does, but the article notes that it isn't sufficient because of the minutiae of how jump instructions themselves can vary in length under x86.

In an act of brilliance that surely proves beyond all doubt that Haskell's main reason for existing is to upstage the esolang scene, the author solves the problem by trotting out a special-purpose constraint satisfaction algorithm. (You can imagine what kind of computational complexity this implies. The creators of this algorithm note that it can enumerate all tic-tac-toe games in just over a second!)




> The creators of this algorithm note that it can enumerate all tic-tac-toe games in just over a second!

This is achievable in most languages, no?




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: