Interface ConstFoldable<T>

All Superinterfaces:
Foldable<Const<T,?>>
All Known Subinterfaces:
ConstTraverse<T>

interface ConstFoldable<T> extends Foldable<Const<T,?>>
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    static final ConstFoldable
     
  • Method Summary

    Modifier and Type
    Method
    Description
    default <A, B> B
    foldLeft(Kind<Const<T,?>,? extends A> value, B initial, Function2<? super B,? super A,? extends B> mapper)
     
    default <A, B> Eval<B>
    foldRight(Kind<Const<T,?>,? extends A> value, Eval<? extends B> initial, Function2<? super A,? super Eval<? extends B>,? extends Eval<? extends B>> mapper)
     

    Methods inherited from interface com.github.tonivade.purefun.typeclasses.Foldable

    fold, foldM, foldMap, reduce
  • Field Details

  • Method Details