On Fri, 1 Dec 2000, Zhanyong Wan wrote:

> 
> Ronald Kuwawi wrote:
> > 
> > open text editor, type
> > hash :: [Char] -> Int
> > hash = (foldl (+) 0) . (map ord)

> hash "HASKELL%98"


hash "Haskell Ninety Eight !!" 

surely?
-- 
Jón Fairbairn                                 [EMAIL PROTECTED]


_______________________________________________
Haskell mailing list
[EMAIL PROTECTED]
http://www.haskell.org/mailman/listinfo/haskell

Reply via email to