chronicle
09-16-2002, 01:12 PM
Hi
I want to do a script that changes all the zeros to ones how can I do this in Haskell? The type definition should be zero2one :: Int -> Int,
test: zero2one 200 should be 211 :: Int
Thanks!
CS
I want to do a script that changes all the zeros to ones how can I do this in Haskell? The type definition should be zero2one :: Int -> Int,
test: zero2one 200 should be 211 :: Int
Thanks!
CS