Andrew Wagner <wagner.andrew <at> gmail.com> writes: > Try this: let b = if a == True then "+" else "-" in ... Or like this: main = do let b = if True then "a" else "b" putStrLn b -- Gracjan