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

I threw together a toy implementation in Lua:

https://gist.github.com/scythe/d28c3f4933ff2f1e5c47

Granted, none of the cool out-of-order-iteration is there, but the reverse composition looks natural to me now, so I can sleep at night.



Took me a while to understand the reverse composition too so I hacked on it in Python

https://gist.github.com/colinsmith/3140e7cb57c4095ed83f




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

Search: