Last active
October 4, 2016 13:33
-
-
Save milessabin/b92b9bcc4298e0077ba033de49531bc0 to your computer and use it in GitHub Desktop.
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
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") |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.