Data.Type.Equality and coercions

Bertram Felgenhauer bertram.felgenhauer
Thu Oct 10 13:24:46 UTC 2013

> Am Mittwoch, den 09.10.2013, 13:18 -0400 schrieb Edward Kmett:
> > 'subst' may be a better name for gcoerce than it is for coerce,
> > anyways, so there is plenty of room for discussion.
> not a very constructive comment, but subst certainly is a better name,
> for, well, subst: 

The pattern of type signatures for subst (= subst1) and subst2

   subst0 :: (a :=: b) -> a -> b

Unfortunately, that's not a very intuitive name.



More information about the Libraries mailing list