Module naan::functor

source ·
Expand description

Functor

Traits

  • Functor adds a mapping operation to generic types.
  • Functor, but specialized to know at compile-time that the mapping function will only be called one time.
  • Functor but with looser type constraints, allowing for blanket Functor implementations on types Equivalent to F<A>