6 | ------------------------------------------------------------
7 | -- Interface
8 | ------------------------------------------------------------
10 | ||| A *natural transformation* is a kind of mapping between functors
11 | ||| that's compatible with their behavior.
12 | |||
13 | ||| This is the interface-style definition of a natural transformation.
14 | ||| For the record-style definition, see `Control.Category.Records.NatTransR`.
15 | |||
16 | ||| Laws (for natural transformation `tr`):
17 | ||| * `map f . tr = tr . map f`