Orchid XP v8 a écrit :
> putStr "Guess: "
> LT -> do putStrLn "Too low."; guess target
> GT -> do putStrLn "Too high."; guess target
> EQ -> do putStrLn "You win!"
>
> Does that look like line noise to you? Or can you figure out what that
> does?
Honestly just from the strings that are being printed one can guess what
this program is meant to be doing... Should be true of any language.
Well one where the strings do not have to be somehow encoded of course ;-)
--
Vincent
Post a reply to this message
|