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 _______________________________________________ Haskell mailing list [email protected] http://www.haskell.org/mailman/listinfo/haskell
