Skip to content

Instantly share code, notes, and snippets.

@IronGremlin
Last active November 17, 2017 17:20
Show Gist options
  • Save IronGremlin/4f5fdb4c1bec458cf3efd74ecb05f4ac to your computer and use it in GitHub Desktop.
Save IronGremlin/4f5fdb4c1bec458cf3efd74ecb05f4ac to your computer and use it in GitHub Desktop.
vscode Apply hint bug
module Derptastic where
someFunction :: IO ()
someFunction = readFile (".aFile") >>= putStrLn
otherFunction :: (Num t, Eq t) => t -> t -> t
otherFunction a b
| a == 5 = b
| otherwise = a
thirdFunction :: Num t1 => t -> t1
thirdFunction x = 5
{-output file -}
module Derptastic where
otherFunction :: (Num t, Eq t) => t -> t -> t
someFunction = readFile ".aFile" >>= putStrLn
thirdFunction :: Num t1 => t -> t1
thirdFunction x = 5
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment