On 2/23/11 4:55 PM, Max Bolingbroke wrote:
3) A surprise to me: generating fresh names! People keep a set of all
names generated so far, and then just take size+1 as their fresh name.
Nice trick. ~17 occurrences

This is a really common trick in NLP circles. Of course, it's easy to build a datastructure of your own which caches the size, rather than having the underlying datastructure do it.

Speaking of which, I should put my package for that up on Hackage...

--
Live well,
~wren

_______________________________________________
Haskell-Cafe mailing list
[email protected]
http://www.haskell.org/mailman/listinfo/haskell-cafe

Reply via email to