select x p q | True = p | False = q main = putStr (select (1 == 1) "yes" "no")
golfed:
select _ p _ = p