[Haskell-cafe] ANN: fixed-list -- A fixed length list library

Khudyakov Alexey alexey.skladnoy at gmail.com
Sun Mar 21 09:00:15 EDT 2010

В сообщении от 21 марта 2010 09:37:26 Casey McCann написал:
> Using head and tail on longer lists fails likewise. I expect there's
> some way to make it work without simply increasing the stack depth,
> but I'm not sure how. Any thoughts?
It's possible to use binary encoding for natural numbers. 2^20 is pretty big 

There is article on haskell wiki[1]. And implementation by Oleg Kiselyov[2].


More information about the Haskell-Cafe mailing list