Use of forall as a sigil

Richard Eisenberg rae at richarde.dev
Thu Dec 3 16:24:58 UTC 2020



> On Dec 3, 2020, at 11:11 AM, Bryan Richter <b at chreekat.net> wrote:
> 
> I must be confused, because it sounds like you are contradicting yourself. :) In one sentence you say that there is no assumed universal quantification going on, and in the next you say that the function does indeed work for all types. Isn't that the definition of universal quantification?

I agree with Vlad's comment here: There *is* universal quantification here, but there is not *implicit* universal quantification, as it's *explicit*. You've made the universal quantification with your `forall a ->`.

Richard
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.haskell.org/pipermail/ghc-devs/attachments/20201203/1fa35ca5/attachment.html>


More information about the ghc-devs mailing list