
19 Aug
2006
19 Aug
'06
2:03 p.m.
c2Str c = c:[]
This function is often known as box, its much more general than char to string, it puts any single element in a list like box
... or 'return', which is in the Prelude already, but which is even more general, it puts any single element into any (dare I say it) monad, where a list is one example. :-) /Niklas