-
-
Save kaosf/7433095 to your computer and use it in GitHub Desktop.
thanks for https://twitter.com/pasberth https://twitter.com/shelarcy ref. https://twitter.com/pasberth/status/400274048480862209 https://twitter.com/pasberth/status/400274208854265856 https://twitter.com/pasberth/status/400274656088715266 https://twitter.com/shelarcy/status/400289807789608960 https://twitter.com/shelarcy/status/400290182416461824
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
let f x = x + 1 | |
:t f | |
-- f :: Num a => a -> a | |
let g = (+ 1) | |
:t g | |
-- g :: Integer -> Integer | |
let h = (+ 1) :: Int -> Int | |
:t h | |
-- h :: Int -> Int |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment