Talk:Hope (programming language)
![]() | Computer science Unassessed | ||||||||||||||||
|
Later versions
The lazy versions (of which the first was the ICL/Imperial College version Hope+, I believe) had many more changes than just laziness. Real (floating point) arithmetic, array types, annotations to force argument evaluation before demand despite the laziness, and more (I can't remember what else - for example I seem to remember we changed the pattern matching rules, but don't recall exactly how). Michealt (talk) 02:57, 28 October 2011 (UTC)
A Stream Programming Language, Also Called Hope
Some article (source amnesia, sorry) described a stream programming language named Hope. Arguments were always streams of values. A literal denoted a stream of the same value infinitely repeated. For example, the language construct "3" denoted a stream 3, 3, 3, 3, . . . . The "+" operator meant the operation that took two streams and produced a result stream by adding corresponding elements of the input streams. There were also built-in operators that would have a memory effect, where the calculation of an element of the result stream might depend partly on elements at earlier indices in the input streams. I'm sure I saw the article in 1981 or later (maybe closer to 1990). It could have been in ACM Sigplan Notices. Jack Waugh (talk) 17:30, 11 March 2012 (UTC)