[Haskell-cafe] Re: Channel9 Interview: Software Composability and
theFu ture of Languages
Brandon S. Allbery KF8NH
allbery at ece.cmu.edu
Wed Jan 31 12:30:10 EST 2007
On Jan 31, 2007, at 6:10 , Dougal Stanton wrote:
> Quoth Bill Wood, nevermore,
>>> foldl (\water dish -> wash water dish) soapywater dishes ::
>>> [Dishes]
>> Finally, that doesn't work so well when there are constraints on the
>> order that the dishes are washed, for example when washing the
>> cruddiest
>> dishes first while there are more suds.
>
> Alas, that still doesn't capture the notion of soapywater degenerating
> into murkywater.
Only because the definition of wash hasn't been provided; obviously,
it returns a new value of water which is less soapy than the
initializer soapywater. :)
--
brandon s. allbery [linux,solaris,freebsd,perl] allbery at kf8nh.com
system administrator [openafs,heimdal,too many hats] allbery at ece.cmu.edu
electrical and computer engineering, carnegie mellon university KF8NH
More information about the Haskell-Cafe
mailing list