foobarbar :: Int -> Bool foobarbar | x <- 5 = case x of 5 -> True _ -> False