From: Mike Davis Date: 2001-01-19T13:10:03+09:00 Subject: [ruby-talk:9539] Re: array.each_index_but_last ? hipster wrote: > > > exactly where Haskell list-lingo (head, tail, init, last) comes in > handy. On Array > I'm trying to learn both Hakell and ruby at the same time, and I think by brain is going to explode :^). Each has some very interesting ways of expressing itself. > See http://www.xs4all.nl/~hipster/lib/ruby/haskell for more Haskell > list-ops (it's incomplete though, if I only had the time ;). Notice > how e.g. foldl1, scanl1, split_at, take_while and drop_while build > nicely from earlier defined primitives as take, drop, tail and init. > Good start on your page. When I have (a) a clue and (b) time, I'll offer some support. --mad > Michel