Safe Haskell | None |
---|---|
Language | Haskell2010 |
Documentation
One record is a subtype of another if the fields of the latter are a subset of the fields of the former.
type (:~:) r1 r2 = (r1 <: r2, r2 <: r1) Source
If two records types are subtypes of each other, that means that they differ only in order of fields.