Donald Bruce Stewart wrote:
magnus:
All I'm trying to say is that imperative thinking is so common
outside of CS/math and we learn it so early on in life that we
probably can consider it the "natural thinking way".

   foldl (\water dish -> wash water dish) soapywater dishes ::
[Dishes]
 ^^ type error

I hope they weren't expensive dishes because as each dish is washed it dissolves into the water never to be seen again! :-)

Brian.
--
http://www.metamilk.com
_______________________________________________
Haskell-Cafe mailing list
[email protected]
http://www.haskell.org/mailman/listinfo/haskell-cafe

Reply via email to