Re: [q-lang-users] New stuff in cvs: multichar ops, views
Brought to you by:
agraef
From: John C. <co...@cc...> - 2007-05-30 22:29:08
|
Albert Graef scripsit: > Multichar operator symbols: These have been asked for on the mailing > list a while ago. I've given in to the popular demand now and > implemented them. So you can write, e.g.: > > public (--) Xs Ys @(-); > Xs:List--Ys:List = foldl (flip (filter . neq)) Xs Ys; I'm happy with that -- I assume that "--" is distinct from "- -" where the latter is unary minus? (I always get bitten by unary minus in Q, still.) > Wadler/Okasaki-style views (good stuff!): These are now implemented, Hurrah! -- We are lost, lost. No name, no business, no Precious, nothing. Only empty. Only hungry: yes, we are hungry. A few little fishes, nassty bony little fishes, for a poor creature, and they say death. So wise they are; so just, so very just. --Gollum co...@cc... http://ccil.org/~cowan |