C++ vs Lisp

Nick Sabalausky a at a.a
Sat May 17 14:45:40 PDT 2008


"Neal Alexander" <WQEQWEUQY at HOTMAIL.COM> wrote in message 
news:g0nha0$1s9l$1 at digitalmars.com...
> - Function composition: (process . reverse . sort) list
> vs
> process(reverse(sort(list)))
>

Did you mean:

(sort . reverse . process) list
vs
process(reverse(sort(list)))

Or does Haskell put them in order of (last . first)?  FWIW, I really like 
the style I've seen in some languages that's basically:

list.sort().reverse().process()
vs
process(reverse(sort(list)))

Which, I'm assuming is what you're talking about, but not certain. 





More information about the Digitalmars-d mailing list