Last active
June 14, 2017 20:22
-
-
Save robinp/c834e73a3282e6b40b39acef281e0ada to your computer and use it in GitHub Desktop.
GHC 8 AST changes
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
=== Recursive function with type signature | |
A recursive call (with typesig) targets the polymorphic binding (vs the monomorphic one usually targeted). | |
Now there's a new ctor for this kind of function (AbsBindsSig), having only a poly-like binding exposed. | |
Caveat: the internal FunBind still refers the monomorphic binding. So it's a bit less obvious to make the connection. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment