[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

abbreviate "stream"?

This page is part of the web mail archives of SRFI 40 from before July 7th, 2015. The new archives for SRFI 40 contain all messages, not just those from before July 7th, 2015.



The function names in this srfi, while descriptive,
tend to be pretty long.  I would like to discuss
possible abbreviations for "stream".  

Personally, I like "$" as an abbreviation.  It
suggests "stream" because it looks like an 'S'. 
Furthermore, it suggests laziness, as '$' is lazy
application in haskell, and Okasaki uses '$' as
notation for suspensions in his _Purely Functional
Data Structures_.  Unfortunately, '$' cannot begin an
identifier in R5RS.  Here are some legal variations:

Instead of "stream-map",

   _$-map
   S$-map
   map-$
   L$-map   (suggests "lazy list")
   C$-map   (suggests "lazy cons")
   S-map
   Phil-map 
   


__________________________________________________
Do you Yahoo!?
Yahoo! Platinum - Watch CBS' NCAA March Madness, live on your desktop!
http://platinum.yahoo.com