Interface Functor<M,A,S extends HK<M,A,S>>

All Superinterfaces:
HK<M,A,S>
All Known Subinterfaces:
Applicative<M,A,S>, Monad<M,A,S>

public interface Functor<M,A,S extends HK<M,A,S>> extends HK<M,A,S>
  • Method Summary

    Modifier and Type
    Method
    Description
    <B, NS extends HK<M, B, NS>>
    HK<M,B,NS>
    map(java.util.function.Function<? super A,? extends B> function)
     

    Methods inherited from interface org.smallibs.type.HK

    apply, self
  • Method Details

    • map

      <B, NS extends HK<M, B, NS>> HK<M,B,NS> map(java.util.function.Function<? super A,? extends B> function)