Skip to content

Refactor (Maybe Coercion)

As discussed here: https://phabricator.haskell.org/D4395#inline-34607

Define a type

data MCoercion = MRefl | MCo Coercion

This is isomorphic to Maybe Coercion but useful in a number of places, and super-helpful documentation. (eg MRefl is much more perspicuous than Nothing.

Define this in Coercion.hs I think.

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