Why does this code not work
Because you are not using Haskell.
Name:
Anonymous2007-12-24 4:01
>>6
Fun fact: About 20 Haskell users post on /prog/ regularly. This makes about 70% of Haskell users.
/prog/ - the Haskell haven.
Name:
Anonymous2007-12-24 4:05
>>7
You'd think that if Haskell was any good, writing code would be Haskell heaven. It's more like Typeskell hell though.
Name:
Anonymous2007-12-24 4:05
module Main
where
import IO
penis = do
var <- GetLine
if "penis" == var
then putStrLn "son, that's a penis"
else if "cock" == var
then putStrLn "son, that's a cock"
else PutStrLn "niggerpenis"
Is this Haskell?
Name:
Anonymous2007-12-24 4:06
fuck I think I fucked up the FORCED INDENTATION OF THE CODE
Name:
Anonymous2007-12-24 4:35
>>8
I don't think you have achieved Satori yet, son.
Name:
Anonymous2007-12-24 4:39
>>11
This might surprise you, but you have neither.
A man who has achieved Satori would never waste his precious time by dealing with the likes of >>8