Skip to content

Instantly share code, notes, and snippets.

@Freakwill
Created October 2, 2018 10:13
Show Gist options
  • Save Freakwill/e6ae5fbf2f1b3807d248f85a68a88108 to your computer and use it in GitHub Desktop.
Save Freakwill/e6ae5fbf2f1b3807d248f85a68a88108 to your computer and use it in GitHub Desktop.
FuckHaskell created by Freakwill - https://repl.it/@Freakwill/FuckHaskell
module Base
(sepline)
where
_sepline :: String -> String
_sepline x = let l = replicate 8 '-' in l ++ x ++ l
sepline :: String -> IO ()
sepline = putStrLn . _sepline
-- Monad is a monster for me.
import Base
shit :: String
shit = do
x <- "fuck"
return x ++ "wtf"
main :: IO ()
main = do
sepline "Monad IO"
putStrLn "input whatever you want to say to me."
s <- getLine
putStrLn (s ++ "####shit=" ++ shit)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment