Created
March 24, 2017 06:59
-
-
Save yurifrl/290140d6c48c3aa5fc16822a34f06f4d to your computer and use it in GitHub Desktop.
Understanding "Haskell notations"
This file contains 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
-- This that the function toInt takes a String and returns a Integer | |
toInt :: String -> Int | |
-- This means that the function run takes 'a' and returns a 'b' | |
run :: a -> b | |
-- https://www.fpcomplete.com/blog/2012/09/ten-things-you-should-know-about-haskell-syntax | |
-- http://stackoverflow.com/questions/5926826/what-does-double-colon-stand-for-in-haskell |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment