Skip to content

Coercion Quantification

As described in https://ghc.haskell.org/trac/ghc/wiki/DependentHaskell/Phase2.

We would like to have coercion quantifications back in Haskell Core language.

This means in Core we can define types like

\/ (a: k1) . 
  \/ (co : k1 ~ k2)  -- an explicit quantification for the coercion
  -> (a |> co)       -- use the name for an explicit cast
  -> ...
Trac metadata
Trac field Value
Version
Type Task
TypeOfFailure OtherFailure
Priority normal
Resolution Unresolved
Component Compiler
Test case
Differential revisions
BlockedBy
Related
Blocking
CC
Operating system
Architecture
To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information