3 ms·
Funny, after the thread about J. Rees T, I dug the web and ended up there https://web.archive.org/web/20061013002258/http://fresh.homeunix.net:80/~luke/misc/has
by agumonkey 9y ago
Funny, after the thread about J. Rees T, I dug the web and ended up there https://web.archive.org/web/20061013002258/http://fresh.homeunix.net:80/~luke/misc/haskell/NineNines.hs https://web.archive.org/web/20061013002258/http://fresh.home...
small world
ps: I just peeked at the regexp function, did someone told you or did you come up with it on your own ? it's so damn short
- lukego 9y agoSmall world indeed :) that's really old code, I don't remember much about it :)
- lukego 9y agoRegex code was probably based on the standard Erlang regex module that Robert Virding wrote. Simplified by skipping the regex syntax and writing the AST directly (like in scsh.)
- agumonkey 9y agoHa, great, another name to google :p ps: always skip the parsing.
- abecedarius 9y agoI had some fun Haskelling Thompson's algorithm too: https://github.com/darius/sketchbook/blob/master/regex/nfavector2.hs https://github.com/darius/sketchbook/blob/master/regex/nfave... -- though I think Haskell's at a disadvantage for this one.