3 Apr
2005
3 Apr
'05
6:31 p.m.
I can not understand memoization in Haskell. I can not find an example except the fib. For example, I want drop a list 4 times like,
drop 4 (drop 3 (drop 2 (drop 1 [1,2,3,4,5,6,7,8,9,10,11,12]))) [11,12]
can I implement a memoization funcation like
droploop [1,2,3,4] [1,2,3,4,5,6,7,8,9,10,11,12] to get same result [11,12]
so, if possible to do it? or any other example like it? Bright __________________________________________________ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com