Last active
October 4, 2016 13:33
-
-
Save milessabin/b92b9bcc4298e0077ba033de49531bc0 to your computer and use it in GitHub Desktop.
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
tapply: (a -> b) -> a -> b | |
tapply ab a = ab a | |
foo: (tapply List Nat) --OK | |
foo = [1, 2, 3] | |
mkPair: a -> b -> (a, b) | |
mkPair a b = (a, b) | |
bar: (mkPair Nat String) -- Not OK | |
bar = (23, "foo") |
edwinb
commented
Oct 4, 2016
•
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment