|
|
Orchid XP v8 wrote:
> There's takeWhile, dropWhile and span which chop up segments of lists.
> There's "unfoldr" which builds lists. There's "until", which repeats a
> computation until a condition holds, and returns the final result. And
> so on...
I think the "until" is what I was after, but the Erlang syntax for
curried functions is just klunky enough to still make it annoying.
Still, better than a global name for every while loop. :-)
--
Darren New / San Diego, CA, USA (PST)
"That's pretty. Where's that?"
"It's the Age of Channelwood."
"We should go there on vacation some time."
Post a reply to this message
|
|