Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- import Debug.Trace
- itIsOK :: Show a => a -> String
- itIsOK a | trace ("hoge " ++ show a) False = undefined -- <- debug codes
- itIsOK a = (show a) ++ " is OK"
- main :: IO ()
- main = print $ itIsOK "Haskell"
Add Comment
Please, Sign In to add comment