Why aren't there existentially quantified type variables in GHC Haskell

前端 未结 2 2041
小蘑菇
小蘑菇 2021-02-07 03:11

There are universally quantified type variables, and there are existentially quantified data types. However, despite that people give pseudocode of the form exists a. Int

2条回答
  •  逝去的感伤
    2021-02-07 03:47

    Existentially quantified types are available in GHC, so the question is predicated on a false assumption.

提交回复
热议问题