[q-lang-users] Stream constructors
Brought to you by:
agraef
From: Albert G. <Dr....@t-...> - 2006-05-10 22:38:58
|
As the new syntactic sugar for streams is now in place (streams now look just like lists, only using curly braces instead of brackets), to clean up the namespace I'd like to rename the stream constructor symbols to `scons' and `snil'. Using `bin' and `nil' for these was really a bad choice, as these are what almost everyone who has read the Bird/Wadler book would use for binary tree constructors, so having these symbols already defined as something else in the global namespace is not a good idea. Also, as Yann pointed out in private conversation, naming the binary stream constructor `bin' really is a little weird. ;-) The question is, would this affect anybody's scripts? Does anyone here use streams at all? And, if so, would it be too much work to convert them to the new {X|Xs} notation? Albert -- Dr. Albert Gr"af Dept. of Music-Informatics, University of Mainz, Germany Email: Dr....@t-..., ag...@mu... WWW: http://www.musikinformatik.uni-mainz.de/ag |