4 ms·
Racket has been rocking my world lately. In particular, I love that you can arbitrarily define (or redefine) patterns for the match construct using macros. It
by mattmight 16y ago
Racket has been rocking my world lately.
In particular, I love that you can arbitrarily define (or redefine) patterns for the match construct using macros.
It leads to some damn elegant code:
http://matt.might.net/articles/red-black-delete/ http://matt.might.net/articles/red-black-delete/
http://matt.might.net/articles/parsing-with-derivatives/ http://matt.might.net/articles/parsing-with-derivatives/
- copper 16y agoI played around (rather ineffectually) with David's Haskell code, back when the whole "Yacc is Dead" stuff was here, and I still tend to believe that Haskell results in less code when laziness is involved :) That said, I think I really like define/fix