coerce package:backprop

Coerce items inside a BVar.
Coerce a BVar contents. Useful for things like newtype wrappers.
An Op that coerces an item into another item whose type has the same runtime representation.
>>> gradOp' opCoerce (Identity 5) :: (Int, Identity Int)
(5, Identity 1)
opCoerce = opIso coerced coerce