old easter egg

Zhanyong Wan zhanyong.wan@yale.edu
Fri, 01 Dec 2000 16:55:06 -0500


Ronald Kuwawi wrote:
> 
> open text editor, type
> hash :: [Char] -> Int
> hash = (foldl (+) 0) . (map ord)
> 
> save as hash.hs
> 
> load script, type:
> hash "MSDOS 6.000"
> 
> or
> 
> hash "SYSTEM 7.0"

or

hash "HASKELL%98"

:-)

-- Zhanyong Wan