Uses of Interface
fj.F
-
Packages that use F Package Description fj Types that set the premise for the existence of Functional Java.fj.control Functional control abstractions.fj.control.db Abstractions for JDBC connections.fj.control.parallel Parallelization strategies.fj.data Common algebraic data types.fj.data.fingertrees Provides 2-3 finger trees, a functional representation of persistent sequences supporting access to the ends in amortized O(1) time.fj.data.hamt fj.data.hlist Type-safe, extensible, heterogeneous listsfj.data.optic Optic data types adapted from the Scala Monocle library and inspired by the Haskell Lens library.fj.data.vector Fixed-length vectorsfj.function A prelude of commonly used first-class functionsfj.java.util fj.parser Parser combinators. -
-
Uses of F in fj
Fields in fj declared as F Modifier and Type Field Description static F<java.lang.Boolean,java.lang.Byte>
Primitive. Boolean_Byte
A function that converts booleans to bytes.static F<java.lang.Boolean,java.lang.Character>
Primitive. Boolean_Character
A function that converts booleans to characters.static F<java.lang.Boolean,java.lang.Double>
Primitive. Boolean_Double
A function that converts booleans to doubles.static F<java.lang.Boolean,java.lang.Float>
Primitive. Boolean_Float
A function that converts booleans to floats.static F<java.lang.Boolean,java.lang.Integer>
Primitive. Boolean_Integer
A function that converts booleans to integers.static F<java.lang.Boolean,java.lang.Long>
Primitive. Boolean_Long
A function that converts booleans to longs.static F<java.lang.Boolean,java.lang.Short>
Primitive. Boolean_Short
A function that converts booleans to shorts.static F<java.lang.Byte,java.lang.Boolean>
Primitive. Byte_Boolean
A function that converts bytes to booleans.static F<java.lang.Byte,java.lang.Character>
Primitive. Byte_Character
A function that converts bytes to characters.static F<java.lang.Byte,java.lang.Double>
Primitive. Byte_Double
A function that converts bytes to doubles.static F<java.lang.Byte,java.lang.Float>
Primitive. Byte_Float
A function that converts bytes to floats.static F<java.lang.Byte,java.lang.Integer>
Primitive. Byte_Integer
A function that converts bytes to integers.static F<java.lang.Byte,java.lang.Long>
Primitive. Byte_Long
A function that converts bytes to longs.static F<java.lang.Byte,java.lang.Short>
Primitive. Byte_Short
A function that converts bytes to shorts.static F<java.lang.Character,java.lang.Boolean>
Primitive. Character_Boolean
A function that converts characters to booleans.static F<java.lang.Character,java.lang.Byte>
Primitive. Character_Byte
A function that converts characters to bytes.static F<java.lang.Character,java.lang.Double>
Primitive. Character_Double
A function that converts characters to doubles.static F<java.lang.Character,java.lang.Float>
Primitive. Character_Float
A function that converts characters to floats.static F<java.lang.Character,java.lang.Integer>
Primitive. Character_Integer
A function that converts characters to integers.static F<java.lang.Character,java.lang.Long>
Primitive. Character_Long
A function that converts characters to longs.static F<java.lang.Character,java.lang.Short>
Primitive. Character_Short
A function that converts characters to shorts.static F<java.lang.Double,java.lang.Boolean>
Primitive. Double_Boolean
A function that converts doubles to booleans.static F<java.lang.Double,java.lang.Byte>
Primitive. Double_Byte
A function that converts doubles to bytes.static F<java.lang.Double,java.lang.Character>
Primitive. Double_Character
A function that converts doubles to characters.static F<java.lang.Double,java.lang.Float>
Primitive. Double_Float
A function that converts doubles to floats.static F<java.lang.Double,java.lang.Integer>
Primitive. Double_Integer
A function that converts doubles to integers.static F<java.lang.Double,java.lang.Long>
Primitive. Double_Long
A function that converts doubles to longs.static F<java.lang.Double,java.lang.Short>
Primitive. Double_Short
A function that converts doubles to shorts.private F<A,java.lang.Integer>
Hash. f
private F<A,Stream<java.lang.Character>>
Show. f
static F<java.lang.Float,java.lang.Boolean>
Primitive. Float_Boolean
A function that converts floats to booleans.static F<java.lang.Float,java.lang.Byte>
Primitive. Float_Byte
A function that converts floats to bytes.static F<java.lang.Float,java.lang.Character>
Primitive. Float_Character
A function that converts floats to characters.static F<java.lang.Float,java.lang.Double>
Primitive. Float_Double
A function that converts floats to doubles.static F<java.lang.Float,java.lang.Integer>
Primitive. Float_Integer
A function that converts floats to integers.static F<java.lang.Float,java.lang.Long>
Primitive. Float_Long
A function that converts floats to longs.static F<java.lang.Float,java.lang.Short>
Primitive. Float_Short
A function that converts floats to shorts.static F<java.lang.Character,Option<Digit>>
Digit. fromChar
First-class conversion from a character to a digit.static F<java.lang.Long,Digit>
Digit. fromLong
First-class conversion from a long to a digit.static F<java.lang.Integer,java.lang.Boolean>
Primitive. Integer_Boolean
A function that converts integers to booleans.static F<java.lang.Integer,java.lang.Byte>
Primitive. Integer_Byte
A function that converts integers to bytes.static F<java.lang.Integer,java.lang.Character>
Primitive. Integer_Character
A function that converts integers to characters.static F<java.lang.Integer,java.lang.Double>
Primitive. Integer_Double
A function that converts integers to doubles.static F<java.lang.Integer,java.lang.Float>
Primitive. Integer_Float
A function that converts integers to floats.static F<java.lang.Integer,java.lang.Long>
Primitive. Integer_Long
A function that converts integers to longs.static F<java.lang.Integer,java.lang.Short>
Primitive. Integer_Short
A function that converts integers to shorts.static F<java.lang.Long,java.lang.Boolean>
Primitive. Long_Boolean
A function that converts longs to booleans.static F<java.lang.Long,java.lang.Byte>
Primitive. Long_Byte
A function that converts longs to bytes.static F<java.lang.Long,java.lang.Character>
Primitive. Long_Character
A function that converts longs to characters.static F<java.lang.Long,java.lang.Double>
Primitive. Long_Double
A function that converts longs to doubles.static F<java.lang.Long,java.lang.Float>
Primitive. Long_Float
A function that converts longs to floats.static F<java.lang.Long,java.lang.Integer>
Primitive. Long_Integer
A function that converts longs to integers.static F<java.lang.Long,java.lang.Short>
Primitive. Long_Short
A function that converts longs to shorts.F<A,F<A,A>>
Ord. max
A function that returns the greater of its two arguments.F<A,F<A,A>>
Ord. min
A function that returns the lesser of its two arguments.static F<java.lang.Short,java.lang.Boolean>
Primitive. Short_Boolean
A function that converts shorts to booleans.static F<java.lang.Short,java.lang.Byte>
Primitive. Short_Byte
A function that converts shorts to bytes.static F<java.lang.Short,java.lang.Character>
Primitive. Short_Character
A function that converts shorts to characters.static F<java.lang.Short,java.lang.Double>
Primitive. Short_Double
A function that converts shorts to doubles.static F<java.lang.Short,java.lang.Float>
Primitive. Short_Float
A function that converts shorts to floats.static F<java.lang.Short,java.lang.Integer>
Primitive. Short_Integer
A function that converts shorts to integers.static F<java.lang.Short,java.lang.Long>
Primitive. Short_Long
A function that converts shorts to longs.static F<Digit,java.lang.Character>
Digit. toChar
First-class conversion from a digit to a character.static F<Digit,java.lang.Long>
Digit. toLong
First-class conversion from digit to a long.Fields in fj with type parameters of type F Modifier and Type Field Description F<A,F<A,A>>
Ord. max
A function that returns the greater of its two arguments.F<A,F<A,A>>
Ord. min
A function that returns the lesser of its two arguments.Methods in fj that return F Modifier and Type Method Description static <A> F<P1<A>,A>
P1. __1()
Returns a function that returns the first element of a product.static <A,B>
F<P2<A,B>,A>P2. __1()
Returns a function that returns the first element of a product.static <A,B,C>
F<P3<A,B,C>,A>P3. __1()
Returns a function that returns the first element of a product.static <A,B,C,D>
F<P4<A,B,C,D>,A>P4. __1()
Returns a function that returns the first element of a product.static <A,B,C,D,E>
F<P5<A,B,C,D,E>,A>P5. __1()
Returns a function that returns the first element of a product.static <A,B,C,D,E,F$>
F<P6<A,B,C,D,E,F$>,A>P6. __1()
Returns a function that returns the first element of a product.static <A,B,C,D,E,F$,G>
F<P7<A,B,C,D,E,F$,G>,A>P7. __1()
Returns a function that returns the first element of a product.static <A,B,C,D,E,F$,G,H>
F<P8<A,B,C,D,E,F$,G,H>,A>P8. __1()
Returns a function that returns the first element of a product.static <A,B>
F<P2<A,B>,B>P2. __2()
Returns a function that returns the second element of a product.static <A,B,C>
F<P3<A,B,C>,B>P3. __2()
Returns a function that returns the second element of a product.static <A,B,C,D>
F<P4<A,B,C,D>,B>P4. __2()
Returns a function that returns the second element of a product.static <A,B,C,D,E>
F<P5<A,B,C,D,E>,B>P5. __2()
Returns a function that returns the second element of a product.static <A,B,C,D,E,F$>
F<P6<A,B,C,D,E,F$>,B>P6. __2()
Returns a function that returns the second element of a product.static <A,B,C,D,E,F$,G>
F<P7<A,B,C,D,E,F$,G>,B>P7. __2()
Returns a function that returns the second element of a product.static <A,B,C,D,E,F$,G,H>
F<P8<A,B,C,D,E,F$,G,H>,B>P8. __2()
Returns a function that returns the second element of a product.static <A,B,C>
F<P3<A,B,C>,C>P3. __3()
Returns a function that returns the third element of a product.static <A,B,C,D>
F<P4<A,B,C,D>,C>P4. __3()
Returns a function that returns the third element of a product.static <A,B,C,D,E>
F<P5<A,B,C,D,E>,C>P5. __3()
Returns a function that returns the third element of a product.static <A,B,C,D,E,F$>
F<P6<A,B,C,D,E,F$>,C>P6. __3()
Returns a function that returns the third element of a product.static <A,B,C,D,E,F$,G>
F<P7<A,B,C,D,E,F$,G>,C>P7. __3()
Returns a function that returns the third element of a product.static <A,B,C,D,E,F$,G,H>
F<P8<A,B,C,D,E,F$,G,H>,C>P8. __3()
Returns a function that returns the third element of a product.static <A,B,C,D>
F<P4<A,B,C,D>,D>P4. __4()
Returns a function that returns the fourth element of a product.static <A,B,C,D,E>
F<P5<A,B,C,D,E>,D>P5. __4()
Returns a function that returns the fourth element of a product.static <A,B,C,D,E,F$>
F<P6<A,B,C,D,E,F$>,D>P6. __4()
Returns a function that returns the fourth element of a product.static <A,B,C,D,E,F$,G>
F<P7<A,B,C,D,E,F$,G>,D>P7. __4()
Returns a function that returns the fourth element of a product.static <A,B,C,D,E,F$,G,H>
F<P8<A,B,C,D,E,F$,G,H>,D>P8. __4()
Returns a function that returns the fourth element of a product.static <A,B,C,D,E>
F<P5<A,B,C,D,E>,E>P5. __5()
Returns a function that returns the fifth element of a product.static <A,B,C,D,E,F$>
F<P6<A,B,C,D,E,F$>,E>P6. __5()
Returns a function that returns the fifth element of a product.static <A,B,C,D,E,F$,G>
F<P7<A,B,C,D,E,F$,G>,E>P7. __5()
Returns a function that returns the fifth element of a product.static <A,B,C,D,E,F$,G,H>
F<P8<A,B,C,D,E,F$,G,H>,E>P8. __5()
Returns a function that returns the fifth element of a product.static <A,B,C,D,E,F$>
F<P6<A,B,C,D,E,F$>,F$>P6. __6()
Returns a function that returns the sixth element of a product.static <A,B,C,D,E,F$,G>
F<P7<A,B,C,D,E,F$,G>,F$>P7. __6()
Returns a function that returns the sixth element of a product.static <A,B,C,D,E,F$,G,H>
F<P8<A,B,C,D,E,F$,G,H>,F$>P8. __6()
Returns a function that returns the sixth element of a product.static <A,B,C,D,E,F$,G>
F<P7<A,B,C,D,E,F$,G>,G>P7. __7()
Returns a function that returns the seventh element of a product.static <A,B,C,D,E,F$,G,H>
F<P8<A,B,C,D,E,F$,G,H>,G>P8. __7()
Returns a function that returns the seventh element of a product.static <A,B,C,D,E,F$,G,H>
F<P8<A,B,C,D,E,F$,G,H>,H>P8. __8()
Returns a function that returns the eighth element of a product.default <C> F<F<B,C>,F<A,C>>
F. andThen()
First-class composition flipped.default <C> F<A,C>
F. andThen(F<B,C> g)
Function composition flipped.static <A,B,C>
F<F<A,B>,F<F<B,C>,F<A,C>>>Function. andThen()
Function composition flipped.static <A,B,C>
F<A,C>Function. andThen(F<A,B> g, F<B,C> f)
Function composition flipped.default <C> F<F<A,F<B,C>>,F<A,C>>
F. apply()
First-class function application in an environment.default <C> F<A,C>
F. apply(F<A,F<B,C>> g)
Function application in an environment (Applicative Functor).static <A,B>
F<F<A,B>,B>Function. apply(A a)
Function application with the arguments flipped.static <A,B,C>
F<C,B>Function. apply(F<C,F<A,B>> cab, F<C,A> ca)
Performs function application within a higher-order function (applicative functor pattern).static <A,B,C>
F<C,B>Function. apply(F2<C,A,B> cab, F<C,A> ca)
Performs function application within a higher-order function (applicative functor pattern).default F<A,Array<B>>
F. arrayK()
Promotes this function so that it returns its result in a Array.default <C> F<F<B,F<A,C>>,F<A,C>>
F. bind()
First-class function binding.default <C> F<A,C>
F. bind(F<B,F<A,C>> g)
Binds a given function across this function (Reader Monad).static <A,B,C>
F<C,B>Function. bind(F<C,A> ma, F<A,F<C,B>> f)
Binds the function in the second argument to the function in the first argument.static <A,B,C,D>
F<D,C>Function. bind(F<D,A> ca, F<D,B> cb, F<A,F<B,C>> f)
Binds the given function f to the values of the given functions, with a final join.default F<A,Ordering>
Ord.AltDefinition. compare(A a1)
F<A,F<A,Ordering>>
Ord. compare()
First-class ordering.F<A,Ordering>
Ord.Definition. compare(A a)
static <A,B,C>
F<F<B,C>,F<F<A,B>,F<A,C>>>Function. compose()
Function composition.static <A,B,C>
F<A,C>Function. compose(F<B,C> f, F<A,B> g)
Function composition.static <A,B,C,D>
F<A,F<B,D>>Function. compose2(F<C,D> f, F<A,F<B,C>> g)
Function composition.static <A,B>
F<B,F<A,B>>Function. constant()
Returns a function that given an argument, returns a function that ignores its argument.static <A,B>
F<A,B>Function. constant(B b)
Returns a function that ignores its argument to constantly produce the given value.<B> F<B,A>
P1. constant()
Returns a constant function that always uses this value.default <C> F<C,B>
F. contramap(F<C,A> f)
default F<Actor<B>,Actor<A>>
F. contramapActor()
Returns a function that contramaps over a given actor.default F<Equal<B>,Equal<A>>
F. contramapEqual()
Promotes this function to map over an Equal as a contravariant functor.default F<Hash<B>,Hash<A>>
F. contramapHash()
Promotes this function to map over a Hash as a contravariant functor.default F<Show<B>,Show<A>>
F. contramapShow()
Promotes this function to map over a Show as a contravariant functor.default F<A,F<B,C>>
F2. curry()
Curries this wrapped function to a wrapped function of arity-1 that returns another wrapped function.static <A,B,C>
F<A,F<B,C>>Function. curry(F2<A,B,C> f)
Curry a function of arity-2.static <A,B,C>
F<B,C>Function. curry(F2<A,B,C> f, A a)
Curry a function of arity-2.static <A,B,C,D>
F<A,F<B,F<C,D>>>Function. curry(F3<A,B,C,D> f)
Curry a function of arity-3.static <A,B,C,D>
F<B,F<C,D>>Function. curry(F3<A,B,C,D> f, A a)
Curry a function of arity-3.static <A,B,C,D>
F<C,D>Function. curry(F3<A,B,C,D> f, A a, B b)
Curry a function of arity-3.static <A,B,C,D,E>
F<A,F<B,F<C,F<D,E>>>>Function. curry(F4<A,B,C,D,E> f)
Curry a function of arity-4.static <A,B,C,D,E>
F<B,F<C,F<D,E>>>Function. curry(F4<A,B,C,D,E> f, A a)
Curry a function of arity-4.static <A,B,C,D,E>
F<C,F<D,E>>Function. curry(F4<A,B,C,D,E> f, A a, B b)
Curry a function of arity-4.static <A,B,C,D,E>
F<D,E>Function. curry(F4<A,B,C,D,E> f, A a, B b, C c)
Curry a function of arity-4.static <A,B,C,D,E,F$>
F<A,F<B,F<C,F<D,F<E,F$>>>>>Function. curry(F5<A,B,C,D,E,F$> f)
Curry a function of arity-5.static <A,B,C,D,E,F$>
F<B,F<C,F<D,F<E,F$>>>>Function. curry(F5<A,B,C,D,E,F$> f, A a)
Curry a function of arity-5.static <A,B,C,D,E,F$>
F<C,F<D,F<E,F$>>>Function. curry(F5<A,B,C,D,E,F$> f, A a, B b)
Curry a function of arity-5.static <A,B,C,D,E,F$>
F<D,F<E,F$>>Function. curry(F5<A,B,C,D,E,F$> f, A a, B b, C c)
Curry a function of arity-5.static <A,B,C,D,E,F$>
F<E,F$>Function. curry(F5<A,B,C,D,E,F$> f, A a, B b, C c, D d)
Curry a function of arity-5.static <A,B,C,D,E,F$,G>
F<A,F<B,F<C,F<D,F<E,F<F$,G>>>>>>Function. curry(F6<A,B,C,D,E,F$,G> f)
Curry a function of arity-6.static <A,B,C,D,E,F$,G,H>
F<A,F<B,F<C,F<D,F<E,F<F$,F<G,H>>>>>>>Function. curry(F7<A,B,C,D,E,F$,G,H> f)
Curry a function of arity-7.static <A,B,C,D,E,F$,G,H>
F<B,F<C,F<D,F<E,F<F$,F<G,H>>>>>>Function. curry(F7<A,B,C,D,E,F$,G,H> f, A a)
Curry a function of arity-7.static <A,B,C,D,E,F$,G,H>
F<C,F<D,F<E,F<F$,F<G,H>>>>>Function. curry(F7<A,B,C,D,E,F$,G,H> f, A a, B b)
Curry a function of arity-7.static <A,B,C,D,E,F$,G,H>
F<D,F<E,F<F$,F<G,H>>>>Function. curry(F7<A,B,C,D,E,F$,G,H> f, A a, B b, C c)
Curry a function of arity-7.static <A,B,C,D,E,F$,G,H>
F<E,F<F$,F<G,H>>>Function. curry(F7<A,B,C,D,E,F$,G,H> f, A a, B b, C c, D d)
Curry a function of arity-7.static <A,B,C,D,E,F$,G,H>
F<F$,F<G,H>>Function. curry(F7<A,B,C,D,E,F$,G,H> f, A a, B b, C c, D d, E e)
Curry a function of arity-7.static <A,B,C,D,E,F$,G,H>
F<G,H>Function. curry(F7<A,B,C,D,E,F$,G,H> f, A a, B b, C c, D d, E e, F$ f$)
Curry a function of arity-7.static <A,B,C,D,E,F$,G,H,I>
F<A,F<B,F<C,F<D,F<E,F<F$,F<G,F<H,I>>>>>>>>Function. curry(F8<A,B,C,D,E,F$,G,H,I> f)
Curry a function of arity-8.static <A,B,C,D,E,F$,G,H,I>
F<B,F<C,F<D,F<E,F<F$,F<G,F<H,I>>>>>>>Function. curry(F8<A,B,C,D,E,F$,G,H,I> f, A a)
Curry a function of arity-8.static <A,B,C,D,E,F$,G,H,I>
F<C,F<D,F<E,F<F$,F<G,F<H,I>>>>>>Function. curry(F8<A,B,C,D,E,F$,G,H,I> f, A a, B b)
Curry a function of arity-8.static <A,B,C,D,E,F$,G,H,I>
F<D,F<E,F<F$,F<G,F<H,I>>>>>Function. curry(F8<A,B,C,D,E,F$,G,H,I> f, A a, B b, C c)
Curry a function of arity-8.static <A,B,C,D,E,F$,G,H,I>
F<E,F<F$,F<G,F<H,I>>>>Function. curry(F8<A,B,C,D,E,F$,G,H,I> f, A a, B b, C c, D d)
Curry a function of arity-8.static <A,B,C,D,E,F$,G,H,I>
F<F$,F<G,F<H,I>>>Function. curry(F8<A,B,C,D,E,F$,G,H,I> f, A a, B b, C c, D d, E e)
Curry a function of arity-8.static <A,B,C,D,E,F$,G,H,I>
F<G,F<H,I>>Function. curry(F8<A,B,C,D,E,F$,G,H,I> f, A a, B b, C c, D d, E e, F$ f$)
Curry a function of arity-8.static <A,B,C,D,E,F$,G,H,I>
F<H,I>Function. curry(F8<A,B,C,D,E,F$,G,H,I> f, A a, B b, C c, D d, E e, F$ f$, G g)
Curry a function of arity-7.static <A,B>
F<A,P1<B>>P1. curry(F<A,B> f)
Promotes the given function so that it returns its value in a P1.default <C,D>
F<C,D>F. dimap(F<C,A> f, F<B,D> g)
Both map (with g) and contramap (with f) the target function.default <C> F<A,Either<B,C>>
F. eitherLeftK()
Promotes this function so that it returns its result on the left side of an Either.default <C> F<A,Either<C,B>>
F. eitherRightK()
Promotes this function so that it returns its result on the right side of an Either.static <T extends java.lang.Throwable>
F<T,java.lang.String>Bottom. eMessage()
A function that returns thegetMessage
for a throwable.F<A,java.lang.Boolean>
Equal. eq(A a)
Partially applied equality check.default F<A,java.lang.Boolean>
Equal.AltDefinition. equal(A a)
F<A,java.lang.Boolean>
Equal.Definition. equal(A a)
default F<A,java.lang.Boolean>
Ord.Definition. equal(A a)
static <A,B>
F<A,B>Bottom. errorF(java.lang.String s)
Provides a function that throws an error using the given message, ignoring its argument.static <T extends java.lang.Throwable>
F<T,java.lang.String>Bottom. eToString()
A function that returns thetoString
for a throwable.static <A> F<A,Unit>
Effect. f(Effect1<A> e1)
Returns a function for the given effect.default F<B,C>
F2. f(A a)
Partial application.static <A,B,E extends java.lang.Exception>
F<A,Validation<E,B>>Try. f(Try1<A,B,E> t)
Promotes the Try1 to a Validation that returns an Exception on the failure side and its result on the success side.static <A,Z extends java.lang.Exception>
F<A,Validation<Z,Unit>>TryEffect. f(TryEffect1<A,Z> t)
default <C> F<A,Validation<B,C>>
F. failK()
Promotes this function so that it returns its result on the failure side of a Validation.static <A,B,C>
F<F<A,F<B,C>>,F<B,F<A,C>>>Function. flip()
Function argument flipping.static <A,B,C>
F<B,F<A,C>>Function. flip(F<A,F<B,C>> f)
Function argument flipping.static <A,B,C>
F<F2<A,B,C>,F2<B,A,C>>Function. flip2()
Function argument flipping.default F<Tree<A>,B>
F. foldMapTree(Monoid<B> m)
Returns a function that maps this function over a tree and folds it with the given monoid.static <A> F<A,A>
Function. identity()
The identity transformation.F<A,java.lang.Boolean>
Ord. isGreaterThan(A a)
Returns a function that returns true if its argument is greater than than the argument to this method.F<A,java.lang.Boolean>
Ord. isLessThan(A a)
Returns a function that returns true if its argument is less than the argument to this method.default F<A,IterableW<B>>
F. iterableK()
Promotes this function to return its value in an Iterable.static <A,B>
F<B,A>Function. join(F<B,F<B,A>> f)
Joins two arguments of a function of arity-2 into one argument, yielding a function of arity-1.default F<A,P1<B>>
F. lazy()
Promotes this function so that it returns its result in a product-1.static <A,B,C,D>
F<F<D,A>,F<F<D,B>,F<D,C>>>Function. lift(F<A,F<B,C>> f)
Promotes a function of arity-2 to a higher-order function.static <A,B,C>
F<P1<A>,F<P1<B>,P1<C>>>P1. liftM2(F<A,F<B,C>> f)
Promotes a function of arity-2 to a function on P1s.default F<A,List<B>>
F. listK()
Promotes this function so that it returns its result in a List.default <C> F<A,C>
F. map(F<B,C> f)
static <A,B>
F<P1<A>,P1<B>>P1. map_(F<A,B> f)
Promote any function to a transformation between P1s.static <A,B,X>
F<P2<A,B>,P2<X,B>>P2. map1_(F<A,X> f)
Promotes a function so that it maps the first element of a product.static <A,B,X>
F<P2<A,B>,P2<A,X>>P2. map2_(F<B,X> f)
Promotes a function so that it maps the second element of a product.default F<Array<A>,Array<B>>
F. mapArray()
Promotes this function to map over a Array.default F<P2<A,A>,P2<B,B>>
F. mapBoth()
Promotes this function to map over both elements of a pair.default <X> F<Validation<A,X>,Validation<B,X>>
F. mapFail()
Promotes this function to map over the failure side of a Validation.default <C> F<P2<A,C>,P2<B,C>>
F. mapFst()
Promotes this function to map over the first element of a pair.default F<java.lang.Iterable<A>,IterableW<B>>
F. mapIterable()
Promotes this function to map over Iterables.default <X> F<Either<A,X>,Either<B,X>>
F. mapLeft()
Promotes this function to map over the left side of an Either.default F<List<A>,List<B>>
F. mapList()
Promotes this function to map over a List.default F<NonEmptyList<A>,NonEmptyList<B>>
F. mapNel()
Promotes this function to map over a NonEmptyList.default F<Option<A>,Option<B>>
F. mapOption()
Promotes this function to map over an optional value.default F<P1<A>,P1<B>>
F. mapP1()
Promotes this function to map over a product-1.default F<Promise<A>,Promise<B>>
F. mapPromise()
Promotes this function to map over a Promise.default <X> F<Either<X,A>,Either<X,B>>
F. mapRight()
Promotes this function to map over the right side of an Either.default F<Set<A>,Set<B>>
F. mapSet(Ord<B> o)
Promotes this function to map over a Set.default <C> F<P2<C,A>,P2<C,B>>
F. mapSnd()
Promotes this function to map over the second element of a pair.default F<Stream<A>,Stream<B>>
F. mapStream()
Promotes this function to map over a Stream.default <X> F<Validation<X,A>,Validation<X,B>>
F. mapSuccess()
Promotes this function to map over the success side of a Validation.default F<Tree<A>,Tree<B>>
F. mapTree()
Promotes this function to map over a Tree.default F<TreeZipper<A>,TreeZipper<B>>
F. mapTreeZipper()
Promotes this function to map over a TreeZipper.default F<Zipper<A>,Zipper<B>>
F. mapZipper()
Promotes this function to map over a Zipper.default F<A,NonEmptyList<B>>
F. nelK()
Promotes this function to return its value in a NonEmptyList.static <A,B>
F<A,Option<B>>Function. nullable(F<A,B> f)
Return a function that inspects the argument of the given function for anull
value and if so, does not apply the value, instead returning an empty optional value.default <C> F<F<C,A>,F<C,B>>
F. o()
First-class function compositiondefault <C> F<C,B>
F. o(F<C,A> g)
Function compositiondefault <C> F<F<B,F<B,C>>,F<A,F<A,C>>>
F. on()
Applies this function over the arguments of another function.default <C> F<A,F<A,C>>
F. on(F<B,F<B,C>> g)
Applies this function over the arguments of another function.static <A,B,C>
F<B,F<B,C>>Function. on(F<A,F<A,C>> a, F<B,A> f)
Applies a given function over the arguments of another function of arity-2.default F<Validation<B,A>,B>
F. onFail()
Returns a function that returns the failure side of a given Validation, or this function applied to the success side.default F<Either<B,A>,B>
F. onLeft()
Returns a function that returns the left side of a given Either, or this function applied to the right side.default F<Either<A,B>,B>
F. onRight()
Returns a function that returns the right side of a given Either, or this function applied to the left side.default F<Validation<A,B>,B>
F. onSuccess()
Returns a function that returns the success side of a given Validation, or this function applied to the failure side.default F<A,Option<B>>
F. optionK()
Promotes this function so that it returns its result in an Option.static <A> F<A,P1<A>>
P. p1()
A function that puts an element in a product-1.static <A,B>
F<A,F<B,P2<A,B>>>P. p2()
A function that puts an element in a product-2.static <A,B,C>
F<A,F<B,F<C,P3<A,B,C>>>>P. p3()
A function that puts elements in a product-3.static <A,B,C,D>
F<A,F<B,F<C,F<D,P4<A,B,C,D>>>>>P. p4()
A function that puts an element in a product-4.static <A,B,C,D,E>
F<A,F<B,F<C,F<D,F<E,P5<A,B,C,D,E>>>>>>P. p5()
A function that puts an element in a product-5.static <A,B,C,D,E,F$>
F<A,F<B,F<C,F<D,F<E,F<F$,P6<A,B,C,D,E,F$>>>>>>>P. p6()
A function that puts an element in a product-6.static <A,B,C,D,E,F$,G>
F<A,F<B,F<C,F<D,F<E,F<F$,F<G,P7<A,B,C,D,E,F$,G>>>>>>>>P. p7()
A function that puts an element in a product-7.static <A,B,C,D,E,F$,G,H>
F<A,F<B,F<C,F<D,F<E,F<F$,F<G,F<H,P8<A,B,C,D,E,F$,G,H>>>>>>>>>P. p8()
A function that puts an element in a product-8.static <A,B,C>
F<A,C>Function. partialApply2(F<A,F<B,C>> f, B b)
Partial application of the second argument to the supplied function to get a function of typeA -> C
.static <A,B,C,D>
F<A,F<B,D>>Function. partialApply3(F<A,F<B,F<C,D>>> f, C c)
Partial application of the third argument to the supplied function to get a function of typeA -> B -> D
.static <A,B,C,D,E>
F<A,F<B,F<C,E>>>Function. partialApply4(F<A,F<B,F<C,F<D,E>>>> f, D d)
Partial application of the fourth argument to the supplied function to get a function of typeA -> B -> C -> E
.static <A,B,C,D,E,F$>
F<A,F<B,F<C,F<D,F$>>>>Function. partialApply5(F<A,F<B,F<C,F<D,F<E,F$>>>>> f, E e)
Partial application of the fifth argument to the supplied function to get a function of typeA -> B -> C -> D -> F$
.static <A,B,C,D,E,F$,G>
F<A,F<B,F<C,F<D,F<E,G>>>>>Function. partialApply6(F<A,F<B,F<C,F<D,F<E,F<F$,G>>>>>> f, F$ f$)
Partial application of the sixth argument to the supplied function to get a function of typeA -> B -> C -> D -> E -> G
.static <A,B,C,D,E,F$,G,H>
F<A,F<B,F<C,F<D,F<E,F<F$,H>>>>>>Function. partialApply7(F<A,F<B,F<C,F<D,F<E,F<F$,F<G,H>>>>>>> f, G g)
Partial application of the seventh argument to the supplied function to get a function of typeA -> B -> C -> D -> E -> F$ -> H
.static <A,B,C,D,E,F$,G,H,I>
F<A,F<B,F<C,F<D,F<E,F<F$,F<G,I>>>>>>>Function. partialApply8(F<A,F<B,F<C,F<D,F<E,F<F$,F<G,F<H,I>>>>>>>> f, H h)
Partial application of the eigth argument to the supplied function to get a function of typeA -> B -> C -> D -> E -> F$ -> G -> I
.F<A,A>
Monoid.AltDefinition. prepend(A a)
default F<A,A>
Ord.AltDefinition. prepend(A a1)
default F<A,A>
Ord.Definition. prepend(A a1)
F<A,A>
Semigroup.AltDefinition. prepend(A a)
default F<A,A>
Semigroup.Definition. prepend(A a)
default F<A,Promise<B>>
F. promiseK(Strategy<Unit> s)
Promotes this function to a concurrent function that returns a Promise of a value.static <A> F<List<P1<A>>,P1<List<A>>>
P1. sequenceList()
A first-class version of the sequence method for lists of P1s.default F<A,Set<B>>
F. setK(Ord<B> o)
Promotes this function to return its value in a Set.F<A,Stream<java.lang.Character>>
Show. show_()
Returns the transformation equivalent to this show.F<A,java.lang.String>
Show. showS_()
Returns the transformation equivalent to this show.static <A,B,C,D>
F<P2<A,B>,P2<C,D>>P2. split_(F<A,C> f, F<B,D> g)
A first-class version of the split function.default F<A,Stream<B>>
F. streamK()
Promotes this function so that it returns its result in a Stream.static <A> F<Stream<A>,Stream<java.lang.Character>>
Show. streamShow_(Show<A> sa, java.lang.String start, java.lang.String sep, java.lang.String end)
Returns the transformation equivalent for the stream show.default <C> F<A,Validation<C,B>>
F. successK()
Promotes this function so that it returns its result on the success side of an Validation.F<A,F<A,A>>
Monoid. sum()
Returns a function that sums according to this monoid.F<A,A>
Monoid. sum(A a1)
Returns a function that sums the given value according to this monoid.F<A,F<A,A>>
Semigroup. sum()
Returns a function that sums according to this semigroup.F<A,A>
Semigroup. sum(A a1)
Returns a function that sums the given value according to this semigroup.F<List<A>,A>
Monoid. sumLeft()
Returns a function that sums the given values with left-fold.F<Stream<A>,A>
Monoid. sumLeftS()
Returns a function that sums the given values with left-fold.F<List<A>,A>
Monoid. sumRight()
Returns a function that sums the given values with right-fold.static <A,B>
F<P2<A,B>,P2<B,A>>P2. swap_()
Returns a curried form ofP2.swap()
.default F<A,Tree<B>>
F. treeK()
Promotes this function to return its value in a Tree.default F<A,TreeZipper<B>>
F. treeZipperK()
Promotes this function to return its value in a TreeZipper.default F<P2<A,B>,C>
F2. tuple()
Uncurries this function to a function on tuples.static <A,B,C>
F<P2<A,B>,C>P2. tuple(F<A,F<B,C>> f)
Transforms a curried function of arity-2 to a function of a product-2static <A,B,C>
F<P2<A,B>,C>P2. tuple(F2<A,B,C> f)
Transforms an uncurried function of arity-2 to a function of a product-2static <A,B,C>
F<F<A,F<B,C>>,F2<A,B,C>>Function. uncurryF2()
Uncurry a function of arity-2.static <A,B,C,D>
F<F<A,F<B,F<C,D>>>,F3<A,B,C,D>>Function. uncurryF3()
Uncurry a function of arity-3.static <A,B,C,D,E>
F<F<A,F<B,F<C,F<D,E>>>>,F4<A,B,C,D,E>>Function. uncurryF4()
Uncurry a function of arity-4.static <A,B,C,D,E,F$>
F<F<A,F<B,F<C,F<D,F<E,F$>>>>>,F5<A,B,C,D,E,F$>>Function. uncurryF5()
Uncurry a function of arity-5.static <A,B,C,D,E,F$,G>
F<F<A,F<B,F<C,F<D,F<E,F<F$,G>>>>>>,F6<A,B,C,D,E,F$,G>>Function. uncurryF6()
Uncurry a function of arity-6.static <A,B,C,D,E,F$,G,H>
F<F<A,F<B,F<C,F<D,F<E,F<F$,F<G,H>>>>>>>,F7<A,B,C,D,E,F$,G,H>>Function. uncurryF7()
Uncurry a function of arity-7.static <A,B,C,D,E,F$,G,H,I>
F<F<A,F<B,F<C,F<D,F<E,F<F$,F<G,F<H,I>>>>>>>>,F8<A,B,C,D,E,F$,G,H,I>>Function. uncurryF8()
Uncurry a function of arity-8.static <C,A extends C,B,D extends B>
F<F<C,D>,F<A,B>>Function. vary()
Simultaneously covaries and contravaries a function.static <A,B>
F<A,B>Function. vary(F<? super A,? extends B> f)
Simultaneously covaries and contravaries a function.default F<A,Zipper<B>>
F. zipperK()
Promotes this function to return its value in a Zipper.Methods in fj that return types with arguments of type F Modifier and Type Method Description default <C> F<F<B,C>,F<A,C>>
F. andThen()
First-class composition flipped.default <C> F<F<B,C>,F<A,C>>
F. andThen()
First-class composition flipped.static <A,B,C>
F<F<A,B>,F<F<B,C>,F<A,C>>>Function. andThen()
Function composition flipped.static <A,B,C>
F<F<A,B>,F<F<B,C>,F<A,C>>>Function. andThen()
Function composition flipped.static <A,B,C>
F<F<A,B>,F<F<B,C>,F<A,C>>>Function. andThen()
Function composition flipped.static <A,B,C>
F<F<A,B>,F<F<B,C>,F<A,C>>>Function. andThen()
Function composition flipped.default <C> F<F<A,F<B,C>>,F<A,C>>
F. apply()
First-class function application in an environment.default <C> F<F<A,F<B,C>>,F<A,C>>
F. apply()
First-class function application in an environment.default <C> F<F<A,F<B,C>>,F<A,C>>
F. apply()
First-class function application in an environment.static <A,B>
F<F<A,B>,B>Function. apply(A a)
Function application with the arguments flipped.default <C> F<F<B,F<A,C>>,F<A,C>>
F. bind()
First-class function binding.default <C> F<F<B,F<A,C>>,F<A,C>>
F. bind()
First-class function binding.default <C> F<F<B,F<A,C>>,F<A,C>>
F. bind()
First-class function binding.F<A,F<A,Ordering>>
Ord. compare()
First-class ordering.static <A,B,C>
F<F<B,C>,F<F<A,B>,F<A,C>>>Function. compose()
Function composition.static <A,B,C>
F<F<B,C>,F<F<A,B>,F<A,C>>>Function. compose()
Function composition.static <A,B,C>
F<F<B,C>,F<F<A,B>,F<A,C>>>Function. compose()
Function composition.static <A,B,C>
F<F<B,C>,F<F<A,B>,F<A,C>>>Function. compose()
Function composition.static <A,B,C,D>
F<A,F<B,D>>Function. compose2(F<C,D> f, F<A,F<B,C>> g)
Function composition.static <A,B>
F<B,F<A,B>>Function. constant()
Returns a function that given an argument, returns a function that ignores its argument.default F<A,F<B,C>>
F2. curry()
Curries this wrapped function to a wrapped function of arity-1 that returns another wrapped function.static <A,B,C>
F<A,F<B,C>>Function. curry(F2<A,B,C> f)
Curry a function of arity-2.static <A,B,C,D>
F<A,F<B,F<C,D>>>Function. curry(F3<A,B,C,D> f)
Curry a function of arity-3.static <A,B,C,D>
F<A,F<B,F<C,D>>>Function. curry(F3<A,B,C,D> f)
Curry a function of arity-3.static <A,B,C,D>
F<B,F<C,D>>Function. curry(F3<A,B,C,D> f, A a)
Curry a function of arity-3.static <A,B,C,D,E>
F<A,F<B,F<C,F<D,E>>>>Function. curry(F4<A,B,C,D,E> f)
Curry a function of arity-4.static <A,B,C,D,E>
F<A,F<B,F<C,F<D,E>>>>Function. curry(F4<A,B,C,D,E> f)
Curry a function of arity-4.static <A,B,C,D,E>
F<A,F<B,F<C,F<D,E>>>>Function. curry(F4<A,B,C,D,E> f)
Curry a function of arity-4.static <A,B,C,D,E>
F<B,F<C,F<D,E>>>Function. curry(F4<A,B,C,D,E> f, A a)
Curry a function of arity-4.static <A,B,C,D,E>
F<B,F<C,F<D,E>>>Function. curry(F4<A,B,C,D,E> f, A a)
Curry a function of arity-4.static <A,B,C,D,E>
F<C,F<D,E>>Function. curry(F4<A,B,C,D,E> f, A a, B b)
Curry a function of arity-4.static <A,B,C,D,E,F$>
F<A,F<B,F<C,F<D,F<E,F$>>>>>Function. curry(F5<A,B,C,D,E,F$> f)
Curry a function of arity-5.static <A,B,C,D,E,F$>
F<A,F<B,F<C,F<D,F<E,F$>>>>>Function. curry(F5<A,B,C,D,E,F$> f)
Curry a function of arity-5.static <A,B,C,D,E,F$>
F<A,F<B,F<C,F<D,F<E,F$>>>>>Function. curry(F5<A,B,C,D,E,F$> f)
Curry a function of arity-5.static <A,B,C,D,E,F$>
F<A,F<B,F<C,F<D,F<E,F$>>>>>Function. curry(F5<A,B,C,D,E,F$> f)
Curry a function of arity-5.static <A,B,C,D,E,F$>
F<B,F<C,F<D,F<E,F$>>>>Function. curry(F5<A,B,C,D,E,F$> f, A a)
Curry a function of arity-5.static <A,B,C,D,E,F$>
F<B,F<C,F<D,F<E,F$>>>>Function. curry(F5<A,B,C,D,E,F$> f, A a)
Curry a function of arity-5.static <A,B,C,D,E,F$>
F<B,F<C,F<D,F<E,F$>>>>Function. curry(F5<A,B,C,D,E,F$> f, A a)
Curry a function of arity-5.static <A,B,C,D,E,F$>
F<C,F<D,F<E,F$>>>Function. curry(F5<A,B,C,D,E,F$> f, A a, B b)
Curry a function of arity-5.static <A,B,C,D,E,F$>
F<C,F<D,F<E,F$>>>Function. curry(F5<A,B,C,D,E,F$> f, A a, B b)
Curry a function of arity-5.static <A,B,C,D,E,F$>
F<D,F<E,F$>>Function. curry(F5<A,B,C,D,E,F$> f, A a, B b, C c)
Curry a function of arity-5.static <A,B,C,D,E,F$,G>
F<A,F<B,F<C,F<D,F<E,F<F$,G>>>>>>Function. curry(F6<A,B,C,D,E,F$,G> f)
Curry a function of arity-6.static <A,B,C,D,E,F$,G>
F<A,F<B,F<C,F<D,F<E,F<F$,G>>>>>>Function. curry(F6<A,B,C,D,E,F$,G> f)
Curry a function of arity-6.static <A,B,C,D,E,F$,G>
F<A,F<B,F<C,F<D,F<E,F<F$,G>>>>>>Function. curry(F6<A,B,C,D,E,F$,G> f)
Curry a function of arity-6.static <A,B,C,D,E,F$,G>
F<A,F<B,F<C,F<D,F<E,F<F$,G>>>>>>Function. curry(F6<A,B,C,D,E,F$,G> f)
Curry a function of arity-6.static <A,B,C,D,E,F$,G>
F<A,F<B,F<C,F<D,F<E,F<F$,G>>>>>>Function. curry(F6<A,B,C,D,E,F$,G> f)
Curry a function of arity-6.static <A,B,C,D,E,F$,G,H>
F<A,F<B,F<C,F<D,F<E,F<F$,F<G,H>>>>>>>Function. curry(F7<A,B,C,D,E,F$,G,H> f)
Curry a function of arity-7.static <A,B,C,D,E,F$,G,H>
F<A,F<B,F<C,F<D,F<E,F<F$,F<G,H>>>>>>>Function. curry(F7<A,B,C,D,E,F$,G,H> f)
Curry a function of arity-7.static <A,B,C,D,E,F$,G,H>
F<A,F<B,F<C,F<D,F<E,F<F$,F<G,H>>>>>>>Function. curry(F7<A,B,C,D,E,F$,G,H> f)
Curry a function of arity-7.static <A,B,C,D,E,F$,G,H>
F<A,F<B,F<C,F<D,F<E,F<F$,F<G,H>>>>>>>Function. curry(F7<A,B,C,D,E,F$,G,H> f)
Curry a function of arity-7.static <A,B,C,D,E,F$,G,H>
F<A,F<B,F<C,F<D,F<E,F<F$,F<G,H>>>>>>>Function. curry(F7<A,B,C,D,E,F$,G,H> f)
Curry a function of arity-7.static <A,B,C,D,E,F$,G,H>
F<A,F<B,F<C,F<D,F<E,F<F$,F<G,H>>>>>>>Function. curry(F7<A,B,C,D,E,F$,G,H> f)
Curry a function of arity-7.static <A,B,C,D,E,F$,G,H>
F<B,F<C,F<D,F<E,F<F$,F<G,H>>>>>>Function. curry(F7<A,B,C,D,E,F$,G,H> f, A a)
Curry a function of arity-7.static <A,B,C,D,E,F$,G,H>
F<B,F<C,F<D,F<E,F<F$,F<G,H>>>>>>Function. curry(F7<A,B,C,D,E,F$,G,H> f, A a)
Curry a function of arity-7.static <A,B,C,D,E,F$,G,H>
F<B,F<C,F<D,F<E,F<F$,F<G,H>>>>>>Function. curry(F7<A,B,C,D,E,F$,G,H> f, A a)
Curry a function of arity-7.static <A,B,C,D,E,F$,G,H>
F<B,F<C,F<D,F<E,F<F$,F<G,H>>>>>>Function. curry(F7<A,B,C,D,E,F$,G,H> f, A a)
Curry a function of arity-7.static <A,B,C,D,E,F$,G,H>
F<B,F<C,F<D,F<E,F<F$,F<G,H>>>>>>Function. curry(F7<A,B,C,D,E,F$,G,H> f, A a)
Curry a function of arity-7.static <A,B,C,D,E,F$,G,H>
F<C,F<D,F<E,F<F$,F<G,H>>>>>Function. curry(F7<A,B,C,D,E,F$,G,H> f, A a, B b)
Curry a function of arity-7.static <A,B,C,D,E,F$,G,H>
F<C,F<D,F<E,F<F$,F<G,H>>>>>Function. curry(F7<A,B,C,D,E,F$,G,H> f, A a, B b)
Curry a function of arity-7.static <A,B,C,D,E,F$,G,H>
F<C,F<D,F<E,F<F$,F<G,H>>>>>Function. curry(F7<A,B,C,D,E,F$,G,H> f, A a, B b)
Curry a function of arity-7.static <A,B,C,D,E,F$,G,H>
F<C,F<D,F<E,F<F$,F<G,H>>>>>Function. curry(F7<A,B,C,D,E,F$,G,H> f, A a, B b)
Curry a function of arity-7.static <A,B,C,D,E,F$,G,H>
F<D,F<E,F<F$,F<G,H>>>>Function. curry(F7<A,B,C,D,E,F$,G,H> f, A a, B b, C c)
Curry a function of arity-7.static <A,B,C,D,E,F$,G,H>
F<D,F<E,F<F$,F<G,H>>>>Function. curry(F7<A,B,C,D,E,F$,G,H> f, A a, B b, C c)
Curry a function of arity-7.static <A,B,C,D,E,F$,G,H>
F<D,F<E,F<F$,F<G,H>>>>Function. curry(F7<A,B,C,D,E,F$,G,H> f, A a, B b, C c)
Curry a function of arity-7.static <A,B,C,D,E,F$,G,H>
F<E,F<F$,F<G,H>>>Function. curry(F7<A,B,C,D,E,F$,G,H> f, A a, B b, C c, D d)
Curry a function of arity-7.static <A,B,C,D,E,F$,G,H>
F<E,F<F$,F<G,H>>>Function. curry(F7<A,B,C,D,E,F$,G,H> f, A a, B b, C c, D d)
Curry a function of arity-7.static <A,B,C,D,E,F$,G,H>
F<F$,F<G,H>>Function. curry(F7<A,B,C,D,E,F$,G,H> f, A a, B b, C c, D d, E e)
Curry a function of arity-7.static <A,B,C,D,E,F$,G,H,I>
F<A,F<B,F<C,F<D,F<E,F<F$,F<G,F<H,I>>>>>>>>Function. curry(F8<A,B,C,D,E,F$,G,H,I> f)
Curry a function of arity-8.static <A,B,C,D,E,F$,G,H,I>
F<A,F<B,F<C,F<D,F<E,F<F$,F<G,F<H,I>>>>>>>>Function. curry(F8<A,B,C,D,E,F$,G,H,I> f)
Curry a function of arity-8.static <A,B,C,D,E,F$,G,H,I>
F<A,F<B,F<C,F<D,F<E,F<F$,F<G,F<H,I>>>>>>>>Function. curry(F8<A,B,C,D,E,F$,G,H,I> f)
Curry a function of arity-8.static <A,B,C,D,E,F$,G,H,I>
F<A,F<B,F<C,F<D,F<E,F<F$,F<G,F<H,I>>>>>>>>Function. curry(F8<A,B,C,D,E,F$,G,H,I> f)
Curry a function of arity-8.static <A,B,C,D,E,F$,G,H,I>
F<A,F<B,F<C,F<D,F<E,F<F$,F<G,F<H,I>>>>>>>>Function. curry(F8<A,B,C,D,E,F$,G,H,I> f)
Curry a function of arity-8.static <A,B,C,D,E,F$,G,H,I>
F<A,F<B,F<C,F<D,F<E,F<F$,F<G,F<H,I>>>>>>>>Function. curry(F8<A,B,C,D,E,F$,G,H,I> f)
Curry a function of arity-8.static <A,B,C,D,E,F$,G,H,I>
F<A,F<B,F<C,F<D,F<E,F<F$,F<G,F<H,I>>>>>>>>Function. curry(F8<A,B,C,D,E,F$,G,H,I> f)
Curry a function of arity-8.static <A,B,C,D,E,F$,G,H,I>
F<B,F<C,F<D,F<E,F<F$,F<G,F<H,I>>>>>>>Function. curry(F8<A,B,C,D,E,F$,G,H,I> f, A a)
Curry a function of arity-8.static <A,B,C,D,E,F$,G,H,I>
F<B,F<C,F<D,F<E,F<F$,F<G,F<H,I>>>>>>>Function. curry(F8<A,B,C,D,E,F$,G,H,I> f, A a)
Curry a function of arity-8.static <A,B,C,D,E,F$,G,H,I>
F<B,F<C,F<D,F<E,F<F$,F<G,F<H,I>>>>>>>Function. curry(F8<A,B,C,D,E,F$,G,H,I> f, A a)
Curry a function of arity-8.static <A,B,C,D,E,F$,G,H,I>
F<B,F<C,F<D,F<E,F<F$,F<G,F<H,I>>>>>>>Function. curry(F8<A,B,C,D,E,F$,G,H,I> f, A a)
Curry a function of arity-8.static <A,B,C,D,E,F$,G,H,I>
F<B,F<C,F<D,F<E,F<F$,F<G,F<H,I>>>>>>>Function. curry(F8<A,B,C,D,E,F$,G,H,I> f, A a)
Curry a function of arity-8.static <A,B,C,D,E,F$,G,H,I>
F<B,F<C,F<D,F<E,F<F$,F<G,F<H,I>>>>>>>Function. curry(F8<A,B,C,D,E,F$,G,H,I> f, A a)
Curry a function of arity-8.static <A,B,C,D,E,F$,G,H,I>
F<C,F<D,F<E,F<F$,F<G,F<H,I>>>>>>Function. curry(F8<A,B,C,D,E,F$,G,H,I> f, A a, B b)
Curry a function of arity-8.static <A,B,C,D,E,F$,G,H,I>
F<C,F<D,F<E,F<F$,F<G,F<H,I>>>>>>Function. curry(F8<A,B,C,D,E,F$,G,H,I> f, A a, B b)
Curry a function of arity-8.static <A,B,C,D,E,F$,G,H,I>
F<C,F<D,F<E,F<F$,F<G,F<H,I>>>>>>Function. curry(F8<A,B,C,D,E,F$,G,H,I> f, A a, B b)
Curry a function of arity-8.static <A,B,C,D,E,F$,G,H,I>
F<C,F<D,F<E,F<F$,F<G,F<H,I>>>>>>Function. curry(F8<A,B,C,D,E,F$,G,H,I> f, A a, B b)
Curry a function of arity-8.static <A,B,C,D,E,F$,G,H,I>
F<C,F<D,F<E,F<F$,F<G,F<H,I>>>>>>Function. curry(F8<A,B,C,D,E,F$,G,H,I> f, A a, B b)
Curry a function of arity-8.static <A,B,C,D,E,F$,G,H,I>
F<D,F<E,F<F$,F<G,F<H,I>>>>>Function. curry(F8<A,B,C,D,E,F$,G,H,I> f, A a, B b, C c)
Curry a function of arity-8.static <A,B,C,D,E,F$,G,H,I>
F<D,F<E,F<F$,F<G,F<H,I>>>>>Function. curry(F8<A,B,C,D,E,F$,G,H,I> f, A a, B b, C c)
Curry a function of arity-8.static <A,B,C,D,E,F$,G,H,I>
F<D,F<E,F<F$,F<G,F<H,I>>>>>Function. curry(F8<A,B,C,D,E,F$,G,H,I> f, A a, B b, C c)
Curry a function of arity-8.static <A,B,C,D,E,F$,G,H,I>
F<D,F<E,F<F$,F<G,F<H,I>>>>>Function. curry(F8<A,B,C,D,E,F$,G,H,I> f, A a, B b, C c)
Curry a function of arity-8.static <A,B,C,D,E,F$,G,H,I>
F<E,F<F$,F<G,F<H,I>>>>Function. curry(F8<A,B,C,D,E,F$,G,H,I> f, A a, B b, C c, D d)
Curry a function of arity-8.static <A,B,C,D,E,F$,G,H,I>
F<E,F<F$,F<G,F<H,I>>>>Function. curry(F8<A,B,C,D,E,F$,G,H,I> f, A a, B b, C c, D d)
Curry a function of arity-8.static <A,B,C,D,E,F$,G,H,I>
F<E,F<F$,F<G,F<H,I>>>>Function. curry(F8<A,B,C,D,E,F$,G,H,I> f, A a, B b, C c, D d)
Curry a function of arity-8.static <A,B,C,D,E,F$,G,H,I>
F<F$,F<G,F<H,I>>>Function. curry(F8<A,B,C,D,E,F$,G,H,I> f, A a, B b, C c, D d, E e)
Curry a function of arity-8.static <A,B,C,D,E,F$,G,H,I>
F<F$,F<G,F<H,I>>>Function. curry(F8<A,B,C,D,E,F$,G,H,I> f, A a, B b, C c, D d, E e)
Curry a function of arity-8.static <A,B,C,D,E,F$,G,H,I>
F<G,F<H,I>>Function. curry(F8<A,B,C,D,E,F$,G,H,I> f, A a, B b, C c, D d, E e, F$ f$)
Curry a function of arity-8.static <A,B,C>
F<F<A,F<B,C>>,F<B,F<A,C>>>Function. flip()
Function argument flipping.static <A,B,C>
F<F<A,F<B,C>>,F<B,F<A,C>>>Function. flip()
Function argument flipping.static <A,B,C>
F<F<A,F<B,C>>,F<B,F<A,C>>>Function. flip()
Function argument flipping.static <A,B,C>
F<F<A,F<B,C>>,F<B,F<A,C>>>Function. flip()
Function argument flipping.static <A,B,C>
F<B,F<A,C>>Function. flip(F<A,F<B,C>> f)
Function argument flipping.static <A,B>
Monoid<F<A,B>>Monoid. functionMonoid(Monoid<B> mb)
A monoid for functions.static <A,B>
Semigroup<F<A,B>>Semigroup. functionSemigroup(Semigroup<B> sb)
A semigroup for functions.static <A,B,C,D>
F<F<D,A>,F<F<D,B>,F<D,C>>>Function. lift(F<A,F<B,C>> f)
Promotes a function of arity-2 to a higher-order function.static <A,B,C,D>
F<F<D,A>,F<F<D,B>,F<D,C>>>Function. lift(F<A,F<B,C>> f)
Promotes a function of arity-2 to a higher-order function.static <A,B,C,D>
F<F<D,A>,F<F<D,B>,F<D,C>>>Function. lift(F<A,F<B,C>> f)
Promotes a function of arity-2 to a higher-order function.static <A,B,C,D>
F<F<D,A>,F<F<D,B>,F<D,C>>>Function. lift(F<A,F<B,C>> f)
Promotes a function of arity-2 to a higher-order function.static <A,B,C>
F<P1<A>,F<P1<B>,P1<C>>>P1. liftM2(F<A,F<B,C>> f)
Promotes a function of arity-2 to a function on P1s.default <C> F<F<C,A>,F<C,B>>
F. o()
First-class function compositiondefault <C> F<F<C,A>,F<C,B>>
F. o()
First-class function compositiondefault <C> F<F<B,F<B,C>>,F<A,F<A,C>>>
F. on()
Applies this function over the arguments of another function.default <C> F<F<B,F<B,C>>,F<A,F<A,C>>>
F. on()
Applies this function over the arguments of another function.default <C> F<F<B,F<B,C>>,F<A,F<A,C>>>
F. on()
Applies this function over the arguments of another function.default <C> F<F<B,F<B,C>>,F<A,F<A,C>>>
F. on()
Applies this function over the arguments of another function.default <C> F<A,F<A,C>>
F. on(F<B,F<B,C>> g)
Applies this function over the arguments of another function.static <A,B,C>
F<B,F<B,C>>Function. on(F<A,F<A,C>> a, F<B,A> f)
Applies a given function over the arguments of another function of arity-2.static <A,B>
F<A,F<B,P2<A,B>>>P. p2()
A function that puts an element in a product-2.static <A,B,C>
F<A,F<B,F<C,P3<A,B,C>>>>P. p3()
A function that puts elements in a product-3.static <A,B,C>
F<A,F<B,F<C,P3<A,B,C>>>>P. p3()
A function that puts elements in a product-3.static <A,B,C,D>
F<A,F<B,F<C,F<D,P4<A,B,C,D>>>>>P. p4()
A function that puts an element in a product-4.static <A,B,C,D>
F<A,F<B,F<C,F<D,P4<A,B,C,D>>>>>P. p4()
A function that puts an element in a product-4.static <A,B,C,D>
F<A,F<B,F<C,F<D,P4<A,B,C,D>>>>>P. p4()
A function that puts an element in a product-4.static <A,B,C,D,E>
F<A,F<B,F<C,F<D,F<E,P5<A,B,C,D,E>>>>>>P. p5()
A function that puts an element in a product-5.static <A,B,C,D,E>
F<A,F<B,F<C,F<D,F<E,P5<A,B,C,D,E>>>>>>P. p5()
A function that puts an element in a product-5.static <A,B,C,D,E>
F<A,F<B,F<C,F<D,F<E,P5<A,B,C,D,E>>>>>>P. p5()
A function that puts an element in a product-5.static <A,B,C,D,E>
F<A,F<B,F<C,F<D,F<E,P5<A,B,C,D,E>>>>>>P. p5()
A function that puts an element in a product-5.static <A,B,C,D,E,F$>
F<A,F<B,F<C,F<D,F<E,F<F$,P6<A,B,C,D,E,F$>>>>>>>P. p6()
A function that puts an element in a product-6.static <A,B,C,D,E,F$>
F<A,F<B,F<C,F<D,F<E,F<F$,P6<A,B,C,D,E,F$>>>>>>>P. p6()
A function that puts an element in a product-6.static <A,B,C,D,E,F$>
F<A,F<B,F<C,F<D,F<E,F<F$,P6<A,B,C,D,E,F$>>>>>>>P. p6()
A function that puts an element in a product-6.static <A,B,C,D,E,F$>
F<A,F<B,F<C,F<D,F<E,F<F$,P6<A,B,C,D,E,F$>>>>>>>P. p6()
A function that puts an element in a product-6.static <A,B,C,D,E,F$>
F<A,F<B,F<C,F<D,F<E,F<F$,P6<A,B,C,D,E,F$>>>>>>>P. p6()
A function that puts an element in a product-6.static <A,B,C,D,E,F$,G>
F<A,F<B,F<C,F<D,F<E,F<F$,F<G,P7<A,B,C,D,E,F$,G>>>>>>>>P. p7()
A function that puts an element in a product-7.static <A,B,C,D,E,F$,G>
F<A,F<B,F<C,F<D,F<E,F<F$,F<G,P7<A,B,C,D,E,F$,G>>>>>>>>P. p7()
A function that puts an element in a product-7.static <A,B,C,D,E,F$,G>
F<A,F<B,F<C,F<D,F<E,F<F$,F<G,P7<A,B,C,D,E,F$,G>>>>>>>>P. p7()
A function that puts an element in a product-7.static <A,B,C,D,E,F$,G>
F<A,F<B,F<C,F<D,F<E,F<F$,F<G,P7<A,B,C,D,E,F$,G>>>>>>>>P. p7()
A function that puts an element in a product-7.static <A,B,C,D,E,F$,G>
F<A,F<B,F<C,F<D,F<E,F<F$,F<G,P7<A,B,C,D,E,F$,G>>>>>>>>P. p7()
A function that puts an element in a product-7.static <A,B,C,D,E,F$,G>
F<A,F<B,F<C,F<D,F<E,F<F$,F<G,P7<A,B,C,D,E,F$,G>>>>>>>>P. p7()
A function that puts an element in a product-7.static <A,B,C,D,E,F$,G,H>
F<A,F<B,F<C,F<D,F<E,F<F$,F<G,F<H,P8<A,B,C,D,E,F$,G,H>>>>>>>>>P. p8()
A function that puts an element in a product-8.static <A,B,C,D,E,F$,G,H>
F<A,F<B,F<C,F<D,F<E,F<F$,F<G,F<H,P8<A,B,C,D,E,F$,G,H>>>>>>>>>P. p8()
A function that puts an element in a product-8.static <A,B,C,D,E,F$,G,H>
F<A,F<B,F<C,F<D,F<E,F<F$,F<G,F<H,P8<A,B,C,D,E,F$,G,H>>>>>>>>>P. p8()
A function that puts an element in a product-8.static <A,B,C,D,E,F$,G,H>
F<A,F<B,F<C,F<D,F<E,F<F$,F<G,F<H,P8<A,B,C,D,E,F$,G,H>>>>>>>>>P. p8()
A function that puts an element in a product-8.static <A,B,C,D,E,F$,G,H>
F<A,F<B,F<C,F<D,F<E,F<F$,F<G,F<H,P8<A,B,C,D,E,F$,G,H>>>>>>>>>P. p8()
A function that puts an element in a product-8.static <A,B,C,D,E,F$,G,H>
F<A,F<B,F<C,F<D,F<E,F<F$,F<G,F<H,P8<A,B,C,D,E,F$,G,H>>>>>>>>>P. p8()
A function that puts an element in a product-8.static <A,B,C,D,E,F$,G,H>
F<A,F<B,F<C,F<D,F<E,F<F$,F<G,F<H,P8<A,B,C,D,E,F$,G,H>>>>>>>>>P. p8()
A function that puts an element in a product-8.static <A,B,C,D>
F<A,F<B,D>>Function. partialApply3(F<A,F<B,F<C,D>>> f, C c)
Partial application of the third argument to the supplied function to get a function of typeA -> B -> D
.static <A,B,C,D,E>
F<A,F<B,F<C,E>>>Function. partialApply4(F<A,F<B,F<C,F<D,E>>>> f, D d)
Partial application of the fourth argument to the supplied function to get a function of typeA -> B -> C -> E
.static <A,B,C,D,E>
F<A,F<B,F<C,E>>>Function. partialApply4(F<A,F<B,F<C,F<D,E>>>> f, D d)
Partial application of the fourth argument to the supplied function to get a function of typeA -> B -> C -> E
.static <A,B,C,D,E,F$>
F<A,F<B,F<C,F<D,F$>>>>Function. partialApply5(F<A,F<B,F<C,F<D,F<E,F$>>>>> f, E e)
Partial application of the fifth argument to the supplied function to get a function of typeA -> B -> C -> D -> F$
.static <A,B,C,D,E,F$>
F<A,F<B,F<C,F<D,F$>>>>Function. partialApply5(F<A,F<B,F<C,F<D,F<E,F$>>>>> f, E e)
Partial application of the fifth argument to the supplied function to get a function of typeA -> B -> C -> D -> F$
.static <A,B,C,D,E,F$>
F<A,F<B,F<C,F<D,F$>>>>Function. partialApply5(F<A,F<B,F<C,F<D,F<E,F$>>>>> f, E e)
Partial application of the fifth argument to the supplied function to get a function of typeA -> B -> C -> D -> F$
.static <A,B,C,D,E,F$,G>
F<A,F<B,F<C,F<D,F<E,G>>>>>Function. partialApply6(F<A,F<B,F<C,F<D,F<E,F<F$,G>>>>>> f, F$ f$)
Partial application of the sixth argument to the supplied function to get a function of typeA -> B -> C -> D -> E -> G
.static <A,B,C,D,E,F$,G>
F<A,F<B,F<C,F<D,F<E,G>>>>>Function. partialApply6(F<A,F<B,F<C,F<D,F<E,F<F$,G>>>>>> f, F$ f$)
Partial application of the sixth argument to the supplied function to get a function of typeA -> B -> C -> D -> E -> G
.static <A,B,C,D,E,F$,G>
F<A,F<B,F<C,F<D,F<E,G>>>>>Function. partialApply6(F<A,F<B,F<C,F<D,F<E,F<F$,G>>>>>> f, F$ f$)
Partial application of the sixth argument to the supplied function to get a function of typeA -> B -> C -> D -> E -> G
.static <A,B,C,D,E,F$,G>
F<A,F<B,F<C,F<D,F<E,G>>>>>Function. partialApply6(F<A,F<B,F<C,F<D,F<E,F<F$,G>>>>>> f, F$ f$)
Partial application of the sixth argument to the supplied function to get a function of typeA -> B -> C -> D -> E -> G
.static <A,B,C,D,E,F$,G,H>
F<A,F<B,F<C,F<D,F<E,F<F$,H>>>>>>Function. partialApply7(F<A,F<B,F<C,F<D,F<E,F<F$,F<G,H>>>>>>> f, G g)
Partial application of the seventh argument to the supplied function to get a function of typeA -> B -> C -> D -> E -> F$ -> H
.static <A,B,C,D,E,F$,G,H>
F<A,F<B,F<C,F<D,F<E,F<F$,H>>>>>>Function. partialApply7(F<A,F<B,F<C,F<D,F<E,F<F$,F<G,H>>>>>>> f, G g)
Partial application of the seventh argument to the supplied function to get a function of typeA -> B -> C -> D -> E -> F$ -> H
.static <A,B,C,D,E,F$,G,H>
F<A,F<B,F<C,F<D,F<E,F<F$,H>>>>>>Function. partialApply7(F<A,F<B,F<C,F<D,F<E,F<F$,F<G,H>>>>>>> f, G g)
Partial application of the seventh argument to the supplied function to get a function of typeA -> B -> C -> D -> E -> F$ -> H
.static <A,B,C,D,E,F$,G,H>
F<A,F<B,F<C,F<D,F<E,F<F$,H>>>>>>Function. partialApply7(F<A,F<B,F<C,F<D,F<E,F<F$,F<G,H>>>>>>> f, G g)
Partial application of the seventh argument to the supplied function to get a function of typeA -> B -> C -> D -> E -> F$ -> H
.static <A,B,C,D,E,F$,G,H>
F<A,F<B,F<C,F<D,F<E,F<F$,H>>>>>>Function. partialApply7(F<A,F<B,F<C,F<D,F<E,F<F$,F<G,H>>>>>>> f, G g)
Partial application of the seventh argument to the supplied function to get a function of typeA -> B -> C -> D -> E -> F$ -> H
.static <A,B,C,D,E,F$,G,H,I>
F<A,F<B,F<C,F<D,F<E,F<F$,F<G,I>>>>>>>Function. partialApply8(F<A,F<B,F<C,F<D,F<E,F<F$,F<G,F<H,I>>>>>>>> f, H h)
Partial application of the eigth argument to the supplied function to get a function of typeA -> B -> C -> D -> E -> F$ -> G -> I
.static <A,B,C,D,E,F$,G,H,I>
F<A,F<B,F<C,F<D,F<E,F<F$,F<G,I>>>>>>>Function. partialApply8(F<A,F<B,F<C,F<D,F<E,F<F$,F<G,F<H,I>>>>>>>> f, H h)
Partial application of the eigth argument to the supplied function to get a function of typeA -> B -> C -> D -> E -> F$ -> G -> I
.static <A,B,C,D,E,F$,G,H,I>
F<A,F<B,F<C,F<D,F<E,F<F$,F<G,I>>>>>>>Function. partialApply8(F<A,F<B,F<C,F<D,F<E,F<F$,F<G,F<H,I>>>>>>>> f, H h)
Partial application of the eigth argument to the supplied function to get a function of typeA -> B -> C -> D -> E -> F$ -> G -> I
.static <A,B,C,D,E,F$,G,H,I>
F<A,F<B,F<C,F<D,F<E,F<F$,F<G,I>>>>>>>Function. partialApply8(F<A,F<B,F<C,F<D,F<E,F<F$,F<G,F<H,I>>>>>>>> f, H h)
Partial application of the eigth argument to the supplied function to get a function of typeA -> B -> C -> D -> E -> F$ -> G -> I
.static <A,B,C,D,E,F$,G,H,I>
F<A,F<B,F<C,F<D,F<E,F<F$,F<G,I>>>>>>>Function. partialApply8(F<A,F<B,F<C,F<D,F<E,F<F$,F<G,F<H,I>>>>>>>> f, H h)
Partial application of the eigth argument to the supplied function to get a function of typeA -> B -> C -> D -> E -> F$ -> G -> I
.static <A,B,C,D,E,F$,G,H,I>
F<A,F<B,F<C,F<D,F<E,F<F$,F<G,I>>>>>>>Function. partialApply8(F<A,F<B,F<C,F<D,F<E,F<F$,F<G,F<H,I>>>>>>>> f, H h)
Partial application of the eigth argument to the supplied function to get a function of typeA -> B -> C -> D -> E -> F$ -> G -> I
.F<A,F<A,A>>
Monoid. sum()
Returns a function that sums according to this monoid.F<A,F<A,A>>
Semigroup. sum()
Returns a function that sums according to this semigroup.static <A,B,C>
F<F<A,F<B,C>>,F2<A,B,C>>Function. uncurryF2()
Uncurry a function of arity-2.static <A,B,C>
F<F<A,F<B,C>>,F2<A,B,C>>Function. uncurryF2()
Uncurry a function of arity-2.static <A,B,C,D>
F<F<A,F<B,F<C,D>>>,F3<A,B,C,D>>Function. uncurryF3()
Uncurry a function of arity-3.static <A,B,C,D>
F<F<A,F<B,F<C,D>>>,F3<A,B,C,D>>Function. uncurryF3()
Uncurry a function of arity-3.static <A,B,C,D>
F<F<A,F<B,F<C,D>>>,F3<A,B,C,D>>Function. uncurryF3()
Uncurry a function of arity-3.static <A,B,C,D,E>
F<F<A,F<B,F<C,F<D,E>>>>,F4<A,B,C,D,E>>Function. uncurryF4()
Uncurry a function of arity-4.static <A,B,C,D,E>
F<F<A,F<B,F<C,F<D,E>>>>,F4<A,B,C,D,E>>Function. uncurryF4()
Uncurry a function of arity-4.static <A,B,C,D,E>
F<F<A,F<B,F<C,F<D,E>>>>,F4<A,B,C,D,E>>Function. uncurryF4()
Uncurry a function of arity-4.static <A,B,C,D,E>
F<F<A,F<B,F<C,F<D,E>>>>,F4<A,B,C,D,E>>Function. uncurryF4()
Uncurry a function of arity-4.static <A,B,C,D,E,F$>
F<F<A,F<B,F<C,F<D,F<E,F$>>>>>,F5<A,B,C,D,E,F$>>Function. uncurryF5()
Uncurry a function of arity-5.static <A,B,C,D,E,F$>
F<F<A,F<B,F<C,F<D,F<E,F$>>>>>,F5<A,B,C,D,E,F$>>Function. uncurryF5()
Uncurry a function of arity-5.static <A,B,C,D,E,F$>
F<F<A,F<B,F<C,F<D,F<E,F$>>>>>,F5<A,B,C,D,E,F$>>Function. uncurryF5()
Uncurry a function of arity-5.static <A,B,C,D,E,F$>
F<F<A,F<B,F<C,F<D,F<E,F$>>>>>,F5<A,B,C,D,E,F$>>Function. uncurryF5()
Uncurry a function of arity-5.static <A,B,C,D,E,F$>
F<F<A,F<B,F<C,F<D,F<E,F$>>>>>,F5<A,B,C,D,E,F$>>Function. uncurryF5()
Uncurry a function of arity-5.static <A,B,C,D,E,F$,G>
F<F<A,F<B,F<C,F<D,F<E,F<F$,G>>>>>>,F6<A,B,C,D,E,F$,G>>Function. uncurryF6()
Uncurry a function of arity-6.static <A,B,C,D,E,F$,G>
F<F<A,F<B,F<C,F<D,F<E,F<F$,G>>>>>>,F6<A,B,C,D,E,F$,G>>Function. uncurryF6()
Uncurry a function of arity-6.static <A,B,C,D,E,F$,G>
F<F<A,F<B,F<C,F<D,F<E,F<F$,G>>>>>>,F6<A,B,C,D,E,F$,G>>Function. uncurryF6()
Uncurry a function of arity-6.static <A,B,C,D,E,F$,G>
F<F<A,F<B,F<C,F<D,F<E,F<F$,G>>>>>>,F6<A,B,C,D,E,F$,G>>Function. uncurryF6()
Uncurry a function of arity-6.static <A,B,C,D,E,F$,G>
F<F<A,F<B,F<C,F<D,F<E,F<F$,G>>>>>>,F6<A,B,C,D,E,F$,G>>Function. uncurryF6()
Uncurry a function of arity-6.static <A,B,C,D,E,F$,G>
F<F<A,F<B,F<C,F<D,F<E,F<F$,G>>>>>>,F6<A,B,C,D,E,F$,G>>Function. uncurryF6()
Uncurry a function of arity-6.static <A,B,C,D,E,F$,G,H>
F<F<A,F<B,F<C,F<D,F<E,F<F$,F<G,H>>>>>>>,F7<A,B,C,D,E,F$,G,H>>Function. uncurryF7()
Uncurry a function of arity-7.static <A,B,C,D,E,F$,G,H>
F<F<A,F<B,F<C,F<D,F<E,F<F$,F<G,H>>>>>>>,F7<A,B,C,D,E,F$,G,H>>Function. uncurryF7()
Uncurry a function of arity-7.static <A,B,C,D,E,F$,G,H>
F<F<A,F<B,F<C,F<D,F<E,F<F$,F<G,H>>>>>>>,F7<A,B,C,D,E,F$,G,H>>Function. uncurryF7()
Uncurry a function of arity-7.static <A,B,C,D,E,F$,G,H>
F<F<A,F<B,F<C,F<D,F<E,F<F$,F<G,H>>>>>>>,F7<A,B,C,D,E,F$,G,H>>Function. uncurryF7()
Uncurry a function of arity-7.static <A,B,C,D,E,F$,G,H>
F<F<A,F<B,F<C,F<D,F<E,F<F$,F<G,H>>>>>>>,F7<A,B,C,D,E,F$,G,H>>Function. uncurryF7()
Uncurry a function of arity-7.static <A,B,C,D,E,F$,G,H>
F<F<A,F<B,F<C,F<D,F<E,F<F$,F<G,H>>>>>>>,F7<A,B,C,D,E,F$,G,H>>Function. uncurryF7()
Uncurry a function of arity-7.static <A,B,C,D,E,F$,G,H>
F<F<A,F<B,F<C,F<D,F<E,F<F$,F<G,H>>>>>>>,F7<A,B,C,D,E,F$,G,H>>Function. uncurryF7()
Uncurry a function of arity-7.static <A,B,C,D,E,F$,G,H,I>
F<F<A,F<B,F<C,F<D,F<E,F<F$,F<G,F<H,I>>>>>>>>,F8<A,B,C,D,E,F$,G,H,I>>Function. uncurryF8()
Uncurry a function of arity-8.static <A,B,C,D,E,F$,G,H,I>
F<F<A,F<B,F<C,F<D,F<E,F<F$,F<G,F<H,I>>>>>>>>,F8<A,B,C,D,E,F$,G,H,I>>Function. uncurryF8()
Uncurry a function of arity-8.static <A,B,C,D,E,F$,G,H,I>
F<F<A,F<B,F<C,F<D,F<E,F<F$,F<G,F<H,I>>>>>>>>,F8<A,B,C,D,E,F$,G,H,I>>Function. uncurryF8()
Uncurry a function of arity-8.static <A,B,C,D,E,F$,G,H,I>
F<F<A,F<B,F<C,F<D,F<E,F<F$,F<G,F<H,I>>>>>>>>,F8<A,B,C,D,E,F$,G,H,I>>Function. uncurryF8()
Uncurry a function of arity-8.static <A,B,C,D,E,F$,G,H,I>
F<F<A,F<B,F<C,F<D,F<E,F<F$,F<G,F<H,I>>>>>>>>,F8<A,B,C,D,E,F$,G,H,I>>Function. uncurryF8()
Uncurry a function of arity-8.static <A,B,C,D,E,F$,G,H,I>
F<F<A,F<B,F<C,F<D,F<E,F<F$,F<G,F<H,I>>>>>>>>,F8<A,B,C,D,E,F$,G,H,I>>Function. uncurryF8()
Uncurry a function of arity-8.static <A,B,C,D,E,F$,G,H,I>
F<F<A,F<B,F<C,F<D,F<E,F<F$,F<G,F<H,I>>>>>>>>,F8<A,B,C,D,E,F$,G,H,I>>Function. uncurryF8()
Uncurry a function of arity-8.static <A,B,C,D,E,F$,G,H,I>
F<F<A,F<B,F<C,F<D,F<E,F<F$,F<G,F<H,I>>>>>>>>,F8<A,B,C,D,E,F$,G,H,I>>Function. uncurryF8()
Uncurry a function of arity-8.static <C,A extends C,B,D extends B>
F<F<C,D>,F<A,B>>Function. vary()
Simultaneously covaries and contravaries a function.static <C,A extends C,B,D extends B>
F<F<C,D>,F<A,B>>Function. vary()
Simultaneously covaries and contravaries a function.Methods in fj with parameters of type F Modifier and Type Method Description default <C> F<A,C>
F. andThen(F<B,C> g)
Function composition flipped.static <A,B,C>
F<A,C>Function. andThen(F<A,B> g, F<B,C> f)
Function composition flipped.default <C> F<A,C>
F. apply(F<A,F<B,C>> g)
Function application in an environment (Applicative Functor).static <A,B,C>
F<C,B>Function. apply(F<C,F<A,B>> cab, F<C,A> ca)
Performs function application within a higher-order function (applicative functor pattern).static <A,B,C>
F<C,B>Function. apply(F2<C,A,B> cab, F<C,A> ca)
Performs function application within a higher-order function (applicative functor pattern).default <C> F<A,C>
F. bind(F<B,F<A,C>> g)
Binds a given function across this function (Reader Monad).static <A,B,C>
F<C,B>Function. bind(F<C,A> ma, F<A,F<C,B>> f)
Binds the function in the second argument to the function in the first argument.static <A,B,C,D>
F<D,C>Function. bind(F<D,A> ca, F<D,B> cb, F<A,F<B,C>> f)
Binds the given function f to the values of the given functions, with a final join.<B> P1<B>
P1. bind(F<A,P1<B>> f)
Binds the given function to the value in a product-1 with a final join.<B,C>
P1<C>P1. bind(P1<B> cb, F<A,F<B,C>> f)
Binds the given function to the values in the given P1s with a final join.<C> P2<C,B>
P2. cobind(F<P2<A,B>,C> k)
Duplicates this product on the first element, and maps the given function across the duplicate (Comonad pattern).static <A,B,C>
F<A,C>Function. compose(F<B,C> f, F<A,B> g)
Function composition.<B,C>
Monoid<C>Monoid. compose(Monoid<B> mb, F<C,A> a, F<C,B> b, F2<A,B,C> c)
<B,C>
Semigroup<C>Semigroup. compose(Semigroup<B> sb, F<C,B> b, F<C,A> a, F2<A,B,C> c)
static <A,B,C,D>
F<A,F<B,D>>Function. compose2(F<C,D> f, F<A,F<B,C>> g)
Function composition.static <A,B>
Effect1<B>Effect. contramap(Effect1<A> e1, F<B,A> f)
A contra-variant functor on effect.static <A,B>
Equal<A>Equal. contramap(F<A,B> f, Equal<B> eq)
Static version ofEqual.contramap(F)
<B> Equal<B>
Equal. contramap(F<B,A> f)
Maps the given function across this equal as a contra-variant functor.default <C> F<C,B>
F. contramap(F<C,A> f)
default <X,Y>
F2<X,Y,C>F2. contramap(F<X,A> f, F<Y,B> g)
<B> Hash<B>
Hash. contramap(F<B,A> g)
Maps the given function across this hash as a contra-variant functor.static <A,B>
Ord<A>Ord. contramap(F<A,B> f, Ord<B> ord)
Static version ofOrd.contramap(F)
<B> Ord<B>
Ord. contramap(F<B,A> f)
Maps the given function across this ord as a contra-variant functor.<B> Show<B>
Show. contramap(F<B,A> f)
Maps the given function across this show as a contra-variant functor.private static <A,B>
Equal.Definition<B>Equal. contramapDef(F<B,A> f, Equal.Definition<A> aEqDef)
private static <A,B>
Ord.Definition<B>Ord. contramapDef(F<B,A> f, Ord.Definition<A> def)
default <Z> F2<Z,B,C>
F2. contramapFirst(F<Z,A> f)
default <Z> F2<A,Z,C>
F2. contramapSecond(F<Z,B> f)
static <A,B>
F<A,P1<B>>P1. curry(F<A,B> f)
Promotes the given function so that it returns its value in a P1.default <C,D>
F<C,D>F. dimap(F<C,A> f, F<B,D> g)
Both map (with g) and contramap (with f) the target function.static <A> Equal<A>
Equal. equal(F<A,F<A,java.lang.Boolean>> f)
Constructs an equal instance from the given function.static <B,C,D>
P2<C,D>P2. fanout(F<B,C> f, F<B,D> g, B b)
Sends the given input value to both argument functions and combines their output.static <A,B,C>
F<B,F<A,C>>Function. flip(F<A,F<B,C>> f)
Function argument flipping.static <A> Hash<A>
Hash. hash(F<A,java.lang.Integer> f)
Construct a hash with the given hash function.static <A,B>
F<B,A>Function. join(F<B,F<B,A>> f)
Joins two arguments of a function of arity-2 into one argument, yielding a function of arity-1.static <A> Effect1<A>
Effect. lazy(F<A,Unit> f)
static <A> P1<A>
P. lazy(F<Unit,A> f)
static <A,B>
P2<A,B>P. lazy(F<Unit,A> fa, F<Unit,B> fb)
static <A,B,C>
P3<A,B,C>P. lazy(F<Unit,A> fa, F<Unit,B> fb, F<Unit,C> fc)
static <A,B,C,D>
P4<A,B,C,D>P. lazy(F<Unit,A> fa, F<Unit,B> fb, F<Unit,C> fc, F<Unit,D> fd)
static <A,B,C,D,E>
P5<A,B,C,D,E>P. lazy(F<Unit,A> fa, F<Unit,B> fb, F<Unit,C> fc, F<Unit,D> fd, F<Unit,E> fe)
static <A,B,C,D,E,F$>
P6<A,B,C,D,E,F$>P. lazy(F<Unit,A> fa, F<Unit,B> fb, F<Unit,C> fc, F<Unit,D> fd, F<Unit,E> fe, F<Unit,F$> ff)
static <A,B,C,D,E,F$,G>
P7<A,B,C,D,E,F$,G>P. lazy(F<Unit,A> fa, F<Unit,B> fb, F<Unit,C> fc, F<Unit,D> fd, F<Unit,E> fe, F<Unit,F$> ff, F<Unit,G> fg)
static <A,B,C,D,E,F$,G,H>
P8<A,B,C,D,E,F$,G,H>P. lazy(F<Unit,A> fa, F<Unit,B> fb, F<Unit,C> fc, F<Unit,D> fd, F<Unit,E> fe, F<Unit,F$> ff, F<Unit,G> fg, F<Unit,H> fh)
static <A,B,C,D>
F<F<D,A>,F<F<D,B>,F<D,C>>>Function. lift(F<A,F<B,C>> f)
Promotes a function of arity-2 to a higher-order function.static <A,B,C>
F<P1<A>,F<P1<B>,P1<C>>>P1. liftM2(F<A,F<B,C>> f)
Promotes a function of arity-2 to a function on P1s.default <C> F<A,C>
F. map(F<B,C> f)
default <Z> F2<A,B,Z>
F2. map(F<C,Z> f)
<B> P1<B>
P1. map(F<A,B> f)
Map the element of the product.static <A,B>
P2<B,B>P2. map(F<A,B> f, P2<A,A> p)
Maps the given function across both the elements of the given product.static <A,B>
F<P1<A>,P1<B>>P1. map_(F<A,B> f)
Promote any function to a transformation between P1s.<X> P2<X,B>
P2. map1(F<A,X> f)
Map the first element of the product.<X> P3<X,B,C>
P3. map1(F<A,X> f)
Map the first element of the product.<X> P4<X,B,C,D>
P4. map1(F<A,X> f)
Map the first element of the product.<X> P5<X,B,C,D,E>
P5. map1(F<A,X> f)
Map the first element of the product.<X> P6<X,B,C,D,E,F>
P6. map1(F<A,X> f)
Map the first element of the product.<X> P7<X,B,C,D,E,F,G>
P7. map1(F<A,X> f)
Map the first element of the product.<X> P8<X,B,C,D,E,F,G,H>
P8. map1(F<A,X> f)
Map the first element of the product.static <A,B,X>
F<P2<A,B>,P2<X,B>>P2. map1_(F<A,X> f)
Promotes a function so that it maps the first element of a product.<X> P2<A,X>
P2. map2(F<B,X> f)
Map the second element of the product.<X> P3<A,X,C>
P3. map2(F<B,X> f)
Map the second element of the product.<X> P4<A,X,C,D>
P4. map2(F<B,X> f)
Map the second element of the product.<X> P5<A,X,C,D,E>
P5. map2(F<B,X> f)
Map the second element of the product.<X> P6<A,X,C,D,E,F>
P6. map2(F<B,X> f)
Map the second element of the product.<X> P7<A,X,C,D,E,F,G>
P7. map2(F<B,X> f)
Map the second element of the product.<X> P8<A,X,C,D,E,F,G,H>
P8. map2(F<B,X> f)
Map the second element of the product.static <A,B,X>
F<P2<A,B>,P2<A,X>>P2. map2_(F<B,X> f)
Promotes a function so that it maps the second element of a product.<X> P3<A,B,X>
P3. map3(F<C,X> f)
Map the third element of the product.<X> P4<A,B,X,D>
P4. map3(F<C,X> f)
Map the third element of the product.<X> P5<A,B,X,D,E>
P5. map3(F<C,X> f)
Map the third element of the product.<X> P6<A,B,X,D,E,F>
P6. map3(F<C,X> f)
Map the third element of the product.<X> P7<A,B,X,D,E,F,G>
P7. map3(F<C,X> f)
Map the third element of the product.<X> P8<A,B,X,D,E,F,G,H>
P8. map3(F<C,X> f)
Map the third element of the product.<X> P4<A,B,C,X>
P4. map4(F<D,X> f)
Map the fourth element of the product.<X> P5<A,B,C,X,E>
P5. map4(F<D,X> f)
Map the fourth element of the product.<X> P6<A,B,C,X,E,F>
P6. map4(F<D,X> f)
Map the fourth element of the product.<X> P7<A,B,C,X,E,F,G>
P7. map4(F<D,X> f)
Map the fourth element of the product.<X> P8<A,B,C,X,E,F,G,H>
P8. map4(F<D,X> f)
Map the fourth element of the product.<X> P5<A,B,C,D,X>
P5. map5(F<E,X> f)
Map the fifth element of the product.<X> P6<A,B,C,D,X,F>
P6. map5(F<E,X> f)
Map the fifth element of the product.<X> P7<A,B,C,D,X,F,G>
P7. map5(F<E,X> f)
Map the fifth element of the product.<X> P8<A,B,C,D,X,F,G,H>
P8. map5(F<E,X> f)
Map the fifth element of the product.<X> P6<A,B,C,D,E,X>
P6. map6(F<F,X> f)
Map the sixth element of the product.<X> P7<A,B,C,D,E,X,G>
P7. map6(F<F,X> f)
Map the sixth element of the product.<X> P8<A,B,C,D,E,X,G,H>
P8. map6(F<F,X> f)
Map the sixth element of the product.<X> P7<A,B,C,D,E,F,X>
P7. map7(F<G,X> f)
Map the seventh element of the product.<X> P8<A,B,C,D,E,F,X,H>
P8. map7(F<G,X> f)
Map the seventh element of the product.<X> P8<A,B,C,D,E,F,G,X>
P8. map8(F<H,X> f)
Map the eighth element of the product.static <A> Monoid<A>
Monoid. monoid(F<A,F<A,A>> sum, A zero)
Constructs a monoid from the given sum function and zero value, which must follow the monoidal laws.static <A,B>
F<A,Option<B>>Function. nullable(F<A,B> f)
Return a function that inspects the argument of the given function for anull
value and if so, does not apply the value, instead returning an empty optional value.default <C> F<C,B>
F. o(F<C,A> g)
Function compositionstatic <A,B>
Equal.Definition<A>Equal. on(F<A,B> f, Equal<B> eq)
Begin definition of an equal instance.default <C> F<A,F<A,C>>
F. on(F<B,F<B,C>> g)
Applies this function over the arguments of another function.static <A,B,C>
F<B,F<B,C>>Function. on(F<A,F<A,C>> a, F<B,A> f)
Applies a given function over the arguments of another function of arity-2.static <A,B>
Ord.Definition<A>Ord. on(F<A,B> f, Ord<B> ord)
Begin definition of an ord instance.static <A> Ord<A>
Ord. ord(F<A,F<A,Ordering>> f)
Returns an order instance that uses the given equality test and ordering function.static <A,B,C>
F<A,C>Function. partialApply2(F<A,F<B,C>> f, B b)
Partial application of the second argument to the supplied function to get a function of typeA -> C
.static <A,B,C,D>
F<A,F<B,D>>Function. partialApply3(F<A,F<B,F<C,D>>> f, C c)
Partial application of the third argument to the supplied function to get a function of typeA -> B -> D
.static <A,B,C,D,E>
F<A,F<B,F<C,E>>>Function. partialApply4(F<A,F<B,F<C,F<D,E>>>> f, D d)
Partial application of the fourth argument to the supplied function to get a function of typeA -> B -> C -> E
.static <A,B,C,D,E,F$>
F<A,F<B,F<C,F<D,F$>>>>Function. partialApply5(F<A,F<B,F<C,F<D,F<E,F$>>>>> f, E e)
Partial application of the fifth argument to the supplied function to get a function of typeA -> B -> C -> D -> F$
.static <A,B,C,D,E,F$,G>
F<A,F<B,F<C,F<D,F<E,G>>>>>Function. partialApply6(F<A,F<B,F<C,F<D,F<E,F<F$,G>>>>>> f, F$ f$)
Partial application of the sixth argument to the supplied function to get a function of typeA -> B -> C -> D -> E -> G
.static <A,B,C,D,E,F$,G,H>
F<A,F<B,F<C,F<D,F<E,F<F$,H>>>>>>Function. partialApply7(F<A,F<B,F<C,F<D,F<E,F<F$,F<G,H>>>>>>> f, G g)
Partial application of the seventh argument to the supplied function to get a function of typeA -> B -> C -> D -> E -> F$ -> H
.static <A,B,C,D,E,F$,G,H,I>
F<A,F<B,F<C,F<D,F<E,F<F$,F<G,I>>>>>>>Function. partialApply8(F<A,F<B,F<C,F<D,F<E,F<F$,F<G,F<H,I>>>>>>>> f, H h)
Partial application of the eigth argument to the supplied function to get a function of typeA -> B -> C -> D -> E -> F$ -> G -> I
.static <A> Semigroup<A>
Semigroup. semigroup(F<A,F<A,A>> sum)
Constructs a semigroup from the given function.static <A> Show<A>
Show. show(F<A,Stream<java.lang.Character>> f)
Returns a show instance using the given function.static <A> Show<A>
Show. showS(F<A,java.lang.String> f)
Returns a show instance using the given function.<C,D>
P2<C,D>P2. split(F<A,C> f, F<B,D> g)
Split this product between two argument functions and combine their output.static <A,B,C,D>
F<P2<A,B>,P2<C,D>>P2. split_(F<A,C> f, F<B,D> g)
A first-class version of the split function.default <B> Equal.Definition<A>
Equal.Definition. then(F<A,B> f, Equal<B> eq)
Refine this equal definition, to tests equality of self and the mapped object in "and" manner.default <B> Ord.Definition<A>
Ord.Definition. then(F<A,B> f, Ord<B> bOrd)
Refine this ord definition: compares using self and if objects are equal compares using givenOrd
.<B,X>
Either<X,P1<B>>P1. traverseEither(F<A,Either<X,B>> f)
Traversable instance of P1 for Either<C,X>
Either<X,P2<A,C>>P2. traverseEither(F<B,Either<X,C>> f)
<C> IO<P2<A,C>>
P2. traverseIO(F<B,IO<C>> f)
<B> List<P1<B>>
P1. traverseList(F<A,List<B>> f)
Traversable instance of P1 for List<C> List<P2<A,C>>
P2. traverseList(F<B,List<C>> f)
<B> Option<P1<B>>
P1. traverseOption(F<A,Option<B>> f)
Traversable instance of P1 for Option<C> Option<P2<A,C>>
P2. traverseOption(F<B,Option<C>> f)
<B> Stream<P1<B>>
P1. traverseStream(F<A,Stream<B>> f)
Traversable instance of P1 for Stream<C> Stream<P2<A,C>>
P2. traverseStream(F<B,Stream<C>> f)
<B,E>
Validation<E,P1<B>>P1. traverseValidation(F<A,Validation<E,B>> f)
Traversable instance of P1 for Validationstatic <A,B,C>
F<P2<A,B>,C>P2. tuple(F<A,F<B,C>> f)
Transforms a curried function of arity-2 to a function of a product-2static <A,B,C>
F2<A,B,C>Function. uncurryF2(F<A,F<B,C>> f)
Uncurry a function of arity-2.static <A,B,C,D>
F3<A,B,C,D>Function. uncurryF3(F<A,F<B,F<C,D>>> f)
Uncurry a function of arity-3.static <A,B,C,D,E>
F4<A,B,C,D,E>Function. uncurryF4(F<A,F<B,F<C,F<D,E>>>> f)
Uncurry a function of arity-4.static <A,B,C,D,E,F$>
F5<A,B,C,D,E,F$>Function. uncurryF5(F<A,F<B,F<C,F<D,F<E,F$>>>>> f)
Uncurry a function of arity-6.static <A,B,C,D,E,F$,G>
F6<A,B,C,D,E,F$,G>Function. uncurryF6(F<A,F<B,F<C,F<D,F<E,F<F$,G>>>>>> f)
Uncurry a function of arity-6.static <A,B,C,D,E,F$,G,H>
F7<A,B,C,D,E,F$,G,H>Function. uncurryF7(F<A,F<B,F<C,F<D,F<E,F<F$,F<G,H>>>>>>> f)
Uncurry a function of arity-7.static <A,B,C,D,E,F$,G,H,I>
F8<A,B,C,D,E,F$,G,H,I>Function. uncurryF8(F<A,F<B,F<C,F<D,F<E,F<F$,F<G,F<H,I>>>>>>>> f)
Uncurry a function of arity-8.static <A,B,C>
F2<A,B,C>P2. untuple(F<P2<A,B>,C> f)
Transforms a function of a product-2 to an uncurried function or arity-2.static <A,B>
F<A,B>Function. vary(F<? super A,? extends B> f)
Simultaneously covaries and contravaries a function.<B> Monoid<B>
Monoid. xmap(F<A,B> f, F<B,A> g)
Maps the given functions across this monoid as an invariant functor.<B> Semigroup<B>
Semigroup. xmap(F<A,B> f, F<B,A> g)
Maps the given functions across this monoid as an invariant functor.Method parameters in fj with type arguments of type F Modifier and Type Method Description default <C> F<A,C>
F. apply(F<A,F<B,C>> g)
Function application in an environment (Applicative Functor).static <A,B,C>
F<C,B>Function. apply(F<C,F<A,B>> cab, F<C,A> ca)
Performs function application within a higher-order function (applicative functor pattern).<B> P1<B>
P1. apply(P1<F<A,B>> cf)
Performs function application within a P1 (applicative functor pattern).default <C> F<A,C>
F. bind(F<B,F<A,C>> g)
Binds a given function across this function (Reader Monad).<B,C>
P1<C>P1. bind(P1<B> cb, F<A,F<B,C>> f)
Binds the given function to the values in the given P1s with a final join.static <A> Equal<A>
Equal. equal(F<A,F<A,java.lang.Boolean>> f)
Constructs an equal instance from the given function.static <A,B,C>
F<B,F<A,C>>Function. flip(F<A,F<B,C>> f)
Function argument flipping.static <A,B>
F<B,A>Function. join(F<B,F<B,A>> f)
Joins two arguments of a function of arity-2 into one argument, yielding a function of arity-1.static <A,B,C,D>
F<F<D,A>,F<F<D,B>,F<D,C>>>Function. lift(F<A,F<B,C>> f)
Promotes a function of arity-2 to a higher-order function.static <A,B,C>
F<P1<A>,F<P1<B>,P1<C>>>P1. liftM2(F<A,F<B,C>> f)
Promotes a function of arity-2 to a function on P1s.static <A> Monoid<A>
Monoid. monoid(F<A,F<A,A>> sum, A zero)
Constructs a monoid from the given sum function and zero value, which must follow the monoidal laws.default <C> F<A,F<A,C>>
F. on(F<B,F<B,C>> g)
Applies this function over the arguments of another function.static <A,B,C>
F<B,F<B,C>>Function. on(F<A,F<A,C>> a, F<B,A> f)
Applies a given function over the arguments of another function of arity-2.static <A> Ord<A>
Ord. ord(F<A,F<A,Ordering>> f)
Returns an order instance that uses the given equality test and ordering function.static <A,B,C>
F<A,C>Function. partialApply2(F<A,F<B,C>> f, B b)
Partial application of the second argument to the supplied function to get a function of typeA -> C
.static <A,B,C,D>
F<A,F<B,D>>Function. partialApply3(F<A,F<B,F<C,D>>> f, C c)
Partial application of the third argument to the supplied function to get a function of typeA -> B -> D
.static <A,B,C,D>
F<A,F<B,D>>Function. partialApply3(F<A,F<B,F<C,D>>> f, C c)
Partial application of the third argument to the supplied function to get a function of typeA -> B -> D
.static <A,B,C,D,E>
F<A,F<B,F<C,E>>>Function. partialApply4(F<A,F<B,F<C,F<D,E>>>> f, D d)
Partial application of the fourth argument to the supplied function to get a function of typeA -> B -> C -> E
.static <A,B,C,D,E>
F<A,F<B,F<C,E>>>Function. partialApply4(F<A,F<B,F<C,F<D,E>>>> f, D d)
Partial application of the fourth argument to the supplied function to get a function of typeA -> B -> C -> E
.static <A,B,C,D,E>
F<A,F<B,F<C,E>>>Function. partialApply4(F<A,F<B,F<C,F<D,E>>>> f, D d)
Partial application of the fourth argument to the supplied function to get a function of typeA -> B -> C -> E
.static <A,B,C,D,E,F$>
F<A,F<B,F<C,F<D,F$>>>>Function. partialApply5(F<A,F<B,F<C,F<D,F<E,F$>>>>> f, E e)
Partial application of the fifth argument to the supplied function to get a function of typeA -> B -> C -> D -> F$
.static <A,B,C,D,E,F$>
F<A,F<B,F<C,F<D,F$>>>>Function. partialApply5(F<A,F<B,F<C,F<D,F<E,F$>>>>> f, E e)
Partial application of the fifth argument to the supplied function to get a function of typeA -> B -> C -> D -> F$
.static <A,B,C,D,E,F$>
F<A,F<B,F<C,F<D,F$>>>>Function. partialApply5(F<A,F<B,F<C,F<D,F<E,F$>>>>> f, E e)
Partial application of the fifth argument to the supplied function to get a function of typeA -> B -> C -> D -> F$
.static <A,B,C,D,E,F$>
F<A,F<B,F<C,F<D,F$>>>>Function. partialApply5(F<A,F<B,F<C,F<D,F<E,F$>>>>> f, E e)
Partial application of the fifth argument to the supplied function to get a function of typeA -> B -> C -> D -> F$
.static <A,B,C,D,E,F$,G>
F<A,F<B,F<C,F<D,F<E,G>>>>>Function. partialApply6(F<A,F<B,F<C,F<D,F<E,F<F$,G>>>>>> f, F$ f$)
Partial application of the sixth argument to the supplied function to get a function of typeA -> B -> C -> D -> E -> G
.static <A,B,C,D,E,F$,G>
F<A,F<B,F<C,F<D,F<E,G>>>>>Function. partialApply6(F<A,F<B,F<C,F<D,F<E,F<F$,G>>>>>> f, F$ f$)
Partial application of the sixth argument to the supplied function to get a function of typeA -> B -> C -> D -> E -> G
.static <A,B,C,D,E,F$,G>
F<A,F<B,F<C,F<D,F<E,G>>>>>Function. partialApply6(F<A,F<B,F<C,F<D,F<E,F<F$,G>>>>>> f, F$ f$)
Partial application of the sixth argument to the supplied function to get a function of typeA -> B -> C -> D -> E -> G
.static <A,B,C,D,E,F$,G>
F<A,F<B,F<C,F<D,F<E,G>>>>>Function. partialApply6(F<A,F<B,F<C,F<D,F<E,F<F$,G>>>>>> f, F$ f$)
Partial application of the sixth argument to the supplied function to get a function of typeA -> B -> C -> D -> E -> G
.static <A,B,C,D,E,F$,G>
F<A,F<B,F<C,F<D,F<E,G>>>>>Function. partialApply6(F<A,F<B,F<C,F<D,F<E,F<F$,G>>>>>> f, F$ f$)
Partial application of the sixth argument to the supplied function to get a function of typeA -> B -> C -> D -> E -> G
.static <A,B,C,D,E,F$,G,H>
F<A,F<B,F<C,F<D,F<E,F<F$,H>>>>>>Function. partialApply7(F<A,F<B,F<C,F<D,F<E,F<F$,F<G,H>>>>>>> f, G g)
Partial application of the seventh argument to the supplied function to get a function of typeA -> B -> C -> D -> E -> F$ -> H
.static <A,B,C,D,E,F$,G,H>
F<A,F<B,F<C,F<D,F<E,F<F$,H>>>>>>Function. partialApply7(F<A,F<B,F<C,F<D,F<E,F<F$,F<G,H>>>>>>> f, G g)
Partial application of the seventh argument to the supplied function to get a function of typeA -> B -> C -> D -> E -> F$ -> H
.static <A,B,C,D,E,F$,G,H>
F<A,F<B,F<C,F<D,F<E,F<F$,H>>>>>>Function. partialApply7(F<A,F<B,F<C,F<D,F<E,F<F$,F<G,H>>>>>>> f, G g)
Partial application of the seventh argument to the supplied function to get a function of typeA -> B -> C -> D -> E -> F$ -> H
.static <A,B,C,D,E,F$,G,H>
F<A,F<B,F<C,F<D,F<E,F<F$,H>>>>>>Function. partialApply7(F<A,F<B,F<C,F<D,F<E,F<F$,F<G,H>>>>>>> f, G g)
Partial application of the seventh argument to the supplied function to get a function of typeA -> B -> C -> D -> E -> F$ -> H
.static <A,B,C,D,E,F$,G,H>
F<A,F<B,F<C,F<D,F<E,F<F$,H>>>>>>Function. partialApply7(F<A,F<B,F<C,F<D,F<E,F<F$,F<G,H>>>>>>> f, G g)
Partial application of the seventh argument to the supplied function to get a function of typeA -> B -> C -> D -> E -> F$ -> H
.static <A,B,C,D,E,F$,G,H>
F<A,F<B,F<C,F<D,F<E,F<F$,H>>>>>>Function. partialApply7(F<A,F<B,F<C,F<D,F<E,F<F$,F<G,H>>>>>>> f, G g)
Partial application of the seventh argument to the supplied function to get a function of typeA -> B -> C -> D -> E -> F$ -> H
.static <A,B,C,D,E,F$,G,H,I>
F<A,F<B,F<C,F<D,F<E,F<F$,F<G,I>>>>>>>Function. partialApply8(F<A,F<B,F<C,F<D,F<E,F<F$,F<G,F<H,I>>>>>>>> f, H h)
Partial application of the eigth argument to the supplied function to get a function of typeA -> B -> C -> D -> E -> F$ -> G -> I
.static <A,B,C,D,E,F$,G,H,I>
F<A,F<B,F<C,F<D,F<E,F<F$,F<G,I>>>>>>>Function. partialApply8(F<A,F<B,F<C,F<D,F<E,F<F$,F<G,F<H,I>>>>>>>> f, H h)
Partial application of the eigth argument to the supplied function to get a function of typeA -> B -> C -> D -> E -> F$ -> G -> I
.static <A,B,C,D,E,F$,G,H,I>
F<A,F<B,F<C,F<D,F<E,F<F$,F<G,I>>>>>>>Function. partialApply8(F<A,F<B,F<C,F<D,F<E,F<F$,F<G,F<H,I>>>>>>>> f, H h)
Partial application of the eigth argument to the supplied function to get a function of typeA -> B -> C -> D -> E -> F$ -> G -> I
.static <A,B,C,D,E,F$,G,H,I>
F<A,F<B,F<C,F<D,F<E,F<F$,F<G,I>>>>>>>Function. partialApply8(F<A,F<B,F<C,F<D,F<E,F<F$,F<G,F<H,I>>>>>>>> f, H h)
Partial application of the eigth argument to the supplied function to get a function of typeA -> B -> C -> D -> E -> F$ -> G -> I
.static <A,B,C,D,E,F$,G,H,I>
F<A,F<B,F<C,F<D,F<E,F<F$,F<G,I>>>>>>>Function. partialApply8(F<A,F<B,F<C,F<D,F<E,F<F$,F<G,F<H,I>>>>>>>> f, H h)
Partial application of the eigth argument to the supplied function to get a function of typeA -> B -> C -> D -> E -> F$ -> G -> I
.static <A,B,C,D,E,F$,G,H,I>
F<A,F<B,F<C,F<D,F<E,F<F$,F<G,I>>>>>>>Function. partialApply8(F<A,F<B,F<C,F<D,F<E,F<F$,F<G,F<H,I>>>>>>>> f, H h)
Partial application of the eigth argument to the supplied function to get a function of typeA -> B -> C -> D -> E -> F$ -> G -> I
.static <A,B,C,D,E,F$,G,H,I>
F<A,F<B,F<C,F<D,F<E,F<F$,F<G,I>>>>>>>Function. partialApply8(F<A,F<B,F<C,F<D,F<E,F<F$,F<G,F<H,I>>>>>>>> f, H h)
Partial application of the eigth argument to the supplied function to get a function of typeA -> B -> C -> D -> E -> F$ -> G -> I
.static <A> Semigroup<A>
Semigroup. semigroup(F<A,F<A,A>> sum)
Constructs a semigroup from the given function.<C> List<C>
P2. sequenceW(List<F<P2<A,B>,C>> fs)
Applies a list of comonadic functions to this product, returning a list of values.<C> Stream<C>
P2. sequenceW(Stream<F<P2<A,B>,C>> fs)
Applies a stream of comonadic functions to this product, returning a stream of values.static <A,B,C>
F<P2<A,B>,C>P2. tuple(F<A,F<B,C>> f)
Transforms a curried function of arity-2 to a function of a product-2static <A,B,C>
F2<A,B,C>Function. uncurryF2(F<A,F<B,C>> f)
Uncurry a function of arity-2.static <A,B,C,D>
F3<A,B,C,D>Function. uncurryF3(F<A,F<B,F<C,D>>> f)
Uncurry a function of arity-3.static <A,B,C,D>
F3<A,B,C,D>Function. uncurryF3(F<A,F<B,F<C,D>>> f)
Uncurry a function of arity-3.static <A,B,C,D,E>
F4<A,B,C,D,E>Function. uncurryF4(F<A,F<B,F<C,F<D,E>>>> f)
Uncurry a function of arity-4.static <A,B,C,D,E>
F4<A,B,C,D,E>Function. uncurryF4(F<A,F<B,F<C,F<D,E>>>> f)
Uncurry a function of arity-4.static <A,B,C,D,E>
F4<A,B,C,D,E>Function. uncurryF4(F<A,F<B,F<C,F<D,E>>>> f)
Uncurry a function of arity-4.static <A,B,C,D,E,F$>
F5<A,B,C,D,E,F$>Function. uncurryF5(F<A,F<B,F<C,F<D,F<E,F$>>>>> f)
Uncurry a function of arity-6.static <A,B,C,D,E,F$>
F5<A,B,C,D,E,F$>Function. uncurryF5(F<A,F<B,F<C,F<D,F<E,F$>>>>> f)
Uncurry a function of arity-6.static <A,B,C,D,E,F$>
F5<A,B,C,D,E,F$>Function. uncurryF5(F<A,F<B,F<C,F<D,F<E,F$>>>>> f)
Uncurry a function of arity-6.static <A,B,C,D,E,F$>
F5<A,B,C,D,E,F$>Function. uncurryF5(F<A,F<B,F<C,F<D,F<E,F$>>>>> f)
Uncurry a function of arity-6.static <A,B,C,D,E,F$,G>
F6<A,B,C,D,E,F$,G>Function. uncurryF6(F<A,F<B,F<C,F<D,F<E,F<F$,G>>>>>> f)
Uncurry a function of arity-6.static <A,B,C,D,E,F$,G>
F6<A,B,C,D,E,F$,G>Function. uncurryF6(F<A,F<B,F<C,F<D,F<E,F<F$,G>>>>>> f)
Uncurry a function of arity-6.static <A,B,C,D,E,F$,G>
F6<A,B,C,D,E,F$,G>Function. uncurryF6(F<A,F<B,F<C,F<D,F<E,F<F$,G>>>>>> f)
Uncurry a function of arity-6.static <A,B,C,D,E,F$,G>
F6<A,B,C,D,E,F$,G>Function. uncurryF6(F<A,F<B,F<C,F<D,F<E,F<F$,G>>>>>> f)
Uncurry a function of arity-6.static <A,B,C,D,E,F$,G>
F6<A,B,C,D,E,F$,G>Function. uncurryF6(F<A,F<B,F<C,F<D,F<E,F<F$,G>>>>>> f)
Uncurry a function of arity-6.static <A,B,C,D,E,F$,G,H>
F7<A,B,C,D,E,F$,G,H>Function. uncurryF7(F<A,F<B,F<C,F<D,F<E,F<F$,F<G,H>>>>>>> f)
Uncurry a function of arity-7.static <A,B,C,D,E,F$,G,H>
F7<A,B,C,D,E,F$,G,H>Function. uncurryF7(F<A,F<B,F<C,F<D,F<E,F<F$,F<G,H>>>>>>> f)
Uncurry a function of arity-7.static <A,B,C,D,E,F$,G,H>
F7<A,B,C,D,E,F$,G,H>Function. uncurryF7(F<A,F<B,F<C,F<D,F<E,F<F$,F<G,H>>>>>>> f)
Uncurry a function of arity-7.static <A,B,C,D,E,F$,G,H>
F7<A,B,C,D,E,F$,G,H>Function. uncurryF7(F<A,F<B,F<C,F<D,F<E,F<F$,F<G,H>>>>>>> f)
Uncurry a function of arity-7.static <A,B,C,D,E,F$,G,H>
F7<A,B,C,D,E,F$,G,H>Function. uncurryF7(F<A,F<B,F<C,F<D,F<E,F<F$,F<G,H>>>>>>> f)
Uncurry a function of arity-7.static <A,B,C,D,E,F$,G,H>
F7<A,B,C,D,E,F$,G,H>Function. uncurryF7(F<A,F<B,F<C,F<D,F<E,F<F$,F<G,H>>>>>>> f)
Uncurry a function of arity-7.static <A,B,C,D,E,F$,G,H,I>
F8<A,B,C,D,E,F$,G,H,I>Function. uncurryF8(F<A,F<B,F<C,F<D,F<E,F<F$,F<G,F<H,I>>>>>>>> f)
Uncurry a function of arity-8.static <A,B,C,D,E,F$,G,H,I>
F8<A,B,C,D,E,F$,G,H,I>Function. uncurryF8(F<A,F<B,F<C,F<D,F<E,F<F$,F<G,F<H,I>>>>>>>> f)
Uncurry a function of arity-8.static <A,B,C,D,E,F$,G,H,I>
F8<A,B,C,D,E,F$,G,H,I>Function. uncurryF8(F<A,F<B,F<C,F<D,F<E,F<F$,F<G,F<H,I>>>>>>>> f)
Uncurry a function of arity-8.static <A,B,C,D,E,F$,G,H,I>
F8<A,B,C,D,E,F$,G,H,I>Function. uncurryF8(F<A,F<B,F<C,F<D,F<E,F<F$,F<G,F<H,I>>>>>>>> f)
Uncurry a function of arity-8.static <A,B,C,D,E,F$,G,H,I>
F8<A,B,C,D,E,F$,G,H,I>Function. uncurryF8(F<A,F<B,F<C,F<D,F<E,F<F$,F<G,F<H,I>>>>>>>> f)
Uncurry a function of arity-8.static <A,B,C,D,E,F$,G,H,I>
F8<A,B,C,D,E,F$,G,H,I>Function. uncurryF8(F<A,F<B,F<C,F<D,F<E,F<F$,F<G,F<H,I>>>>>>>> f)
Uncurry a function of arity-8.static <A,B,C,D,E,F$,G,H,I>
F8<A,B,C,D,E,F$,G,H,I>Function. uncurryF8(F<A,F<B,F<C,F<D,F<E,F<F$,F<G,F<H,I>>>>>>>> f)
Uncurry a function of arity-8.Constructors in fj with parameters of type F Constructor Description Hash(F<A,java.lang.Integer> f)
Show(F<A,Stream<java.lang.Character>> f)
-
Uses of F in fj.control
Fields in fj.control declared as F Modifier and Type Field Description private F<java.lang.Object,Trampoline<A>>
Trampoline.Codense. cont
Methods in fj.control that return F Modifier and Type Method Description static <A,B>
F<F<A,Trampoline<B>>,F<Trampoline<A>,Trampoline<B>>>Trampoline. bind_()
static <A,B,C>
F<Trampoline<A>,F<Trampoline<B>,Trampoline<C>>>Trampoline. liftM2(F<A,F<B,C>> f)
Promotes the given function of arity-2 to a function on Trampolines.static <A,B>
F<F<A,B>,F<Trampoline<A>,Trampoline<B>>>Trampoline. map_()
static <A> F<A,Trampoline<A>>
Trampoline. pure()
static <A> F<Trampoline<A>,Either<P1<Trampoline<A>>,A>>
Trampoline. resume_()
static <A> F<P1<Trampoline<A>>,Trampoline<A>>
Trampoline. suspend_()
Methods in fj.control that return types with arguments of type F Modifier and Type Method Description static <A,B>
F<F<A,Trampoline<B>>,F<Trampoline<A>,Trampoline<B>>>Trampoline. bind_()
static <A,B>
F<F<A,Trampoline<B>>,F<Trampoline<A>,Trampoline<B>>>Trampoline. bind_()
static <A,B,C>
F<Trampoline<A>,F<Trampoline<B>,Trampoline<C>>>Trampoline. liftM2(F<A,F<B,C>> f)
Promotes the given function of arity-2 to a function on Trampolines.static <A,B>
F<F<A,B>,F<Trampoline<A>,Trampoline<B>>>Trampoline. map_()
static <A,B>
F<F<A,B>,F<Trampoline<A>,Trampoline<B>>>Trampoline. map_()
Methods in fj.control with parameters of type F Modifier and Type Method Description <B,C>
Trampoline<C>Trampoline. bind(Trampoline<B> lb, F<A,F<B,C>> f)
Binds the given function across the result of this Trampoline and the given Trampoline.abstract <B> Trampoline<B>
Trampoline. bind(F<A,Trampoline<B>> f)
Binds the given continuation to the result of this trampoline.<B> Trampoline<B>
Trampoline.Codense. bind(F<A,Trampoline<B>> f)
<B> Trampoline<B>
Trampoline.Normal. bind(F<A,Trampoline<B>> f)
private static <A,B>
Trampoline.Codense<B>Trampoline. codense(Trampoline.Normal<A> a, F<A,Trampoline<B>> k)
<R> R
Trampoline.Codense. fold(F<Trampoline.Normal<A>,R> n, F<Trampoline.Codense<A>,R> gs)
protected abstract <R> R
Trampoline. fold(F<Trampoline.Normal<A>,R> n, F<Trampoline.Codense<A>,R> gs)
<R> R
Trampoline.Pure. fold(F<Trampoline.Normal<A>,R> n, F<Trampoline.Codense<A>,R> gs)
<R> R
Trampoline.Suspend. fold(F<Trampoline.Normal<A>,R> n, F<Trampoline.Codense<A>,R> gs)
abstract <R> R
Trampoline.Normal. foldNormal(F<A,R> pure, F<P1<Trampoline<A>>,R> k)
<R> R
Trampoline.Pure. foldNormal(F<A,R> pure, F<P1<Trampoline<A>>,R> k)
<R> R
Trampoline.Suspend. foldNormal(F<A,R> pure, F<P1<Trampoline<A>>,R> k)
static <A,B,C>
F<Trampoline<A>,F<Trampoline<B>,Trampoline<C>>>Trampoline. liftM2(F<A,F<B,C>> f)
Promotes the given function of arity-2 to a function on Trampolines.<B> Trampoline<B>
Trampoline. map(F<A,B> f)
Maps the given function across the result of this trampoline.Method parameters in fj.control with type arguments of type F Modifier and Type Method Description <B> Trampoline<B>
Trampoline. apply(Trampoline<F<A,B>> lf)
Performs function application within a Trampoline (applicative functor pattern).<B,C>
Trampoline<C>Trampoline. bind(Trampoline<B> lb, F<A,F<B,C>> f)
Binds the given function across the result of this Trampoline and the given Trampoline.static <A,B,C>
F<Trampoline<A>,F<Trampoline<B>,Trampoline<C>>>Trampoline. liftM2(F<A,F<B,C>> f)
Promotes the given function of arity-2 to a function on Trampolines.Constructors in fj.control with parameters of type F Constructor Description Codense(Trampoline.Normal<java.lang.Object> t, F<java.lang.Object,Trampoline<A>> k)
-
Uses of F in fj.control.db
Methods in fj.control.db that return F Modifier and Type Method Description F<java.sql.Connection,java.util.concurrent.Callable<A>>
DB. asFunction()
Returns the callable-valued function projection of this database action.static <A,B>
F<DB<A>,DB<B>>DB. liftM(F<A,B> f)
Promotes any given function so that it transforms between values in the database.Methods in fj.control.db with parameters of type F Modifier and Type Method Description <B> DB<B>
DB. bind(F<A,DB<B>> f)
Binds the given action across the result of this database action.static <A> DB<A>
DB. db(F<java.sql.Connection,A> f)
Constructs a database action as a function from a database connection to a value.static <A,B>
F<DB<A>,DB<B>>DB. liftM(F<A,B> f)
Promotes any given function so that it transforms between values in the database.<B> DB<B>
DB. map(F<A,B> f)
Map a function over the result of this action. -
Uses of F in fj.control.parallel
Fields in fj.control.parallel declared as F Modifier and Type Field Description private F<A,P1<Unit>>
Actor. f
private F<P1<A>,P1<A>>
Strategy. f
Methods in fj.control.parallel that return F Modifier and Type Method Description <A> F<Effect1<A>,Actor<A>>
ParModule. actor()
A first-class constructor of actors.static <A,B>
F<F<A,B>,F<A,java.util.concurrent.Callable<B>>>Callables. arrow()
Provides a transformation from a function to a Callable-valued function that is equivalent to it.static <A> F<A,java.util.concurrent.Callable<A>>
Callables. callable()
Provides a transformation from a value to a Callable that completely preserves that value.static <A,B>
F<A,java.util.concurrent.Callable<B>>Callables. callable(F<A,B> f)
Wraps a given function's return value in a Callable.<B> F<B,P1<A>>
Strategy. concurry(F<B,A> f)
Promotes a function to a concurrent function.<B,C>
F<B,F<C,P1<A>>>Strategy. concurry(F2<B,C,A> f)
Promotes a function of arity-2 to a concurrent function.<A> F<Effect1<A>,Actor<A>>
ParModule. effect()
A first-class constructor of concurrent effects, as actors that don't guarantee ordering of messages.static <A> F<java.util.concurrent.Callable<A>,P1<Either<java.lang.Exception,A>>>
Callables. either()
Returns a transformation from a Callable to an Either.F<P1<A>,P1<A>>
Strategy. f()
Returns the functional representation of this Strategy, a function that evaluates a product-1.static <A,B>
F<java.util.concurrent.Callable<A>,java.util.concurrent.Callable<B>>Callables. fmap(F<A,B> f)
Lifts any function to a function on Callables.static <A,B>
F<Promise<A>,Promise<B>>Promise. fmap_(F<A,B> f)
Promotes any function to a transformation between promises (covariant functor pattern).static <A,B>
F<List<A>,Promise<B>>Promise. foldRight(Strategy<Unit> s, F<A,F<B,B>> f, B b)
Performs a right-fold reduction across a list in constant stack space.static <A,B>
F<Stream<A>,Promise<B>>Promise. foldRightS(Strategy<Unit> s, F<A,F<P1<B>,B>> f, B b)
Performs a right-fold reduction across a Stream in constant stack space.static <A> F<P1<Either<java.lang.Exception,A>>,java.util.concurrent.Callable<A>>
Callables. fromEither()
Returns a transformation from an Either to a Callable.static <A> F<P1<Option<A>>,java.util.concurrent.Callable<A>>
Callables. fromOption()
Returns a transformation from an optional value to a Callablestatic <A,B,C>
F<java.util.concurrent.Callable<A>,F<java.util.concurrent.Callable<B>,java.util.concurrent.Callable<C>>>Callables. liftM2(F<A,F<B,C>> f)
Promotes a function of arity-2 to a function on callables.static <A,B,C>
F<Promise<A>,F<Promise<B>,Promise<C>>>Promise. liftM2(F<A,F<B,C>> f)
Promotes a function of arity-2 to a function on promises.<A,B>
F<F<A,Promise<B>>,F<List<A>,Promise<List<B>>>>ParModule. mapList()
First-class function that maps a concurrent function over a List inside a promise.<A,B>
F<F<A,Promise<B>>,F<Stream<A>,Promise<Stream<B>>>>ParModule. mapStream()
First-class function that maps a concurrent function over a Stream inside a promise.static <A> F<java.util.concurrent.Callable<A>,java.util.concurrent.Callable<A>>
Callables. normalise()
A first-class version of the normalise function.static <A> F<java.util.concurrent.Future<A>,P1<A>>
Strategy. obtain()
Returns a function which returns a product-1 which waits for the given Future to obtain a value.static <A> F<java.util.concurrent.Callable<A>,P1<Option<A>>>
Callables. option()
Returns a transformation from a Callable to an optional value.<A,B>
F<F<A,B>,F<Array<A>,Promise<Array<B>>>>ParModule. parMapArray()
A first-class function that maps another function across an array in parallel.<B> F<F<B,A>,F<Array<B>,P1<Array<A>>>>
Strategy. parMapArray()
First-class version of parMap on arrays.<B> F<Array<B>,P1<Array<A>>>
Strategy. parMapArray(F<B,A> f)
Promotes a function to a parallel function on arrays using this strategy.<B> F<F<B,A>,F<Array<B>,Array<A>>>
Strategy. parMapArray1()
First-class version of parMap1 on arrays (parallel array functor).<A,B>
F<F<A,B>,F<java.lang.Iterable<A>,Promise<java.lang.Iterable<B>>>>ParModule. parMapIterable()
A first-class function that maps another function across an iterable in parallel.<A,B>
F<F<A,B>,F<List<A>,Promise<List<B>>>>ParModule. parMapList()
A first-class function that maps another function across a list in parallel.<B> F<F<B,A>,F<List<B>,P1<List<A>>>>
Strategy. parMapList()
First-class version of parMap on lists.<B> F<List<B>,P1<List<A>>>
Strategy. parMapList(F<B,A> f)
Promotes a function to a parallel function on lists using this strategy.<B> F<F<B,A>,F<List<B>,List<A>>>
Strategy. parMapList1()
First-class version of parMap1 on lists (parallel list functor).<A,B>
F<F<A,B>,F<Stream<A>,Promise<Stream<B>>>>ParModule. parMapStream()
A first-class function that maps another function across a stream in parallel.<A,B>
F<F<A,B>,F<Tree<A>,Promise<Tree<B>>>>ParModule. parMapTree()
A first-class function that maps across a Tree in parallel.<A> F<P1<A>,Promise<A>>
ParModule. promise()
Returns a function that evaluates a given product concurrently and returns a Promise of the result.<A,B>
F<A,Promise<B>>ParModule. promise(F<A,B> f)
Promotes the given function to a concurrent function that returns a Promise.static <A> F<P1<A>,Promise<A>>
Promise. promise(Strategy<Unit> s)
Provides a first-class unit function for promises.static <A,B>
F<A,Promise<B>>Promise. promise(Strategy<Unit> s, F<A,B> f)
Transforms any function so that it returns a promise of a value instead of an actual value.<A,B>
F<F<A,B>,F<A,Promise<B>>>ParModule. promisePure()
Returns a function that promotes a given function to a concurrent function that returns a Promise.static <A> F<List<Promise<A>>,Promise<List<A>>>
Promise. sequence(Strategy<Unit> s)
First-class version of the sequence function through a List.static <A> F<List<java.util.concurrent.Callable<A>>,java.util.concurrent.Callable<List<A>>>
Callables. sequence_()
A first-class version of the sequence method.<A> F<List<Promise<A>>,Promise<List<A>>>
ParModule. sequenceList()
A first-class function that traverses a list inside a promise.static <A> F<List<Promise<A>>,Promise<List<A>>>
Promise. sequenceS(Strategy<Unit> s)
First-class version of the sequence function through a Stream.<A> F<Stream<Promise<A>>,Promise<Stream<A>>>
ParModule. sequenceStream()
A first-class function that traverses a stream inside a promise.Methods in fj.control.parallel that return types with arguments of type F Modifier and Type Method Description static <A,B>
F<F<A,B>,F<A,java.util.concurrent.Callable<B>>>Callables. arrow()
Provides a transformation from a function to a Callable-valued function that is equivalent to it.static <A,B>
F<F<A,B>,F<A,java.util.concurrent.Callable<B>>>Callables. arrow()
Provides a transformation from a function to a Callable-valued function that is equivalent to it.<B,C>
F<B,F<C,P1<A>>>Strategy. concurry(F2<B,C,A> f)
Promotes a function of arity-2 to a concurrent function.static <A,B,C>
F<java.util.concurrent.Callable<A>,F<java.util.concurrent.Callable<B>,java.util.concurrent.Callable<C>>>Callables. liftM2(F<A,F<B,C>> f)
Promotes a function of arity-2 to a function on callables.static <A,B,C>
F<Promise<A>,F<Promise<B>,Promise<C>>>Promise. liftM2(F<A,F<B,C>> f)
Promotes a function of arity-2 to a function on promises.<A,B>
F<F<A,Promise<B>>,F<List<A>,Promise<List<B>>>>ParModule. mapList()
First-class function that maps a concurrent function over a List inside a promise.<A,B>
F<F<A,Promise<B>>,F<List<A>,Promise<List<B>>>>ParModule. mapList()
First-class function that maps a concurrent function over a List inside a promise.<A,B>
F<F<A,Promise<B>>,F<Stream<A>,Promise<Stream<B>>>>ParModule. mapStream()
First-class function that maps a concurrent function over a Stream inside a promise.<A,B>
F<F<A,Promise<B>>,F<Stream<A>,Promise<Stream<B>>>>ParModule. mapStream()
First-class function that maps a concurrent function over a Stream inside a promise.<A,B>
F<F<A,B>,F<Array<A>,Promise<Array<B>>>>ParModule. parMapArray()
A first-class function that maps another function across an array in parallel.<A,B>
F<F<A,B>,F<Array<A>,Promise<Array<B>>>>ParModule. parMapArray()
A first-class function that maps another function across an array in parallel.<B> F<F<B,A>,F<Array<B>,P1<Array<A>>>>
Strategy. parMapArray()
First-class version of parMap on arrays.<B> F<F<B,A>,F<Array<B>,P1<Array<A>>>>
Strategy. parMapArray()
First-class version of parMap on arrays.<B> F<F<B,A>,F<Array<B>,Array<A>>>
Strategy. parMapArray1()
First-class version of parMap1 on arrays (parallel array functor).<B> F<F<B,A>,F<Array<B>,Array<A>>>
Strategy. parMapArray1()
First-class version of parMap1 on arrays (parallel array functor).<A,B>
F<F<A,B>,F<java.lang.Iterable<A>,Promise<java.lang.Iterable<B>>>>ParModule. parMapIterable()
A first-class function that maps another function across an iterable in parallel.<A,B>
F<F<A,B>,F<java.lang.Iterable<A>,Promise<java.lang.Iterable<B>>>>ParModule. parMapIterable()
A first-class function that maps another function across an iterable in parallel.<A,B>
F<F<A,B>,F<List<A>,Promise<List<B>>>>ParModule. parMapList()
A first-class function that maps another function across a list in parallel.<A,B>
F<F<A,B>,F<List<A>,Promise<List<B>>>>ParModule. parMapList()
A first-class function that maps another function across a list in parallel.<B> F<F<B,A>,F<List<B>,P1<List<A>>>>
Strategy. parMapList()
First-class version of parMap on lists.<B> F<F<B,A>,F<List<B>,P1<List<A>>>>
Strategy. parMapList()
First-class version of parMap on lists.<B> F<F<B,A>,F<List<B>,List<A>>>
Strategy. parMapList1()
First-class version of parMap1 on lists (parallel list functor).<B> F<F<B,A>,F<List<B>,List<A>>>
Strategy. parMapList1()
First-class version of parMap1 on lists (parallel list functor).<A,B>
F<F<A,B>,F<Stream<A>,Promise<Stream<B>>>>ParModule. parMapStream()
A first-class function that maps another function across a stream in parallel.<A,B>
F<F<A,B>,F<Stream<A>,Promise<Stream<B>>>>ParModule. parMapStream()
A first-class function that maps another function across a stream in parallel.<A,B>
F<F<A,B>,F<Tree<A>,Promise<Tree<B>>>>ParModule. parMapTree()
A first-class function that maps across a Tree in parallel.<A,B>
F<F<A,B>,F<Tree<A>,Promise<Tree<B>>>>ParModule. parMapTree()
A first-class function that maps across a Tree in parallel.<A,B>
F<F<A,B>,F<A,Promise<B>>>ParModule. promisePure()
Returns a function that promotes a given function to a concurrent function that returns a Promise.<A,B>
F<F<A,B>,F<A,Promise<B>>>ParModule. promisePure()
Returns a function that promotes a given function to a concurrent function that returns a Promise.Methods in fj.control.parallel with parameters of type F Modifier and Type Method Description static <A> Actor<A>
Actor. actor(Strategy<Unit> s, F<A,P1<Unit>> e)
Creates a new Actor that uses the given parallelization strategy and has the given side-effect.static <A,B>
java.util.concurrent.Callable<B>Callables. bind(java.util.concurrent.Callable<A> a, F<A,java.util.concurrent.Callable<B>> f)
Binds the given function to the value in a Callable with a final join.static <A,B,C>
java.util.concurrent.Callable<C>Callables. bind(java.util.concurrent.Callable<A> ca, java.util.concurrent.Callable<B> cb, F<A,F<B,C>> f)
Binds the given function to the values in the given callables with a final join.<B,C>
Promise<C>Promise. bind(Promise<B> pb, F<A,F<B,C>> f)
Binds the given function to this promise and the given promise, with a final join.<B> Promise<B>
Promise. bind(F<A,Promise<B>> f)
Binds the given function over this promise, with a final join.<B,C>
Promise<C>Promise. bind(P1<Promise<B>> p, F<A,F<B,C>> f)
Binds the given function to this promise and the given promise, with a final join.static <A,B>
F<A,java.util.concurrent.Callable<B>>Callables. callable(F<A,B> f)
Wraps a given function's return value in a Callable.<B> Promise<B>
Promise. cobind(F<Promise<A>,B> f)
Binds the given function across a promise of this promise (Comonad pattern).<B> F<B,P1<A>>
Strategy. concurry(F<B,A> f)
Promotes a function to a concurrent function.<B> Actor<B>
Actor. contramap(F<B,A> f)
Contravariant functor pattern.Strategy<A>
Strategy. contramap(F<P1<A>,P1<A>> f)
Maps the given transformation across this strategy's codomain (Invariant Functor pattern).static <A,B>
F<java.util.concurrent.Callable<A>,java.util.concurrent.Callable<B>>Callables. fmap(F<A,B> f)
Lifts any function to a function on Callables.<B> Promise<B>
Promise. fmap(F<A,B> f)
Provides a promise to apply the given function to this promise's future value (covariant functor pattern).static <A,B>
F<Promise<A>,Promise<B>>Promise. fmap_(F<A,B> f)
Promotes any function to a transformation between promises (covariant functor pattern).static <A,B>
F<List<A>,Promise<B>>Promise. foldRight(Strategy<Unit> s, F<A,F<B,B>> f, B b)
Performs a right-fold reduction across a list in constant stack space.static <A,B>
F<Stream<A>,Promise<B>>Promise. foldRightS(Strategy<Unit> s, F<A,F<P1<B>,B>> f, B b)
Performs a right-fold reduction across a Stream in constant stack space.static <A,B,C>
F<java.util.concurrent.Callable<A>,F<java.util.concurrent.Callable<B>,java.util.concurrent.Callable<C>>>Callables. liftM2(F<A,F<B,C>> f)
Promotes a function of arity-2 to a function on callables.static <A,B,C>
F<Promise<A>,F<Promise<B>,Promise<C>>>Promise. liftM2(F<A,F<B,C>> f)
Promotes a function of arity-2 to a function on promises.Strategy<A>
Strategy. map(F<P1<A>,P1<A>> f)
Maps the given transformation across this strategy's domain (Invariant Functor pattern).<A,B>
Promise<List<B>>ParModule. mapM(List<A> as, F<A,Promise<B>> f)
Takes a Promise-valued function and applies it to each element in the given List, yielding a promise of a List of results.<A,B>
Promise<Stream<B>>ParModule. mapM(Stream<A> as, F<A,Promise<B>> f)
Takes a Promise-valued function and applies it to each element in the given Stream, yielding a promise of a Stream of results.<A,B>
Promise<P1<B>>ParModule. mapM(P1<A> a, F<A,Promise<B>> f)
Maps a concurrent function over a Product-1 inside a Promise.<A,B>
Promise<NonEmptyList<B>>ParModule. parExtend(NonEmptyList<A> as, F<NonEmptyList<A>,B> f)
Maps the given function across all sublists of the given NonEmptyList in parallel.<A,B>
Promise<Tree<B>>ParModule. parExtend(Tree<A> ta, F<Tree<A>,B> f)
Maps the given function across all subtrees of the given Tree in parallel.<A,B>
Promise<TreeZipper<B>>ParModule. parExtend(TreeZipper<A> za, F<TreeZipper<A>,B> f)
Maps the given function across all positions of the given TreeZipper in parallel.<A,B>
Promise<Zipper<B>>ParModule. parExtend(Zipper<A> za, F<Zipper<A>,B> f)
Maps the given function across all positions of the given zipper in parallel.<A,B>
Promise<Array<B>>ParModule. parFlatMap(Array<A> as, F<A,Array<B>> f)
Binds an Array-valued function across an Array in parallel, concatenating the results into a new Array.<A,B>
Promise<List<B>>ParModule. parFlatMap(List<A> as, F<A,List<B>> f)
Binds a list-valued function across a list in parallel, concatenating the results into a new list.<A,B>
Promise<Stream<B>>ParModule. parFlatMap(Stream<A> as, F<A,Stream<B>> f)
Binds a Stream-valued function across a Stream in parallel, concatenating the results into a new Stream.<A,B>
Promise<java.lang.Iterable<B>>ParModule. parFlatMap(java.lang.Iterable<A> as, F<A,java.lang.Iterable<B>> f)
Binds an Iterable-valued function across an Iterable in parallel, concatenating the results into a new Iterable.static <A,B>
P1<Array<B>>Strategy. parFlatMap(Strategy<Array<B>> s, F<A,Array<B>> f, Array<A> as)
Binds the given function in parallel across the given array, using the given strategy, with a final join.static <A,B>
P1<List<B>>Strategy. parFlatMap(Strategy<List<B>> s, F<A,List<B>> f, List<A> as)
Binds the given function in parallel across the given list, using the given strategy, with a final join.<A,B>
Promise<B>ParModule. parFoldMap(Stream<A> as, F<A,B> map, Monoid<B> reduce)
Maps with the given function across the given stream in parallel, while folding with the given monoid.<A,B>
Promise<B>ParModule. parFoldMap(Stream<A> as, F<A,B> map, Monoid<B> reduce, F<Stream<A>,P2<Stream<A>,Stream<A>>> chunking)
Maps with the given function across chunks of the given stream in parallel, while folding with the given monoid.<A,B>
Promise<B>ParModule. parFoldMap(java.lang.Iterable<A> as, F<A,B> map, Monoid<B> reduce)
Maps with the given function across the given iterable in parallel, while folding with the given monoid.<A,B>
Promise<B>ParModule. parFoldMap(java.lang.Iterable<A> as, F<A,B> map, Monoid<B> reduce, F<java.lang.Iterable<A>,P2<java.lang.Iterable<A>,java.lang.Iterable<A>>> chunking)
Maps with the given function across chunks of the given Iterable in parallel, while folding with the given monoid.<A,B>
Promise<Array<B>>ParModule. parMap(Array<A> as, F<A,B> f)
Maps across an Array in parallel.<A,B>
Promise<List<B>>ParModule. parMap(List<A> as, F<A,B> f)
Maps across a list in parallel.<A,B>
Promise<NonEmptyList<B>>ParModule. parMap(NonEmptyList<A> as, F<A,B> f)
Maps across a nonempty list in parallel.<A,B>
Promise<Stream<B>>ParModule. parMap(Stream<A> as, F<A,B> f)
Maps across a Stream in parallel.<A,B>
Promise<Tree<B>>ParModule. parMap(Tree<A> ta, F<A,B> f)
Maps a function across a Tree in parallel.<A,B>
Promise<TreeZipper<B>>ParModule. parMap(TreeZipper<A> za, F<A,B> f)
Maps a function across a TreeZipper in parallel.<A,B>
Promise<Zipper<B>>ParModule. parMap(Zipper<A> za, F<A,B> f)
Maps a function across a Zipper in parallel.<A,B>
Promise<java.lang.Iterable<B>>ParModule. parMap(java.lang.Iterable<A> as, F<A,B> f)
Maps across an Iterable in parallel.<B> P1<Array<A>>
Strategy. parMap(F<B,A> f, Array<B> bs)
Maps the given function over the given array in parallel using this strategy.<B> P1<List<A>>
Strategy. parMap(F<B,A> f, List<B> bs)
Maps the given function over the given list in parallel using this strategy.<B> Array<A>
Strategy. parMap1(F<B,A> f, Array<B> bs)
A strict version of parMap over arrays.<B> List<A>
Strategy. parMap1(F<B,A> f, List<B> bs)
A strict version of parMap over lists.<B> F<Array<B>,P1<Array<A>>>
Strategy. parMapArray(F<B,A> f)
Promotes a function to a parallel function on arrays using this strategy.<B> F<List<B>,P1<List<A>>>
Strategy. parMapList(F<B,A> f)
Promotes a function to a parallel function on lists using this strategy.<A,B,C>
Promise<Array<C>>ParModule. parZipWith(Array<A> as, Array<B> bs, F<A,F<B,C>> f)
Zips two arrays together with a given function, in parallel.<A,B,C>
Promise<List<C>>ParModule. parZipWith(List<A> as, List<B> bs, F<A,F<B,C>> f)
Zips two lists together with a given function, in parallel.<A,B,C>
Promise<Stream<C>>ParModule. parZipWith(Stream<A> as, Stream<B> bs, F<A,F<B,C>> f)
Zips two streams together with a given function, in parallel.<A,B,C>
Promise<java.lang.Iterable<C>>ParModule. parZipWith(java.lang.Iterable<A> as, java.lang.Iterable<B> bs, F<A,F<B,C>> f)
Zips two iterables together with a given function, in parallel.<A,B>
F<A,Promise<B>>ParModule. promise(F<A,B> f)
Promotes the given function to a concurrent function that returns a Promise.static <A,B>
F<A,Promise<B>>Promise. promise(Strategy<Unit> s, F<A,B> f)
Transforms any function so that it returns a promise of a value instead of an actual value.static <A> Strategy<A>
Strategy. strategy(F<P1<A>,P1<A>> f)
Constructs a strategy from the given evaluation function.<B> Strategy<B>
Strategy. xmap(F<P1<A>,P1<B>> f, F<P1<B>,P1<A>> g)
Maps the given bijective transformation across this strategy (Exponential Functor pattern).Method parameters in fj.control.parallel with type arguments of type F Modifier and Type Method Description <B> Promise<B>
Promise. apply(Promise<F<A,B>> pf)
Performs function application within a promise (applicative functor pattern).static <A,B,C>
java.util.concurrent.Callable<C>Callables. bind(java.util.concurrent.Callable<A> ca, java.util.concurrent.Callable<B> cb, F<A,F<B,C>> f)
Binds the given function to the values in the given callables with a final join.<B,C>
Promise<C>Promise. bind(Promise<B> pb, F<A,F<B,C>> f)
Binds the given function to this promise and the given promise, with a final join.<B,C>
Promise<C>Promise. bind(P1<Promise<B>> p, F<A,F<B,C>> f)
Binds the given function to this promise and the given promise, with a final join.static <A,B>
F<List<A>,Promise<B>>Promise. foldRight(Strategy<Unit> s, F<A,F<B,B>> f, B b)
Performs a right-fold reduction across a list in constant stack space.static <A,B>
F<Stream<A>,Promise<B>>Promise. foldRightS(Strategy<Unit> s, F<A,F<P1<B>,B>> f, B b)
Performs a right-fold reduction across a Stream in constant stack space.static <A,B,C>
F<java.util.concurrent.Callable<A>,F<java.util.concurrent.Callable<B>,java.util.concurrent.Callable<C>>>Callables. liftM2(F<A,F<B,C>> f)
Promotes a function of arity-2 to a function on callables.static <A,B,C>
F<Promise<A>,F<Promise<B>,Promise<C>>>Promise. liftM2(F<A,F<B,C>> f)
Promotes a function of arity-2 to a function on promises.<A,B,C>
Promise<Array<C>>ParModule. parZipWith(Array<A> as, Array<B> bs, F<A,F<B,C>> f)
Zips two arrays together with a given function, in parallel.<A,B,C>
Promise<List<C>>ParModule. parZipWith(List<A> as, List<B> bs, F<A,F<B,C>> f)
Zips two lists together with a given function, in parallel.<A,B,C>
Promise<Stream<C>>ParModule. parZipWith(Stream<A> as, Stream<B> bs, F<A,F<B,C>> f)
Zips two streams together with a given function, in parallel.<A,B,C>
Promise<java.lang.Iterable<C>>ParModule. parZipWith(java.lang.Iterable<A> as, java.lang.Iterable<B> bs, F<A,F<B,C>> f)
Zips two iterables together with a given function, in parallel.<B> Stream<B>
Promise. sequenceW(Stream<F<Promise<A>,B>> fs)
Applies a stream of comonadic functions to this promise, returning a stream of values.Constructors in fj.control.parallel with parameters of type F Constructor Description Actor(Strategy<Unit> s, F<A,P1<Unit>> e)
Strategy(F<P1<A>,P1<A>> f)
-
Uses of F in fj.data
Classes in fj.data that implement F Modifier and Type Class Description private static class
IOFunctions.CharChunkReader<A>
private static class
IOFunctions.CharChunkReader2<A>
private static class
IOFunctions.LineReader<A>
Fields in fj.data declared as F Modifier and Type Field Description static F<Natural,F<Natural,Natural>>
Natural. add
A function that adds two natural numbers.private F<List<A>,Trampoline<List<A>>>
DList. appendFn
static F<Array<java.lang.Boolean>,java.util.BitSet>
Java. Array_BitSet
A function that converts arrays to bit sets.static F<Array<java.lang.Character>,java.lang.String>
Conversions. Array_String
A function that converts arrays to strings.static F<Array<java.lang.Character>,java.lang.StringBuffer>
Conversions. Array_StringBuffer
A function that converts arrays to string buffers.static F<Array<java.lang.Character>,java.lang.StringBuilder>
Conversions. Array_StringBuilder
A function that converts arrays to string builders.static F<Natural,java.math.BigInteger>
Natural. bigIntegerValue
A function that returns the BigInteger value of a given Natural.static F<java.util.BitSet,List<java.lang.Boolean>>
Java. BitSet_List
A function that converts bit sets to lists.static F<java.io.Reader,IO<Unit>>
IOFunctions. closeReader
static F<Natural,F<Natural,Natural>>
Natural. divide
A function that divides its second argument by its first.static F<Natural,F<Natural,V2<Natural>>>
Natural. divmod
A function that divides its second argument by its first, yielding both the quotient and the remainder.private F<P2<A,Iteratee.Input<char[]>>,P1<Iteratee.IterV<char[],A>>>
IOFunctions.CharChunkReader. done
private F<P2<A,Iteratee.Input<java.lang.Character>>,Iteratee.IterV<java.lang.Character,A>>
IOFunctions.CharChunkReader2. done
private F<P2<A,Iteratee.Input<java.lang.String>>,P1<Iteratee.IterV<java.lang.String,A>>>
IOFunctions.LineReader. done
private F<A,Eval<B>>
Eval.BindTrampolineEval. f
static F<java.math.BigInteger,Option<Natural>>
Natural. fromBigInt
A function that returns the natural number equal to a given BigIntegerstatic F<Stream<java.lang.Character>,LazyString>
LazyString. fromStream
First-class conversion from character streams to lazy strings.private F<A,B>
Reader. function
private F<Iteratee.IterV<char[],A>,java.lang.Boolean>
IOFunctions.CharChunkReader. isDone
private F<Iteratee.IterV<java.lang.Character,A>,java.lang.Boolean>
IOFunctions.CharChunkReader2. isDone
private F<Iteratee.IterV<java.lang.String,A>,java.lang.Boolean>
IOFunctions.LineReader. isDone
static F<List<java.lang.Boolean>,java.util.BitSet>
Java. List_BitSet
A function that converts lists to bit sets.static F<List<java.lang.Character>,java.lang.String>
Conversions. List_String
A function that converts lists to strings.static F<List<java.lang.Character>,java.lang.StringBuffer>
Conversions. List_StringBuffer
A function that converts lists to string buffers.static F<List<java.lang.Character>,java.lang.StringBuilder>
Conversions. List_StringBuilder
A function that converts lists to string builders.static F<Natural,F<Natural,Natural>>
Natural. mod
A function that yields the remainder of division of its second argument by its first.static F<Natural,F<Natural,Natural>>
Natural. multiply
A function that multiplies a natural number by another.static F<Option<java.lang.Boolean>,java.util.BitSet>
Java. Option_BitSet
A function that converts options to bit sets.static F<Option<java.lang.Character>,java.lang.String>
Conversions. Option_String
A function that converts options to strings.static F<Option<java.lang.Character>,java.lang.StringBuffer>
Conversions. Option_StringBuffer
A function that converts options to string buffers.static F<Option<java.lang.Character>,java.lang.StringBuilder>
Conversions. Option_StringBuilder
A function that converts options to string builders.static F<java.lang.String,Option<java.lang.Byte>>
Option. parseByte
A function that parses a string to a byte.static F<java.lang.String,Validation<java.lang.NumberFormatException,java.lang.Byte>>
Validation. parseByte
A function that parses a string into a byte.static F<java.lang.String,Option<java.lang.Double>>
Option. parseDouble
A function that parses a string to a double.static F<java.lang.String,Validation<java.lang.NumberFormatException,java.lang.Double>>
Validation. parseDouble
A function that parses a string into a double.static F<java.lang.String,Option<java.lang.Float>>
Option. parseFloat
A function that parses a string to a float.static F<java.lang.String,Validation<java.lang.NumberFormatException,java.lang.Float>>
Validation. parseFloat
A function that parses a string into a float.static F<java.lang.String,Option<java.lang.Integer>>
Option. parseInt
A function that parses a string to an integer.static F<java.lang.String,Validation<java.lang.NumberFormatException,java.lang.Integer>>
Validation. parseInt
A function that parses a string into an integer.static F<java.lang.String,Option<java.lang.Long>>
Option. parseLong
A function that parses a string to a long.static F<java.lang.String,Validation<java.lang.NumberFormatException,java.lang.Long>>
Validation. parseLong
A function that parses a string into a long.static F<java.lang.String,Option<java.lang.Short>>
Option. parseShort
A function that parses a string to a short.static F<java.lang.String,Validation<java.lang.NumberFormatException,java.lang.Short>>
Validation. parseShort
A function that parses a string into a short.private F<A,F<java.lang.Long,Option<A>>>
Enumerator. plus
private F<A,Option<A>>
Enumerator. predecessor
private F<S,Trampoline<P2<S,A>>>
State. runF
static F<Stream<java.lang.Boolean>,java.util.BitSet>
Java. Stream_BitSet
A function that converts streams to bit sets.static F<Stream<java.lang.Character>,java.lang.String>
Conversions. Stream_String
A function that converts streams to strings.static F<Stream<java.lang.Character>,java.lang.StringBuffer>
Conversions. Stream_StringBuffer
A function that converts streams to string buffers.static F<Stream<java.lang.Character>,java.lang.StringBuilder>
Conversions. Stream_StringBuilder
A function that converts streams to string builders.static F<java.lang.String,Array<java.lang.Character>>
Conversions. String_Array
A function that converts strings to arrays.static F<java.lang.String,java.util.ArrayList<java.lang.Character>>
Java. String_ArrayList
A function that converts strings to array lists.static F<java.lang.String,java.util.concurrent.ConcurrentLinkedQueue<java.lang.Character>>
Java. String_ConcurrentLinkedQueue
A function that converts strings to concurrent linked queues.static F<java.lang.String,java.util.concurrent.CopyOnWriteArrayList<java.lang.Character>>
Java. String_CopyOnWriteArrayList
A function that converts strings to copy on write array lists.static F<java.lang.String,java.util.concurrent.CopyOnWriteArraySet<java.lang.Character>>
Java. String_CopyOnWriteArraySet
A function that converts strings to copy on write array sets.static F<java.lang.String,java.util.HashSet<java.lang.Character>>
Java. String_HashSet
A function that converts strings to hash sets.static F<java.lang.String,java.util.concurrent.LinkedBlockingQueue<java.lang.Character>>
Java. String_LinkedBlockingQueue
A function that converts strings to linked blocking queues.static F<java.lang.String,java.util.LinkedHashSet<java.lang.Character>>
Java. String_LinkedHashSet
A function that converts strings to linked hash sets.static F<java.lang.String,java.util.LinkedList<java.lang.Character>>
Java. String_LinkedList
A function that converts strings to linked lists.static F<java.lang.String,List<java.lang.Character>>
Conversions. String_List
A function that converts strings to lists.static F<java.lang.String,Option<java.lang.Character>>
Conversions. String_Option
A function that converts strings to options.static F<java.lang.String,java.util.concurrent.PriorityBlockingQueue<java.lang.Character>>
Java. String_PriorityBlockingQueue
A function that converts strings to priority blocking queues.static F<java.lang.String,java.util.PriorityQueue<java.lang.Character>>
Java. String_PriorityQueue
A function that converts strings to priority queues.static F<java.lang.String,java.util.Stack<java.lang.Character>>
Java. String_Stack
A function that converts strings to stacks.static F<java.lang.String,Stream<java.lang.Character>>
Conversions. String_Stream
A function that converts strings to streams.static F<java.lang.String,java.lang.StringBuffer>
Conversions. String_StringBuffer
A function that converts strings to string buffers.static F<java.lang.String,java.lang.StringBuilder>
Conversions. String_StringBuilder
A function that converts strings to string builders.static F<java.lang.String,java.util.TreeSet<java.lang.Character>>
Java. String_TreeSet
A function that converts strings to tree sets.static F<java.lang.String,java.util.Vector<java.lang.Character>>
Java. String_Vector
A function that converts strings to vectors.static F<java.lang.StringBuffer,Array<java.lang.Character>>
Conversions. StringBuffer_Array
A function that converts string buffers to arrays.static F<java.lang.StringBuffer,java.util.ArrayList<java.lang.Character>>
Java. StringBuffer_ArrayList
A function that converts string buffers to array lists.static F<java.lang.StringBuffer,java.util.concurrent.ConcurrentLinkedQueue<java.lang.Character>>
Java. StringBuffer_ConcurrentLinkedQueue
A function that converts string buffers to concurrent linked queues.static F<java.lang.StringBuffer,java.util.concurrent.CopyOnWriteArrayList<java.lang.Character>>
Java. StringBuffer_CopyOnWriteArrayList
A function that converts string buffers to copy on write array lists.static F<java.lang.StringBuffer,java.util.concurrent.CopyOnWriteArraySet<java.lang.Character>>
Java. StringBuffer_CopyOnWriteArraySet
A function that converts string buffers to copy on write array sets.static F<java.lang.StringBuffer,java.util.HashSet<java.lang.Character>>
Java. StringBuffer_HashSet
A function that converts string buffers to hash sets.static F<java.lang.StringBuffer,java.util.concurrent.LinkedBlockingQueue<java.lang.Character>>
Java. StringBuffer_LinkedBlockingQueue
A function that converts string buffers to linked blocking queues.static F<java.lang.StringBuffer,java.util.LinkedHashSet<java.lang.Character>>
Java. StringBuffer_LinkedHashSet
A function that converts string buffers to linked hash sets.static F<java.lang.StringBuffer,java.util.LinkedList<java.lang.Character>>
Java. StringBuffer_LinkedList
A function that converts string buffers to linked lists.static F<java.lang.StringBuffer,List<java.lang.Character>>
Conversions. StringBuffer_List
A function that converts string buffers to lists.static F<java.lang.StringBuffer,Option<java.lang.Character>>
Conversions. StringBuffer_Option
A function that converts string buffers to options.static F<java.lang.StringBuffer,java.util.concurrent.PriorityBlockingQueue<java.lang.Character>>
Java. StringBuffer_PriorityBlockingQueue
A function that converts string buffers to priority blocking queues.static F<java.lang.StringBuffer,java.util.PriorityQueue<java.lang.Character>>
Java. StringBuffer_PriorityQueue
A function that converts string buffers to priority queues.static F<java.lang.StringBuffer,java.util.Stack<java.lang.Character>>
Java. StringBuffer_Stack
A function that converts string buffers to stacks.static F<java.lang.StringBuffer,Stream<java.lang.Character>>
Conversions. StringBuffer_Stream
A function that converts string buffers to streams.static F<java.lang.StringBuffer,java.lang.String>
Conversions. StringBuffer_String
A function that converts string buffers to strings.static F<java.lang.StringBuffer,java.lang.StringBuilder>
Conversions. StringBuffer_StringBuilder
A function that converts string buffers to string builders.static F<java.lang.StringBuffer,java.util.TreeSet<java.lang.Character>>
Java. StringBuffer_TreeSet
A function that converts string buffers to tree sets.static F<java.lang.StringBuffer,java.util.Vector<java.lang.Character>>
Java. StringBuffer_Vector
A function that converts string buffers to vectors.static F<java.lang.StringBuilder,Array<java.lang.Character>>
Conversions. StringBuilder_Array
A function that converts string builders to arrays.static F<java.lang.StringBuilder,java.util.ArrayList<java.lang.Character>>
Java. StringBuilder_ArrayList
A function that converts string builders to array lists.static F<java.lang.StringBuilder,java.util.concurrent.ConcurrentLinkedQueue<java.lang.Character>>
Java. StringBuilder_ConcurrentLinkedQueue
A function that converts string builders to concurrent linked queues.static F<java.lang.StringBuilder,java.util.concurrent.CopyOnWriteArrayList<java.lang.Character>>
Java. StringBuilder_CopyOnWriteArrayList
A function that converts string builders to copy on write array lists.static F<java.lang.StringBuilder,java.util.concurrent.CopyOnWriteArraySet<java.lang.Character>>
Java. StringBuilder_CopyOnWriteArraySet
A function that converts string builders to copy on write array sets.static F<java.lang.StringBuilder,java.util.HashSet<java.lang.Character>>
Java. StringBuilder_HashSet
A function that converts string builders to hash sets.static F<java.lang.StringBuilder,java.util.concurrent.LinkedBlockingQueue<java.lang.Character>>
Java. StringBuilder_LinkedBlockingQueue
A function that converts string builders to linked blocking queues.static F<java.lang.StringBuilder,java.util.LinkedHashSet<java.lang.Character>>
Java. StringBuilder_LinkedHashSet
A function that converts string builders to linked hash sets.static F<java.lang.StringBuilder,java.util.LinkedList<java.lang.Character>>
Java. StringBuilder_LinkedList
A function that converts string builders to linked lists.static F<java.lang.StringBuilder,List<java.lang.Character>>
Conversions. StringBuilder_List
A function that converts string builders to lists.static F<java.lang.StringBuilder,Option<java.lang.Character>>
Conversions. StringBuilder_Option
A function that converts string builders to options.static F<java.lang.StringBuilder,java.util.concurrent.PriorityBlockingQueue<java.lang.Character>>
Java. StringBuilder_PriorityBlockingQueue
A function that converts string builders to priority blocking queues.static F<java.lang.StringBuilder,java.util.PriorityQueue<java.lang.Character>>
Java. StringBuilder_PriorityQueue
A function that converts string builders to priority queues.static F<java.lang.StringBuilder,java.util.Stack<java.lang.Character>>
Java. StringBuilder_Stack
A function that converts string builders to stacks.static F<java.lang.StringBuilder,Stream<java.lang.Character>>
Conversions. StringBuilder_Stream
A function that converts string builders to streams.static F<java.lang.StringBuilder,java.lang.String>
Conversions. StringBuilder_String
A function that converts string builders to strings.static F<java.lang.StringBuilder,java.lang.StringBuffer>
Conversions. StringBuilder_StringBuffer
A function that converts string builders to string buffers.static F<java.lang.StringBuilder,java.util.TreeSet<java.lang.Character>>
Java. StringBuilder_TreeSet
A function that converts string builders to tree sets.static F<java.lang.StringBuilder,java.util.Vector<java.lang.Character>>
Java. StringBuilder_Vector
A function that converts string builders to vectors.static F<Natural,F<Natural,Option<Natural>>>
Natural. subtract
A function that subtracts its first argument from its second.private F<A,Option<A>>
Enumerator. successor
static F<LazyString,Stream<java.lang.Character>>
LazyString. toStream
First-class conversion from lazy strings to streams.static F<LazyString,java.lang.String>
LazyString. toString
First-class conversion from lazy strings to String.Fields in fj.data with type parameters of type F Modifier and Type Field Description static F<Natural,F<Natural,Natural>>
Natural. add
A function that adds two natural numbers.static F<Natural,F<Natural,Natural>>
Natural. divide
A function that divides its second argument by its first.static F<Natural,F<Natural,V2<Natural>>>
Natural. divmod
A function that divides its second argument by its first, yielding both the quotient and the remainder.static F<Natural,F<Natural,Natural>>
Natural. mod
A function that yields the remainder of division of its second argument by its first.static F<Natural,F<Natural,Natural>>
Natural. multiply
A function that multiplies a natural number by another.private F<A,F<java.lang.Long,Option<A>>>
Enumerator. plus
static F<Natural,F<Natural,Option<Natural>>>
Natural. subtract
A function that subtracts its first argument from its second.Methods in fj.data that return F Modifier and Type Method Description static <A> F<Array<A>,java.util.concurrent.ArrayBlockingQueue<A>>
Java. Array_ArrayBlockingQueue(boolean fair)
A function that converts arrays to array blocking queues.static <A> F<Array<A>,java.util.ArrayList<A>>
Java. Array_ArrayList()
A function that converts arrays to array lists.static <A> F<Array<A>,java.util.concurrent.ConcurrentLinkedQueue<A>>
Java. Array_ConcurrentLinkedQueue()
A function that converts arrays to concurrent linked queues.static <A> F<Array<A>,java.util.concurrent.CopyOnWriteArrayList<A>>
Java. Array_CopyOnWriteArrayList()
A function that converts arrays to copy on write array lists.static <A> F<Array<A>,java.util.concurrent.CopyOnWriteArraySet<A>>
Java. Array_CopyOnWriteArraySet()
A function that converts arrays to copy on write array sets.static <A extends java.util.concurrent.Delayed>
F<Array<A>,java.util.concurrent.DelayQueue<A>>Java. Array_DelayQueue()
A function that converts arrays to delay queues.static <A,B>
F<P1<A>,F<Array<B>,Either<A,B>>>Conversions. Array_Either()
A function that converts arrays to eithers.static <A extends java.lang.Enum<A>>
F<Array<A>,java.util.EnumSet<A>>Java. Array_EnumSet()
A function that converts arrays to enum sets.static <A> F<Array<A>,java.util.HashSet<A>>
Java. Array_HashSet()
A function that converts arrays to hash sets.static <A> F<Array<A>,java.util.concurrent.LinkedBlockingQueue<A>>
Java. Array_LinkedBlockingQueue()
A function that converts arrays to linked blocking queues.static <A> F<Array<A>,java.util.LinkedHashSet<A>>
Java. Array_LinkedHashSet()
A function that converts arrays to linked hash sets.static <A> F<Array<A>,java.util.LinkedList<A>>
Java. Array_LinkedList()
A function that converts arrays to linked lists.static <A> F<Array<A>,List<A>>
Conversions. Array_List()
A function that converts arrays to lists.static <A> F<Array<A>,Option<A>>
Conversions. Array_Option()
A function that converts arrays to options.static <A> F<Array<A>,java.util.concurrent.PriorityBlockingQueue<A>>
Java. Array_PriorityBlockingQueue()
A function that converts arrays to priority blocking queues.static <A> F<Array<A>,java.util.PriorityQueue<A>>
Java. Array_PriorityQueue()
A function that converts arrays to priority queues.static <A> F<Array<A>,java.util.Stack<A>>
Java. Array_Stack()
A function that converts arrays to stacks.static <A> F<Array<A>,Stream<A>>
Conversions. Array_Stream()
A function that converts arrays to streams.static <A> F<Array<A>,java.util.concurrent.SynchronousQueue<A>>
Java. Array_SynchronousQueue(boolean fair)
A function that converts arrays to synchronous queues.static <A> F<Array<A>,java.util.TreeSet<A>>
Java. Array_TreeSet()
A function that converts arrays to tree sets.static <A> F<Array<A>,java.util.Vector<A>>
Java. Array_Vector()
A function that converts arrays to vectors.static <A> F<java.util.concurrent.ArrayBlockingQueue<A>,List<A>>
Java. ArrayBlockingQueue_List()
A function that converts array blocking queues to lists.static <A> F<java.util.ArrayList<A>,List<A>>
Java. ArrayList_List()
A function that converts array lists to lists.static <A,B>
F<F<A,B>,F<A,IterableW<B>>>IterableW. arrow()
Provides a transformation from a function to a Iterable-valued function that is equivalent to it.static F<List<java.lang.Character>,java.lang.String>
List. asString()
A first-classasString
.static <A,B,C>
F<java.util.function.BiFunction<A,B,C>,F2<A,B,C>>Java8. BiFunction_F2()
static <A,B,T extends java.lang.Iterable<B>>
F<IterableW<A>,F<F<A,T>,IterableW<B>>>IterableW. bind()
The first-class bind function over Iterable.static <A,B>
F<F<A,Option<B>>,F<Option<A>,Option<B>>>Option. bind()
First-class bind function.static <A,B>
F<F<A,List<B>>,F<List<A>,List<B>>>List. bind_()
Provides a first-class version of bind()static <A,B>
F<F<A,Stream<B>>,F<Stream<A>,Stream<B>>>Stream. bind_()
A first-class version of the bind function.static <A> F<java.io.Reader,F<Iteratee.IterV<char[],A>,IO<Iteratee.IterV<char[],A>>>>
IOFunctions. charChunkReader()
A function that feeds an iteratee with character chunks read from aReader
(char[] of sizeIOFunctions.DEFAULT_BUFFER_SIZE
).static <A> F<java.io.Reader,F<Iteratee.IterV<java.lang.Character,A>,IO<Iteratee.IterV<java.lang.Character,A>>>>
IOFunctions. charChunkReader2()
A function that feeds an iteratee with characters read from aReader
(chars are read in chunks of sizeIOFunctions.DEFAULT_BUFFER_SIZE
).static <A> F<java.util.Collection<A>,List<A>>
Java. Collection_List()
static <A> F<java.util.concurrent.ConcurrentLinkedQueue<A>,List<A>>
Java. ConcurrentLinkedQueue_List()
A function that converts concurrent linked queues to lists.static <A> F<A,F<List<A>,List<A>>>
List. cons()
Returns a function that prepends (cons) an element to a list to produce a new list.static <A> F<A,List<A>>
List. cons(List<A> tail)
Returns a function that prepends a value to the given list.static <A> F<A,F<P1<Stream<A>>,Stream<A>>>
Stream. cons()
Returns a function that prepends (cons) an element to a stream to produce a new stream.static <A> F<List<A>,List<A>>
List. cons_(A a)
Returns a function that prepends the given value to a list.static <A> F<A,F<Stream<A>,Stream<A>>>
Stream. cons_()
Returns a function that prepends (cons) an element to a stream to produce a new stream.static <A> F<java.util.function.Consumer<A>,F<A,Unit>>
Java8. Consumer_F()
static <A> F<A,Unit>
Java8. Consumer_F(java.util.function.Consumer<A> c)
static <A> F<java.util.concurrent.CopyOnWriteArrayList<A>,List<A>>
Java. CopyOnWriteArrayList_List()
A function that converts copy on write array lists to lists.static <A> F<java.util.concurrent.CopyOnWriteArraySet<A>,List<A>>
Java. CopyOnWriteArraySet_List()
A function that converts copy on write array sets to lists.static <A extends java.util.concurrent.Delayed>
F<java.util.concurrent.DelayQueue<A>,List<A>>Java. DelayQueue_List()
A function that converts delay queues to lists.F<A,F<Set<A>,Set<A>>>
Set. delete()
First-class deletion function.private static <A> F<TreeZipper<A>,P2<TreeZipper<A>,P1<Stream<TreeZipper<A>>>>>
TreeZipper. dwn()
static F<Effect0,IO<Unit>>
Conversions. Effect_IO()
static F<Effect0,SafeIO<Unit>>
Conversions. Effect_SafeIO()
static F<Effect0,P1<Unit>>
Conversions. Effect0_P1()
static <A> F<Effect1<A>,F<A,Unit>>
Conversions. Effect1_F()
static <A> F<A,Unit>
Conversions. Effect1_F(Effect1<A> e)
static <E,T>
F<Validation<E,T>,Either<E,T>>Validation. either()
Returns a function that constructs an either with a validation.static <A,B,X>
F<Either<A,B>,X>Either. either_(F<A,X> left, F<B,X> right)
First class catamorphism for either.static <A,B,C,D>
F<Either3<A,B,C>,D>Either3. either_(F<A,D> fa, F<B,D> fb, F<C,D> fc)
static <A,B>
F<Either<A,B>,Array<A>>Conversions. Either_ArrayA()
A function that converts eithers to arrays.static <A,B>
F<Either<A,B>,Array<B>>Conversions. Either_ArrayB()
A function that converts eithers to arrays.static <A,B>
F<Either<A,B>,java.util.concurrent.ArrayBlockingQueue<A>>Java. Either_ArrayBlockingQueueA(boolean fair)
A function that converts eithers to array blocking queues.static <A,B>
F<Either<A,B>,java.util.concurrent.ArrayBlockingQueue<B>>Java. Either_ArrayBlockingQueueB(boolean fair)
A function that converts eithers to array blocking queues.static <A,B>
F<Either<A,B>,java.util.ArrayList<A>>Java. Either_ArrayListA()
A function that converts eithers to array lists.static <A,B>
F<Either<A,B>,java.util.ArrayList<B>>Java. Either_ArrayListB()
A function that converts eithers to array lists.static <B> F<Either<java.lang.Boolean,B>,java.util.BitSet>
Java. Either_BitSetA()
A function that converts eithers to bit sets.static <A> F<Either<A,java.lang.Boolean>,java.util.BitSet>
Java. Either_BitSetB()
A function that converts eithers to bit sets.static <A,B>
F<Either<A,B>,java.util.concurrent.ConcurrentLinkedQueue<A>>Java. Either_ConcurrentLinkedQueueA()
A function that converts eithers to concurrent linked queues.static <A,B>
F<Either<A,B>,java.util.concurrent.ConcurrentLinkedQueue<B>>Java. Either_ConcurrentLinkedQueueB()
A function that converts eithers to concurrent linked queues.static <A,B>
F<Either<A,B>,java.util.concurrent.CopyOnWriteArrayList<A>>Java. Either_CopyOnWriteArrayListA()
A function that converts eithers to copy on write array lists.static <A,B>
F<Either<A,B>,java.util.concurrent.CopyOnWriteArrayList<B>>Java. Either_CopyOnWriteArrayListB()
A function that converts eithers to copy on write array lists.static <A,B>
F<Either<A,B>,java.util.concurrent.CopyOnWriteArraySet<A>>Java. Either_CopyOnWriteArraySetA()
A function that converts eithers to copy on write array sets.static <A,B>
F<Either<A,B>,java.util.concurrent.CopyOnWriteArraySet<B>>Java. Either_CopyOnWriteArraySetB()
A function that converts eithers to copy on write array sets.static <A extends java.util.concurrent.Delayed,B>
F<Either<A,B>,java.util.concurrent.DelayQueue<A>>Java. Either_DelayQueueA()
A function that converts eithers to delay queues.static <A,B extends java.util.concurrent.Delayed>
F<Either<A,B>,java.util.concurrent.DelayQueue<B>>Java. Either_DelayQueueB()
A function that converts eithers to delay queues.static <A extends java.lang.Enum<A>,B>
F<Either<A,B>,java.util.EnumSet<A>>Java. Either_EnumSetA()
A function that converts eithers to enum sets.static <A,B extends java.lang.Enum<B>>
F<Either<A,B>,java.util.EnumSet<B>>Java. Either_EnumSetB()
A function that converts eithers to enum sets.static <A,B>
F<Either<A,B>,java.util.HashSet<A>>Java. Either_HashSetA()
A function that converts eithers to hash sets.static <A,B>
F<Either<A,B>,java.util.HashSet<B>>Java. Either_HashSetB()
A function that converts eithers to hash sets.static <A,B>
F<Either<A,B>,java.util.concurrent.LinkedBlockingQueue<A>>Java. Either_LinkedBlockingQueueA()
A function that converts eithers to linked blocking queues.static <A,B>
F<Either<A,B>,java.util.concurrent.LinkedBlockingQueue<B>>Java. Either_LinkedBlockingQueueB()
A function that converts eithers to linked blocking queues.static <A,B>
F<Either<A,B>,java.util.LinkedHashSet<A>>Java. Either_LinkedHashSetA()
A function that converts eithers to linked hash sets.static <A,B>
F<Either<A,B>,java.util.LinkedHashSet<B>>Java. Either_LinkedHashSetB()
A function that converts eithers to linked hash sets.static <A,B>
F<Either<A,B>,java.util.LinkedList<A>>Java. Either_LinkedListA()
A function that converts eithers to linked lists.static <A,B>
F<Either<A,B>,java.util.LinkedList<B>>Java. Either_LinkedListB()
A function that converts eithers to linked lists.static <A,B>
F<Either<A,B>,List<A>>Conversions. Either_ListA()
A function that converts eithers to lists.static <A,B>
F<Either<A,B>,List<B>>Conversions. Either_ListB()
A function that converts eithers to lists.static <A,B>
F<Either<A,B>,Option<A>>Conversions. Either_OptionA()
A function that converts eithers to options.static <A,B>
F<Either<A,B>,Option<B>>Conversions. Either_OptionB()
A function that converts eithers to options.static <A,B>
F<Either<A,B>,java.util.concurrent.PriorityBlockingQueue<A>>Java. Either_PriorityBlockingQueueA()
A function that converts eithers to priority blocking queues.static <A,B>
F<Either<A,B>,java.util.concurrent.PriorityBlockingQueue<B>>Java. Either_PriorityBlockingQueueB()
A function that converts eithers to priority blocking queues.static <A,B>
F<Either<A,B>,java.util.Stack<A>>Java. Either_StackA()
A function that converts eithers to stacks.static <A,B>
F<Either<A,B>,java.util.Stack<B>>Java. Either_StackB()
A function that converts eithers to stacks.static <A,B>
F<Either<A,B>,Stream<A>>Conversions. Either_StreamA()
A function that converts eithers to streams.static <A,B>
F<Either<A,B>,Stream<B>>Conversions. Either_StreamB()
A function that converts eithers to streams.static <B> F<Either<java.lang.Character,B>,java.lang.String>
Conversions. Either_StringA()
A function that converts eithers to strings.static <A> F<Either<A,java.lang.Character>,java.lang.String>
Conversions. Either_StringB()
A function that converts eithers to strings.static <B> F<Either<java.lang.Character,B>,java.lang.StringBuffer>
Conversions. Either_StringBufferA()
A function that converts eithers to string buffers.static <A> F<Either<A,java.lang.Character>,java.lang.StringBuffer>
Conversions. Either_StringBufferB()
A function that converts eithers to string buffers.static <B> F<Either<java.lang.Character,B>,java.lang.StringBuilder>
Conversions. Either_StringBuilderA()
A function that converts eithers to string builders.static <A> F<Either<A,java.lang.Character>,java.lang.StringBuilder>
Conversions. Either_StringBuilderB()
A function that converts eithers to string builders.static <A,B>
F<Either<A,B>,java.util.concurrent.SynchronousQueue<A>>Java. Either_SynchronousQueueA(boolean fair)
A function that converts eithers to synchronous queues.static <A,B>
F<Either<A,B>,java.util.concurrent.SynchronousQueue<B>>Java. Either_SynchronousQueueB(boolean fair)
A function that converts eithers to synchronous queues.static <A,B>
F<Either<A,B>,java.util.TreeSet<A>>Java. Either_TreeSetA()
A function that converts eithers to tree sets.static <A,B>
F<Either<A,B>,java.util.TreeSet<B>>Java. Either_TreeSetB()
A function that converts eithers to tree sets.static <A,B>
F<Either<A,B>,java.util.Vector<A>>Java. Either_VectorA()
A function that converts eithers to vectors.static <A,B>
F<Either<A,B>,java.util.Vector<B>>Java. Either_VectorB()
A function that converts eithers to vectors.static <A extends java.lang.Enum<A>>
F<java.util.EnumSet<A>,List<A>>Java. EnumSet_List()
A function that converts enum sets to lists.static <A,B>
F<F<A,B>,java.util.function.Function<A,B>>Java8. F_Function()
static <A> F<F<Unit,A>,SafeIO<A>>
Conversions. F_SafeIO()
static <A,B,C>
F<F2<A,B,C>,java.util.function.BiFunction<A,B,C>>Java8. F2_BiFunction()
static <A> F<F<A,java.lang.Boolean>,F<Stream<A>,Stream<A>>>
Stream. filter()
Returns a first-class version of the filter function.static <A> F<Tree<A>,Stream<A>>
Tree. flatten_()
flatten :: Tree a -> [a] flatten t = squish t []
private static <A> F<Stream<A>,Promise<Stream<A>>>
Stream. flt(Ord<A> o, Strategy<Unit> s, A x, F<java.lang.Boolean,java.lang.Boolean> f)
static <A,B>
F<F<A,B>,F<Tree<A>,Tree<B>>>Tree. fmap_()
Provides a transformation to lift any function so that it maps over Trees.static <A,B>
F<F<B,F<A,B>>,F<B,F<List<A>,B>>>List. foldLeft()
Provides a first-class version of foldLeft.static <A,B>
F<Tree<A>,B>Tree. foldMap_(F<A,B> f, Monoid<B> m)
Provides a function that folds a tree with the given monoid.static <A,B>
F<F<A,F<P1<B>,B>>,F<B,F<Stream<A>,B>>>Stream. foldRight()
A first-class version of the foldRight function.static <T> F<T,Option<T>>
Option. fromNull()
Turns an unsafe nullable value into a safe optional value.static <A> F<Option<A>,A>
Option. fromSome()
Returns a function that takes an optional value to a value or errors if there is no value.static F<java.lang.String,List<java.lang.Character>>
List. fromString()
A first-classfromString
.static F<java.lang.String,Option<java.lang.String>>
Option. fromString()
Returns a function that transforms a string to an optional non-empty string, or no value if the string is empty.static <A> F<Tree<A>,TreeZipper<A>>
TreeZipper. fromTree()
First-class conversion of a Tree to the corresponding tree zipper.static <A,B>
F<java.util.function.Function<A,B>,F<A,B>>Java8. Function_F()
static <A,B>
F<A,B>Java8. Function_F(java.util.function.Function<A,B> f)
static <A> F<java.util.concurrent.Future<A>,P1<Either<java.lang.Exception,A>>>
Java. Future_P1()
F<K,Option<V>>
HashMap. get()
A curried version ofHashMap.get(Object)
.F<K,Option<V>>
TreeMap. get()
Returns a first-class version of the get method for this TreeMap.F<A,B>
Reader. getFunction()
private static <A> F<Tree<A>,A>
Tree. getRoot()
static <A> F<java.util.HashSet<A>,List<A>>
Java. HashSet_List()
A function that converts hash sets to lists.static <A> F<List<A>,A>
List. head_()
First-class head function.static <A> F<A,F<Set<A>,Set<A>>>
Set. insert()
First-class insertion function.static <A> F<Set<A>,F<Set<A>,Set<A>>>
Set. intersect()
A first class function forSet.intersect(Set)
.static <A> F<List<A>,java.lang.Boolean>
List. isEmpty_()
Returns a function that determines whether a given list is empty.static <A> F<Stream<A>,java.lang.Boolean>
Stream. isEmpty_()
Returns a function that determines whether a given stream is empty.static <A> F<Option<A>,java.lang.Boolean>
Option. isNone_()
A first-class version of the isNone method.static <A> F<List<A>,java.lang.Boolean>
List. isNotEmpty_()
Returns a function that determines whether a given list is not empty.static <A> F<Stream<A>,java.lang.Boolean>
Stream. isNotEmpty_()
Returns a function that determines whether a given stream is not empty.static <A> F<Option<A>,java.lang.Boolean>
Option. isSome_()
A first-class version of the isSome method.static <A,B>
F<A,IterableW<B>>IterableW. iterable(F<A,B> f)
Wraps a given function's return value in a Iterable.static <A> F<F<A,A>,F<A,Stream<A>>>
Stream. iterate()
A first-class version of the iterate function.static <A> F<java.util.List<A>,List<A>>
Java. JavaList_List()
static <A> F<Array<Array<A>>,Array<A>>
Array. join()
A first-class version of joinstatic <A,T extends java.lang.Iterable<A>>
F<java.lang.Iterable<T>,IterableW<A>>IterableW. join()
Returns a function that joins an Iterable of Iterables into a single Iterable.static <A> F<List<List<A>>,List<A>>
List. join()
A first-class version of joinstatic <A> F<Option<Option<A>>,Option<A>>
Option. join()
First-class join function.static <A> F<Stream<Stream<A>>,Stream<A>>
Stream. join()
A first-class version of joinprivate static <A,B,C>
F<A,Trampoline<C>>DList. kleisliTrampCompose(F<B,Trampoline<C>> bc, F<A,Trampoline<B>> ab)
static <A,B>
F<A,Either<A,B>>Either. left_()
A function that constructs a left value of either.static <A,B,C>
F<A,Either3<A,B,C>>Either3. left_()
static <A> F<TreeZipper<A>,Option<TreeZipper<A>>>
TreeZipper. left_()
A first-class version of the left() function.static <A,B,X>
F<F<A,X>,F<Either<A,B>,Either<X,B>>>Either. leftMap_()
Return a function that maps a given function across this either's left projection.<X> F<F<A,X>,Either3<X,B,C>>
Either3. leftMap_()
static <A> F<List<A>,java.lang.Integer>
List. length_()
First-class length.static <A,B,C>
F<java.lang.Iterable<A>,F<java.lang.Iterable<B>,IterableW<C>>>IterableW. liftM2(F<A,F<B,C>> f)
Promotes a function of arity-2 to a function on iterables.static <A,B,C>
F<List<A>,F<List<B>,List<C>>>List. liftM2(F<A,F<B,C>> f)
Promotes the given function of arity-2 to a function on lists.static <A,B,C>
F<Option<A>,F<Option<B>,Option<C>>>Option. liftM2(F<A,F<B,C>> f)
Promotes a function of arity-2 so that it operates over options.static <A> F<java.io.BufferedReader,F<Iteratee.IterV<java.lang.String,A>,IO<Iteratee.IterV<java.lang.String,A>>>>
IOFunctions. lineReader()
A function that feeds an iteratee with lines read from aBufferedReader
.static F<LazyString,Stream<LazyString>>
LazyString. lines_()
static <A> F<java.util.concurrent.LinkedBlockingQueue<A>,List<A>>
Java. LinkedBlockingQueue_List()
A function that converts linked blocking queues to lists.static <A> F<java.util.LinkedHashSet<A>,List<A>>
Java. LinkedHashSet_List()
A function that converts linked hash sets to lists.static <A> F<java.util.LinkedList<A>,List<A>>
Java. LinkedList_List()
A function that converts linked lists to lists.static <A> F<List<A>,Array<A>>
Conversions. List_Array()
A function that converts lists to arrays.static <A> F<List<A>,java.util.concurrent.ArrayBlockingQueue<A>>
Java. List_ArrayBlockingQueue(boolean fair)
A function that converts lists to array blocking queue.static <A> F<List<A>,java.util.ArrayList<A>>
Java. List_ArrayList()
A function that converts lists to array lists.static <A> F<List<A>,java.util.concurrent.ConcurrentLinkedQueue<A>>
Java. List_ConcurrentLinkedQueue()
A function that converts lists to concurrent linked queues.static <A> F<List<A>,java.util.concurrent.CopyOnWriteArrayList<A>>
Java. List_CopyOnWriteArrayList()
A function that converts lists to copy on write array lists.static <A> F<List<A>,java.util.concurrent.CopyOnWriteArraySet<A>>
Java. List_CopyOnWriteArraySet()
A function that converts lists to copy on write array sets.static <A extends java.util.concurrent.Delayed>
F<List<A>,java.util.concurrent.DelayQueue<A>>Java. List_DelayQueue()
A function that converts lists to delay queues.static <A,B>
F<P1<A>,F<List<B>,Either<A,B>>>Conversions. List_Either()
A function that converts lists to eithers.static <A extends java.lang.Enum<A>>
F<List<A>,java.util.EnumSet<A>>Java. List_EnumSet()
A function that converts lists to array enum sets.static <A> F<List<A>,java.util.HashSet<A>>
Java. List_HashSet()
A function that converts lists to hash sets.static <A> F<List<A>,java.util.concurrent.LinkedBlockingQueue<A>>
Java. List_LinkedBlockingQueue()
A function that converts lists to linked blocking queues.static <A> F<List<A>,java.util.LinkedHashSet<A>>
Java. List_LinkedHashSet()
A function that converts lists to linked hash sets.static <A> F<List<A>,java.util.LinkedList<A>>
Java. List_LinkedList()
A function that converts lists to linked lists.static <A> F<List<A>,Option<A>>
Conversions. List_Option()
A function that converts lists to options.static <A> F<List<A>,java.util.concurrent.PriorityBlockingQueue<A>>
Java. List_PriorityBlockingQueue()
A function that converts lists to priority blocking queues.static <A> F<List<A>,java.util.PriorityQueue<A>>
Java. List_PriorityQueue()
A function that converts lists to priority queues.static <A> F<List<A>,java.util.Stack<A>>
Java. List_Stack()
A function that converts lists to stacks.static <A> F<List<A>,Stream<A>>
Conversions. List_Stream()
A function that converts lists to streams.static <A> F<List<A>,java.util.concurrent.SynchronousQueue<A>>
Java. List_SynchronousQueue(boolean fair)
A function that converts lists to synchronous queues.static <A> F<List<A>,java.util.TreeSet<A>>
Java. List_TreeSet()
A function that converts lists to stacks.static <A> F<List<A>,java.util.Vector<A>>
Java. List_Vector()
A function that converts lists to vectors.static <A,B>
F<F<A,B>,F<Array<A>,Array<B>>>Array. map()
First-class map function for Arrays.static <A,B>
F<F<A,B>,F<IterableW<A>,IterableW<B>>>IterableW. map()
Returns a function that promotes any function so that it operates on Iterables.static <A,B>
F<F<A,B>,F<Option<A>,Option<B>>>Option. map()
A first-class map function.static <A,B>
F<F<A,B>,F<List<A>,List<B>>>List. map_()
Provides a first-class version of map()static <A,B>
F<F<A,B>,F<Stream<A>,Stream<B>>>Stream. map_()
Provides a first-class version of the map function.<B,C>
F<B,List<C>>List. mapM(F<A,F<B,C>> f)
Maps the given function of arity-2 across this list and returns a function that applies all the resulting functions to a given argument.<B,C>
F<B,Stream<C>>Stream. mapM(F<A,F<B,C>> f)
Maps the given function of arity-2 across this stream and returns a function that applies all the resulting functions to a given argument.static <A> F<Set<A>,F<A,java.lang.Boolean>>
Set. member()
First-class membership check.<X> F<F<B,X>,Either3<A,X,C>>
Either3. middleMap_()
static <A> F<Set<A>,F<Set<A>,Set<A>>>
Set. minus()
A first class function forSet.minus(Set)
.static <A> F<java.lang.Integer,F<Zipper<A>,Option<Zipper<A>>>>
Zipper. move()
A first-class version of the move function.static <A> F<A,NonEmptyList<A>>
NonEmptyList. nel()
Returns a function that puts an element into a non-empty list.static <A> F<Zipper<A>,Option<Zipper<A>>>
Zipper. next_()
First-class version of the next() function.static <A> F<A,F<P1<Stream<Tree<A>>>,Tree<A>>>
Tree. node()
First-class constructor of trees.static <T> F<T,Option<T>>
Option. none_()
static <A,B>
F<Option<A>,B>Option. option_(B none, F<A,B> some)
First-class catamorphism for Option: return a function that will performs a reduction on an optional value using the given arguments.static <A> F<Option<A>,Array<A>>
Conversions. Option_Array()
A function that converts options to arrays.static <A> F<Option<A>,java.util.concurrent.ArrayBlockingQueue<A>>
Java. Option_ArrayBlockingQueue(boolean fair)
A function that converts options to array blocking queues.static <A> F<Option<A>,java.util.ArrayList<A>>
Java. Option_ArrayList()
A function that converts options to array lists.static <A> F<Option<A>,java.util.concurrent.ConcurrentLinkedQueue<A>>
Java. Option_ConcurrentLinkedQueue()
A function that converts options to concurrent linked queues.static <A> F<Option<A>,java.util.concurrent.CopyOnWriteArrayList<A>>
Java. Option_CopyOnWriteArrayList()
A function that converts options to copy on write array lists.static <A> F<Option<A>,java.util.concurrent.CopyOnWriteArraySet<A>>
Java. Option_CopyOnWriteArraySet()
A function that converts options to copy on write array sets.static <A extends java.util.concurrent.Delayed>
F<Option<A>,java.util.concurrent.DelayQueue<A>>Java. Option_DelayQueue()
A function that converts options to delay queues.static <A,B>
F<P1<A>,F<Option<B>,Either<A,B>>>Conversions. Option_Either()
A function that converts options to eithers.static <A extends java.lang.Enum<A>>
F<Option<A>,java.util.EnumSet<A>>Java. Option_EnumSet()
A function that converts options to enum sets.static <A> F<Option<A>,java.util.HashSet<A>>
Java. Option_HashSet()
A function that converts options to hash sets.static <A> F<Option<A>,java.util.concurrent.LinkedBlockingQueue<A>>
Java. Option_LinkedBlockingQueue()
A function that converts options to linked blocking queues.static <A> F<Option<A>,java.util.LinkedHashSet<A>>
Java. Option_LinkedHashSet()
A function that converts options to linked hash sets.static <A> F<Option<A>,java.util.LinkedList<A>>
Java. Option_LinkedList()
A function that converts options to linked lists.static <A> F<Option<A>,List<A>>
Conversions. Option_List()
A function that converts options to lists.static <A> F<Option<A>,java.util.Optional<A>>
Java8. Option_Optional()
static <A> F<Option<A>,java.util.concurrent.PriorityBlockingQueue<A>>
Java. Option_PriorityBlockingQueue()
A function that converts options to priority blocking queues.static <A> F<Option<A>,java.util.PriorityQueue<A>>
Java. Option_PriorityQueue()
A function that converts options to priority queues.static <A,B>
F<Either<A,B>,java.util.PriorityQueue<A>>Java. Option_PriorityQueueA()
A function that converts eithers to priority queues.static <A,B>
F<Either<A,B>,java.util.PriorityQueue<B>>Java. Option_PriorityQueueB()
A function that converts eithers to priority queues.static <A> F<Option<A>,java.util.Stack<A>>
Java. Option_Stack()
A function that converts options to stacks.static <A> F<Option<A>,Stream<A>>
Conversions. Option_Stream()
A function that converts options to streams.static <A> F<Option<A>,java.util.concurrent.SynchronousQueue<A>>
Java. Option_SynchronousQueue(boolean fair)
A function that converts options to synchronous queues.static <A> F<Option<A>,java.util.TreeSet<A>>
Java. Option_TreeSet()
A function that converts options to tree sets.static <A> F<Option<A>,java.util.Vector<A>>
Java. Option_Vector()
A function that converts options to vectors.static <A> F<java.util.Optional<A>,Option<A>>
Java8. Optional_Option()
static <A> F<TreeZipper<A>,P4<Tree<A>,Stream<Tree<A>>,Stream<Tree<A>>,Stream<P3<Stream<Tree<A>>,A,Stream<Tree<A>>>>>>
TreeZipper. p_()
A first-class function that returns the product-4 representation of a given zipper.static <A> F<Zipper<A>,P3<Stream<A>,A,Stream<A>>>
Zipper. p_()
A first-class function that yields the product-3 representation of a given Zipper.static <A> F<P1<A>,java.util.concurrent.Callable<A>>
Java. P1_Callable()
static <A> F<P1<A>,java.util.function.Supplier<A>>
Java8. P1_Supplier()
F<A,F<java.lang.Long,Option<A>>>
Enumerator. plus()
Returns a function that moves a value along the enumerator a given number of times.F<A,Option<A>>
Enumerator. plus(long l)
Returns a function that moves a value along the enumerator a given number of times.F<java.lang.Long,Option<A>>
Enumerator. plus(A a)
Returns a function that moves a value along the enumerator a given number of times.static F<Natural,Option<Natural>>
Natural. pred_()
First-class predecessor function.F<A,Option<A>>
Enumerator. predecessor()
Returns the potential predecessor of a value for this enumerator in curried form.static <A> F<Zipper<A>,Option<Zipper<A>>>
Zipper. previous_()
First-class version of the previous() function.static <A> F<java.util.concurrent.PriorityBlockingQueue<A>,List<A>>
Java. PriorityBlockingQueue_List()
A function that converts priority blocking queues to lists.static <A> F<java.util.PriorityQueue<A>,List<A>>
Java. PriorityQueue_List()
A function that converts priority queues to lists.private static <A> F<Stream<A>,Promise<Stream<A>>>
Stream. qs_(Ord<A> o, Strategy<Unit> s)
static <A,B>
F<B,Either<A,B>>Either. right_()
A function that constructs a right value of either.static <A> F<TreeZipper<A>,Option<TreeZipper<A>>>
TreeZipper. right_()
A first-class version of the right() function.static <A,B,X>
F<F<B,X>,F<Either<A,B>,Either<A,X>>>Either. rightMap_()
Return a function that maps a given function across this either's right projection.<X> F<F<C,X>,Either3<A,B,X>>
Either3. rightMap_()
static <A> F<Tree<A>,A>
Tree. root_()
Provides a transformation from a tree to its root.static <A> F<TreeZipper<A>,TreeZipper<A>>
TreeZipper. root_()
A first-class version of the root function.static <A,B>
F<B,List<A>>List. sequence_(List<F<B,A>> fs)
Turn a list of functions into a function returning a list.static <A,B>
F<B,Stream<A>>Stream. sequence_(Stream<F<B,A>> fs)
Turn a stream of functions into a function returning a stream.static <C,B>
F<C,List<B>>List. sequenceF(List<F<C,B>> list)
Sequence the given list and collect the output as a function.static <C,B>
F<C,Option<B>>Option. sequenceF(Option<F<C,B>> option)
Sequence the given option and collect the output as a function.static <C,B>
F<C,Seq<B>>Seq. sequenceF(Seq<F<C,B>> seq)
Sequence the given seq and collect the output as a function.static <C,B>
F<C,Stream<B>>Stream. sequenceF(Stream<F<C,B>> stream)
Sequence the given stream and collect the output as a function.static <E,C,B>
F<C,Validation<E,B>>Validation. sequenceF(Validation<E,F<C,B>> validation)
Sequence the given validation and collect the output as a function.static <A> F<A,Stream<A>>
Stream. single()
Returns a function that yields a stream containing its argument.static <T> F<T,Option<T>>
Option. some_()
static <A> F<java.util.Stack<A>,List<A>>
Java. Stack_List()
A function that converts stacks to lists.static F<LazyString,F<LazyString,java.lang.Boolean>>
LazyString. startsWith()
First-class prefix check.static <A> F<Stream<A>,Array<A>>
Conversions. Stream_Array()
A function that converts streams to arrays.static <A> F<Stream<A>,java.util.concurrent.ArrayBlockingQueue<A>>
Java. Stream_ArrayBlockingQueue(boolean fair)
A function that converts streams to array blocking queues.static <A> F<Stream<A>,java.util.ArrayList<A>>
Java. Stream_ArrayList()
A function that converts streams to array lists.static <A> F<Stream<A>,java.util.concurrent.ConcurrentLinkedQueue<A>>
Java. Stream_ConcurrentLinkedQueue()
A function that converts streams to concurrent linked queues.static <A> F<Stream<A>,java.util.concurrent.CopyOnWriteArrayList<A>>
Java. Stream_CopyOnWriteArrayList()
A function that converts streams to copy on write array lists.static <A> F<Stream<A>,java.util.concurrent.CopyOnWriteArraySet<A>>
Java. Stream_CopyOnWriteArraySet()
A function that converts streams to copy on write array sets.static <A extends java.util.concurrent.Delayed>
F<Stream<A>,java.util.concurrent.DelayQueue<A>>Java. Stream_DelayQueue()
A function that converts streams to delay queues.static <A,B>
F<P1<A>,F<Stream<B>,Either<A,B>>>Conversions. Stream_Either()
A function that converts streams to eithers.static <A extends java.lang.Enum<A>>
F<Stream<A>,java.util.EnumSet<A>>Java. Stream_EnumSet()
A function that converts streams to enum sets.static <A> F<Stream<A>,java.util.HashSet<A>>
Java. Stream_HashSet()
A function that converts streams to hash sets.static <A> F<Stream<A>,java.lang.Iterable<A>>
Java. Stream_Iterable()
A function that converts streams to iterable.static <A> F<Stream<A>,java.util.stream.Stream<A>>
Java8. Stream_JavaStream()
static <A> F<Stream<A>,java.util.concurrent.LinkedBlockingQueue<A>>
Java. Stream_LinkedBlockingQueue()
A function that converts streams to linked blocking queues.static <A> F<Stream<A>,java.util.LinkedHashSet<A>>
Java. Stream_LinkedHashSet()
A function that converts streams to linked hash sets.static <A> F<Stream<A>,java.util.LinkedList<A>>
Java. Stream_LinkedList()
A function that converts streams to linked lists.static <A> F<Stream<A>,List<A>>
Conversions. Stream_List()
A function that converts streams to lists.static <A> F<Stream<A>,Option<A>>
Conversions. Stream_Option()
A function that converts streams to options.static <A> F<Stream<A>,java.util.concurrent.PriorityBlockingQueue<A>>
Java. Stream_PriorityBlockingQueue()
A function that converts streams to priority blocking queues.static <A> F<Stream<A>,java.util.PriorityQueue<A>>
Java. Stream_PriorityQueue()
A function that converts streams to priority queues.static <A> F<Stream<A>,java.util.Stack<A>>
Java. Stream_Stack()
A function that converts streams to stacks.static <A> F<Stream<A>,java.util.concurrent.SynchronousQueue<A>>
Java. Stream_SynchronousQueue(boolean fair)
A function that converts streams to synchronous queues.static <A> F<Stream<A>,java.util.TreeSet<A>>
Java. Stream_TreeSet()
A function that converts streams to tree sets.static <A> F<Stream<A>,java.util.Vector<A>>
Java. Stream_Vector()
A function that converts streams to vectors.static F<java.lang.String,java.util.concurrent.ArrayBlockingQueue<java.lang.Character>>
Java. String_ArrayBlockingQueue(boolean fair)
A function that converts strings to array blocking queues.static <A> F<P1<A>,F<java.lang.String,Either<A,java.lang.Character>>>
Conversions. String_Either()
A function that converts string to eithers.static F<java.lang.String,java.util.concurrent.SynchronousQueue<java.lang.Character>>
Java. String_SynchronousQueue(boolean fair)
A function that converts strings to synchronous queues.static F<java.lang.StringBuffer,java.util.concurrent.ArrayBlockingQueue<java.lang.Character>>
Java. StringBuffer_ArrayBlockingQueue(boolean fair)
A function that converts string buffers to array blocking queues.static <A> F<P1<A>,F<java.lang.StringBuffer,Either<A,java.lang.Character>>>
Conversions. StringBuffer_Either()
A function that converts string buffers to eithers.static F<java.lang.StringBuffer,java.util.concurrent.SynchronousQueue<java.lang.Character>>
Java. StringBuffer_SynchronousQueue(boolean fair)
A function that converts string buffers to synchronous queues.static F<java.lang.StringBuilder,java.util.concurrent.ArrayBlockingQueue<java.lang.Character>>
Java. StringBuilder_ArrayBlockingQueue(boolean fair)
A function that converts string builders to array blocking queues.static <A> F<P1<A>,F<java.lang.StringBuilder,Either<A,java.lang.Character>>>
Conversions. StringBuilder_Either()
A function that converts string builders to eithers.static F<java.lang.StringBuilder,java.util.concurrent.SynchronousQueue<java.lang.Character>>
Java. StringBuilder_SynchronousQueue(boolean fair)
A function that converts string builders to synchronous queues.static <A> F<A,Writer<java.lang.String,A>>
Writer. stringLogger()
static <A> F<Tree<A>,P1<Stream<Tree<A>>>>
Tree. subForest_()
Provides a transformation from a tree to its subforest.static F<Natural,Natural>
Natural. succ_()
First-class successor function.F<A,Option<A>>
Enumerator. successor()
Returns the potential successor of a value for this enumerator in curried form.static <A> F<java.util.function.Supplier<A>,P1<A>>
Java8. Supplier_P1()
static <A> F<java.util.concurrent.SynchronousQueue<A>,List<A>>
Java. SynchronousQueue_List()
A function that converts synchronous queues to lists.static <A> F<List<A>,List<A>>
List. tail_()
First-class tail function.static <A> F<java.lang.Integer,F<List<A>,List<A>>>
List. take()
Provides a first-class version of take.static <A,X>
F<Option<A>,F<X,Either<X,A>>>Option. toEither()
A first-class version of the toEither method.F<java.lang.Integer,A>
Stream. toFunction()
Converts this stream to a function of natural numbers.static <A> F<NonEmptyList<A>,List<A>>
NonEmptyList. toList_()
Returns a function that takes a non-empty list to a list.<C,B>
F<C,List<B>>List. traverseF(F<A,F<C,B>> f)
Traverse this list with the given function and collect the output as a function.<C,B>
F<C,Option<B>>Option. traverseF(F<A,F<C,B>> f)
Traverse this option with the given function and collect the output as a function.<C,B>
F<C,Seq<B>>Seq. traverseF(F<A,F<C,B>> f)
Traverse this seq with the given function and collect the output as a function.<C,B>
F<C,Stream<B>>Stream. traverseF(F<A,F<C,B>> f)
Traverse this stream with the given function and collect the output as a function.<C,B>
F<C,Validation<E,B>>Validation. traverseF(F<T,F<C,B>> f)
Traverse this validation with the given function and collect the output as a function.static <A> F<java.util.TreeSet<A>,List<A>>
Java. TreeSet_List()
A function that converts tree sets to lists.static <A> F<Tree<A>,F<Stream<Tree<A>>,F<Stream<Tree<A>>,F<Stream<P3<Stream<Tree<A>>,A,Stream<Tree<A>>>>,TreeZipper<A>>>>>
TreeZipper. treeZipper()
First-class constructor for tree zippers.static <A,B,Z extends java.io.IOException>
F<Try1<A,B,Z>,F<A,Validation<Z,B>>>Conversions. Try_F()
static <A,B,Z extends java.io.IOException>
F<A,Validation<Z,B>>Conversions. Try_F(Try1<A,B,Z> t)
static <A,B,Z extends java.io.IOException>
F<Try0<A,Z>,IO<A>>Conversions. Try_IO()
static <A,B,Z extends java.lang.Exception>
F<Try0<A,Z>,SafeIO<Validation<Z,A>>>Conversions. Try_SafeIO()
static <A,E extends java.lang.Exception>
F<Try0<A,E>,java.util.function.Supplier<Validation<E,A>>>Java8. TryCatch0_Supplier()
static <A,B,E extends java.lang.Exception>
F<Try1<A,B,E>,java.util.function.Function<A,Validation<E,B>>>Java8. TryCatch1_Function()
static <A,B,C,E extends java.lang.Exception>
F<Try2<A,B,C,E>,java.util.function.BiFunction<A,B,Validation<E,C>>>Java8. TryCatch2_BiFunction()
static <A,B>
F<B,Tree<A>>Tree. unfoldTree(F<B,P2<A,P1<Stream<B>>>> f)
Builds a tree from a seed value.static <A> F<Set<A>,F<Set<A>,Set<A>>>
Set. union()
A first class function forSet.union(Set)
.static F<Stream<LazyString>,LazyString>
LazyString. unlines_()
static <E,T>
F<Either<E,T>,Validation<E,T>>Validation. validation()
Returns a function that constructs a validation with an either.static <A> F<java.util.Vector<A>,List<A>>
Java. Vector_List()
A function that converts vectors to lists.static <A> F<A[],Array<A>>
Array. wrap()
First-class wrapper function for arrays.static <A,T extends java.lang.Iterable<A>>
F<T,IterableW<A>>IterableW. wrap()
Provides a function that wraps the given iterable.static <A,B>
F<List<A>,F<List<B>,List<P2<A,B>>>>List. zip()
The first-class version of the zip function.static <A,B,C>
F<List<A>,F<List<B>,F<F<A,F<B,C>>,List<C>>>>List. zipWith()
Provides a first-class version of zipWithstatic <A,B,C>
F<Stream<A>,F<Stream<B>,F<F<A,F<B,C>>,Stream<C>>>>Stream. zipWith()
A first-class version of the zipWith function.<B,C>
F<Stream<B>,Stream<C>>Stream. zipWith(F<A,F<B,C>> f)
Partially-applied version of zipWith.Methods in fj.data that return types with arguments of type F Modifier and Type Method Description static <A,B>
F<P1<A>,F<Array<B>,Either<A,B>>>Conversions. Array_Either()
A function that converts arrays to eithers.static <A,B>
F<F<A,B>,F<A,IterableW<B>>>IterableW. arrow()
Provides a transformation from a function to a Iterable-valued function that is equivalent to it.static <A,B>
F<F<A,B>,F<A,IterableW<B>>>IterableW. arrow()
Provides a transformation from a function to a Iterable-valued function that is equivalent to it.static <A,B,T extends java.lang.Iterable<B>>
F<IterableW<A>,F<F<A,T>,IterableW<B>>>IterableW. bind()
The first-class bind function over Iterable.static <A,B,T extends java.lang.Iterable<B>>
F<IterableW<A>,F<F<A,T>,IterableW<B>>>IterableW. bind()
The first-class bind function over Iterable.static <A,B>
F<F<A,Option<B>>,F<Option<A>,Option<B>>>Option. bind()
First-class bind function.static <A,B>
F<F<A,Option<B>>,F<Option<A>,Option<B>>>Option. bind()
First-class bind function.static <A,B>
F<F<A,List<B>>,F<List<A>,List<B>>>List. bind_()
Provides a first-class version of bind()static <A,B>
F<F<A,List<B>>,F<List<A>,List<B>>>List. bind_()
Provides a first-class version of bind()static <A,B>
F<F<A,Stream<B>>,F<Stream<A>,Stream<B>>>Stream. bind_()
A first-class version of the bind function.static <A,B>
F<F<A,Stream<B>>,F<Stream<A>,Stream<B>>>Stream. bind_()
A first-class version of the bind function.static <A> F<java.io.Reader,F<Iteratee.IterV<char[],A>,IO<Iteratee.IterV<char[],A>>>>
IOFunctions. charChunkReader()
A function that feeds an iteratee with character chunks read from aReader
(char[] of sizeIOFunctions.DEFAULT_BUFFER_SIZE
).static <A> F<java.io.Reader,F<Iteratee.IterV<java.lang.Character,A>,IO<Iteratee.IterV<java.lang.Character,A>>>>
IOFunctions. charChunkReader2()
A function that feeds an iteratee with characters read from aReader
(chars are read in chunks of sizeIOFunctions.DEFAULT_BUFFER_SIZE
).static <A> F<A,F<List<A>,List<A>>>
List. cons()
Returns a function that prepends (cons) an element to a list to produce a new list.static <A> F<A,F<P1<Stream<A>>,Stream<A>>>
Stream. cons()
Returns a function that prepends (cons) an element to a stream to produce a new stream.static <A> F<A,F<Stream<A>,Stream<A>>>
Stream. cons_()
Returns a function that prepends (cons) an element to a stream to produce a new stream.static <A> F<java.util.function.Consumer<A>,F<A,Unit>>
Java8. Consumer_F()
F<A,F<Set<A>,Set<A>>>
Set. delete()
First-class deletion function.static <A> F<Effect1<A>,F<A,Unit>>
Conversions. Effect1_F()
static <A,B>
F<F<A,B>,java.util.function.Function<A,B>>Java8. F_Function()
static <A> F<F<Unit,A>,SafeIO<A>>
Conversions. F_SafeIO()
static <A> F<F<A,java.lang.Boolean>,F<Stream<A>,Stream<A>>>
Stream. filter()
Returns a first-class version of the filter function.static <A> F<F<A,java.lang.Boolean>,F<Stream<A>,Stream<A>>>
Stream. filter()
Returns a first-class version of the filter function.static <A> F2<F<Tree<A>,java.lang.Boolean>,TreeZipper<A>,Option<TreeZipper<A>>>
TreeZipper. findChild()
A first-class version of the findChild function.static <A,B>
F<F<A,B>,F<Tree<A>,Tree<B>>>Tree. fmap_()
Provides a transformation to lift any function so that it maps over Trees.static <A,B>
F<F<A,B>,F<Tree<A>,Tree<B>>>Tree. fmap_()
Provides a transformation to lift any function so that it maps over Trees.static <A,B>
F<F<B,F<A,B>>,F<B,F<List<A>,B>>>List. foldLeft()
Provides a first-class version of foldLeft.static <A,B>
F<F<B,F<A,B>>,F<B,F<List<A>,B>>>List. foldLeft()
Provides a first-class version of foldLeft.static <A,B>
F<F<B,F<A,B>>,F<B,F<List<A>,B>>>List. foldLeft()
Provides a first-class version of foldLeft.static <A,B>
F<F<B,F<A,B>>,F<B,F<List<A>,B>>>List. foldLeft()
Provides a first-class version of foldLeft.static <A,B>
F<F<A,F<P1<B>,B>>,F<B,F<Stream<A>,B>>>Stream. foldRight()
A first-class version of the foldRight function.static <A,B>
F<F<A,F<P1<B>,B>>,F<B,F<Stream<A>,B>>>Stream. foldRight()
A first-class version of the foldRight function.static <A,B>
F<F<A,F<P1<B>,B>>,F<B,F<Stream<A>,B>>>Stream. foldRight()
A first-class version of the foldRight function.static <A,B>
F<F<A,F<P1<B>,B>>,F<B,F<Stream<A>,B>>>Stream. foldRight()
A first-class version of the foldRight function.static <A,B>
F<java.util.function.Function<A,B>,F<A,B>>Java8. Function_F()
static <A> F2<F<A,java.lang.Boolean>,A,Option<A>>
Option. iif()
First-class version of the iif function.static <A> F<A,F<Set<A>,Set<A>>>
Set. insert()
First-class insertion function.static <A> F<Set<A>,F<Set<A>,Set<A>>>
Set. intersect()
A first class function forSet.intersect(Set)
.static <A> F<F<A,A>,F<A,Stream<A>>>
Stream. iterate()
A first-class version of the iterate function.static <A> F<F<A,A>,F<A,Stream<A>>>
Stream. iterate()
A first-class version of the iterate function.static <A,B,X>
F<F<A,X>,F<Either<A,B>,Either<X,B>>>Either. leftMap_()
Return a function that maps a given function across this either's left projection.static <A,B,X>
F<F<A,X>,F<Either<A,B>,Either<X,B>>>Either. leftMap_()
Return a function that maps a given function across this either's left projection.<X> F<F<A,X>,Either3<X,B,C>>
Either3. leftMap_()
static <A,B,C>
F<java.lang.Iterable<A>,F<java.lang.Iterable<B>,IterableW<C>>>IterableW. liftM2(F<A,F<B,C>> f)
Promotes a function of arity-2 to a function on iterables.static <A,B,C>
F<List<A>,F<List<B>,List<C>>>List. liftM2(F<A,F<B,C>> f)
Promotes the given function of arity-2 to a function on lists.static <A,B,C>
F<Option<A>,F<Option<B>,Option<C>>>Option. liftM2(F<A,F<B,C>> f)
Promotes a function of arity-2 so that it operates over options.static <A> F<java.io.BufferedReader,F<Iteratee.IterV<java.lang.String,A>,IO<Iteratee.IterV<java.lang.String,A>>>>
IOFunctions. lineReader()
A function that feeds an iteratee with lines read from aBufferedReader
.static <A,B>
F<P1<A>,F<List<B>,Either<A,B>>>Conversions. List_Either()
A function that converts lists to eithers.static <A,B>
F<F<A,B>,F<Array<A>,Array<B>>>Array. map()
First-class map function for Arrays.static <A,B>
F<F<A,B>,F<Array<A>,Array<B>>>Array. map()
First-class map function for Arrays.static <A,B>
F<F<A,B>,F<IterableW<A>,IterableW<B>>>IterableW. map()
Returns a function that promotes any function so that it operates on Iterables.static <A,B>
F<F<A,B>,F<IterableW<A>,IterableW<B>>>IterableW. map()
Returns a function that promotes any function so that it operates on Iterables.static <A,B>
F<F<A,B>,F<Option<A>,Option<B>>>Option. map()
A first-class map function.static <A,B>
F<F<A,B>,F<Option<A>,Option<B>>>Option. map()
A first-class map function.static <A,B>
F<F<A,B>,F<List<A>,List<B>>>List. map_()
Provides a first-class version of map()static <A,B>
F<F<A,B>,F<List<A>,List<B>>>List. map_()
Provides a first-class version of map()static <A,B>
F<F<A,B>,F<Stream<A>,Stream<B>>>Stream. map_()
Provides a first-class version of the map function.static <A,B>
F<F<A,B>,F<Stream<A>,Stream<B>>>Stream. map_()
Provides a first-class version of the map function.static <A> F<Set<A>,F<A,java.lang.Boolean>>
Set. member()
First-class membership check.<X> F<F<B,X>,Either3<A,X,C>>
Either3. middleMap_()
static <A> F<Set<A>,F<Set<A>,Set<A>>>
Set. minus()
A first class function forSet.minus(Set)
.static <A> F<java.lang.Integer,F<Zipper<A>,Option<Zipper<A>>>>
Zipper. move()
A first-class version of the move function.static <A> F<A,F<P1<Stream<Tree<A>>>,Tree<A>>>
Tree. node()
First-class constructor of trees.static <A,B>
F<P1<A>,F<Option<B>,Either<A,B>>>Conversions. Option_Either()
A function that converts options to eithers.F<A,F<java.lang.Long,Option<A>>>
Enumerator. plus()
Returns a function that moves a value along the enumerator a given number of times.static <A,B,X>
F<F<B,X>,F<Either<A,B>,Either<A,X>>>Either. rightMap_()
Return a function that maps a given function across this either's right projection.static <A,B,X>
F<F<B,X>,F<Either<A,B>,Either<A,X>>>Either. rightMap_()
Return a function that maps a given function across this either's right projection.<X> F<F<C,X>,Either3<A,B,X>>
Either3. rightMap_()
static F<LazyString,F<LazyString,java.lang.Boolean>>
LazyString. startsWith()
First-class prefix check.static <A,B>
F<P1<A>,F<Stream<B>,Either<A,B>>>Conversions. Stream_Either()
A function that converts streams to eithers.static <A> F<P1<A>,F<java.lang.String,Either<A,java.lang.Character>>>
Conversions. String_Either()
A function that converts string to eithers.static <A> F<P1<A>,F<java.lang.StringBuffer,Either<A,java.lang.Character>>>
Conversions. StringBuffer_Either()
A function that converts string buffers to eithers.static <A> F<P1<A>,F<java.lang.StringBuilder,Either<A,java.lang.Character>>>
Conversions. StringBuilder_Either()
A function that converts string builders to eithers.static <A> F<java.lang.Integer,F<List<A>,List<A>>>
List. take()
Provides a first-class version of take.static <A,X>
F<Option<A>,F<X,Either<X,A>>>Option. toEither()
A first-class version of the toEither method.<B> F2<Ord<B>,F<A,Set<B>>,Set<Option<B>>>
Option. traverseSet()
static <A> F<Tree<A>,F<Stream<Tree<A>>,F<Stream<Tree<A>>,F<Stream<P3<Stream<Tree<A>>,A,Stream<Tree<A>>>>,TreeZipper<A>>>>>
TreeZipper. treeZipper()
First-class constructor for tree zippers.static <A> F<Tree<A>,F<Stream<Tree<A>>,F<Stream<Tree<A>>,F<Stream<P3<Stream<Tree<A>>,A,Stream<Tree<A>>>>,TreeZipper<A>>>>>
TreeZipper. treeZipper()
First-class constructor for tree zippers.static <A> F<Tree<A>,F<Stream<Tree<A>>,F<Stream<Tree<A>>,F<Stream<P3<Stream<Tree<A>>,A,Stream<Tree<A>>>>,TreeZipper<A>>>>>
TreeZipper. treeZipper()
First-class constructor for tree zippers.static <A,B,Z extends java.io.IOException>
F<Try1<A,B,Z>,F<A,Validation<Z,B>>>Conversions. Try_F()
static <A> F<Set<A>,F<Set<A>,Set<A>>>
Set. union()
A first class function forSet.union(Set)
.static <A,B>
F<List<A>,F<List<B>,List<P2<A,B>>>>List. zip()
The first-class version of the zip function.static <A,B,C>
F<List<A>,F<List<B>,F<F<A,F<B,C>>,List<C>>>>List. zipWith()
Provides a first-class version of zipWithstatic <A,B,C>
F<List<A>,F<List<B>,F<F<A,F<B,C>>,List<C>>>>List. zipWith()
Provides a first-class version of zipWithstatic <A,B,C>
F<List<A>,F<List<B>,F<F<A,F<B,C>>,List<C>>>>List. zipWith()
Provides a first-class version of zipWithstatic <A,B,C>
F<List<A>,F<List<B>,F<F<A,F<B,C>>,List<C>>>>List. zipWith()
Provides a first-class version of zipWithstatic <A,B,C>
F<Stream<A>,F<Stream<B>,F<F<A,F<B,C>>,Stream<C>>>>Stream. zipWith()
A first-class version of the zipWith function.static <A,B,C>
F<Stream<A>,F<Stream<B>,F<F<A,F<B,C>>,Stream<C>>>>Stream. zipWith()
A first-class version of the zipWith function.static <A,B,C>
F<Stream<A>,F<Stream<B>,F<F<A,F<B,C>>,Stream<C>>>>Stream. zipWith()
A first-class version of the zipWith function.static <A,B,C>
F<Stream<A>,F<Stream<B>,F<F<A,F<B,C>>,Stream<C>>>>Stream. zipWith()
A first-class version of the zipWith function.Methods in fj.data with parameters of type F Modifier and Type Method Description <B> Validation<List<E>,B>
Validation. accumulate(F<T,B> f)
<A,B,C,D,E$,F$,G,H>
Validation<E,H>Validation. accumulate(Semigroup<E> s, Validation<E,A> va, Validation<E,B> vb, Validation<E,C> vc, Validation<E,D> vd, Validation<E,E$> ve, Validation<E,F$> vf, Validation<E,G> vg, F<T,F<A,F<B,F<C,F<D,F<E$,F<F$,F<G,H>>>>>>>> f)
Accumulates errors on the failing side of this or any given validation if one or more are encountered, or applies the given function if all succeeded and returns that value on the successful side.<A,B,C,D,E$,F$,G>
Validation<E,G>Validation. accumulate(Semigroup<E> s, Validation<E,A> va, Validation<E,B> vb, Validation<E,C> vc, Validation<E,D> vd, Validation<E,E$> ve, Validation<E,F$> vf, F<T,F<A,F<B,F<C,F<D,F<E$,F<F$,G>>>>>>> f)
Accumulates errors on the failing side of this or any given validation if one or more are encountered, or applies the given function if all succeeded and returns that value on the successful side.<A,B,C,D,E$,F$>
Validation<E,F$>Validation. accumulate(Semigroup<E> s, Validation<E,A> va, Validation<E,B> vb, Validation<E,C> vc, Validation<E,D> vd, Validation<E,E$> ve, F<T,F<A,F<B,F<C,F<D,F<E$,F$>>>>>> f)
Accumulates errors on the failing side of this or any given validation if one or more are encountered, or applies the given function if all succeeded and returns that value on the successful side.<A,B,C,D,E$>
Validation<E,E$>Validation. accumulate(Semigroup<E> s, Validation<E,A> va, Validation<E,B> vb, Validation<E,C> vc, Validation<E,D> vd, F<T,F<A,F<B,F<C,F<D,E$>>>>> f)
Accumulates errors on the failing side of this or any given validation if one or more are encountered, or applies the given function if all succeeded and returns that value on the successful side.<A,B,C,D>
Validation<E,D>Validation. accumulate(Semigroup<E> s, Validation<E,A> va, Validation<E,B> vb, Validation<E,C> vc, F<T,F<A,F<B,F<C,D>>>> f)
Accumulates errors on the failing side of this or any given validation if one or more are encountered, or applies the given function if all succeeded and returns that value on the successful side.<A,B,C>
Validation<E,C>Validation. accumulate(Semigroup<E> s, Validation<E,A> va, Validation<E,B> vb, F<T,F<A,F<B,C>>> f)
Accumulates errors on the failing side of this or any given validation if one or more are encountered, or applies the given function if all succeeded and returns that value on the successful side.<A,B>
Validation<E,B>Validation. accumulate(Semigroup<E> s, Validation<E,A> va, F<T,F<A,B>> f)
Accumulates errors on the failing side of this or any given validation if one or more are encountered, or applies the given function if all succeeded and returns that value on the successful side.<C> Reader<A,C>
Reader. andThen(F<B,C> f)
<X,Y>
Either<X,Y>Either. bimap(F<A,X> left, F<B,Y> right)
Map the given functions across the appropriate side.<B,C>
Array<C>Array. bind(Array<B> sb, F<A,F<B,C>> f)
Binds the given function across each element of this array and the given array with a final join.<B> Array<B>
Array. bind(F<A,Array<B>> f)
Binds the given function across each element of this array with a final join.<B> Array<B>
Array.ImmutableProjection. bind(F<A,Array<B>> f)
Binds the given function across each element of this array with a final join.<X> Either<X,B>
Either.LeftProjection. bind(F<A,Either<X,B>> f)
Binds the given function across this projection's value if it has one.<X> Either<A,X>
Either.RightProjection. bind(F<B,Either<A,X>> f)
Binds the given function across this projection's value if it has one.<X> Either3<X,B,C>
Either3.LeftProjection. bind(F<A,Either3<X,B,C>> f)
<X> Either3<A,X,C>
Either3.MiddleProjection. bind(F<B,Either3<A,X,C>> f)
<X> Either3<A,B,X>
Either3.RightProjection. bind(F<C,Either3<A,B,X>> f)
<B> Eval<B>
Eval. bind(F<A,Eval<B>> f)
default <B> IO<B>
IO. bind(F<A,IO<B>> f)
static <A,B>
IO<B>IOFunctions. bind(IO<A> io, F<A,IO<B>> f)
<B,T extends java.lang.Iterable<B>>
IterableW<B>IterableW. bind(F<A,T> f)
Binds the given function across the wrapped Iterable with a final join.static <A,B,C>
IterableW<C>IterableW. bind(java.lang.Iterable<A> a, java.lang.Iterable<B> b, F<A,F<B,C>> f)
Binds the given function to the values in the given iterables with a final join.<B> Iteratee.IterV<E,B>
Iteratee.IterV. bind(F<A,Iteratee.IterV<E,B>> f)
TODO more documentationLazyString
LazyString. bind(F<java.lang.Character,LazyString> f)
<B,C,D,E,F$,G,H,I>
List<I>List. bind(List<B> lb, List<C> lc, List<D> ld, List<E> le, List<F$> lf, List<G> lg, List<H> lh, F<A,F<B,F<C,F<D,F<E,F<F$,F<G,F<H,I>>>>>>>> f)
Binds the given function across each element of this list and the given lists with a final join.<B,C,D,E,F$,G,H>
List<H>List. bind(List<B> lb, List<C> lc, List<D> ld, List<E> le, List<F$> lf, List<G> lg, F<A,F<B,F<C,F<D,F<E,F<F$,F<G,H>>>>>>> f)
Binds the given function across each element of this list and the given lists with a final join.<B,C,D,E,F$,G>
List<G>List. bind(List<B> lb, List<C> lc, List<D> ld, List<E> le, List<F$> lf, F<A,F<B,F<C,F<D,F<E,F<F$,G>>>>>> f)
Binds the given function across each element of this list and the given lists with a final join.<B,C,D,E,F$>
List<F$>List. bind(List<B> lb, List<C> lc, List<D> ld, List<E> le, F<A,F<B,F<C,F<D,F<E,F$>>>>> f)
Binds the given function across each element of this list and the given lists with a final join.<B,C,D,E>
List<E>List. bind(List<B> lb, List<C> lc, List<D> ld, F<A,F<B,F<C,F<D,E>>>> f)
Binds the given function across each element of this list and the given lists with a final join.<B,C,D>
List<D>List. bind(List<B> lb, List<C> lc, F<A,F<B,F<C,D>>> f)
Binds the given function across each element of this list and the given lists with a final join.<B,C>
List<C>List. bind(List<B> lb, F<A,F<B,C>> f)
Binds the given function across each element of this list and the given list with a final join.<B> List<B>
List. bind(F<A,List<B>> f)
Binds the given function across each element of this list with a final join.<B> NonEmptyList<B>
NonEmptyList. bind(F<A,NonEmptyList<B>> f)
Binds the given function across each element of this list with a final join.<B,C,D,E,F$,G,H,I>
Option<I>Option. bind(Option<B> ob, Option<C> oc, Option<D> od, Option<E> oe, Option<F$> of, Option<G> og, Option<H> oh, F<A,F<B,F<C,F<D,F<E,F<F$,F<G,F<H,I>>>>>>>> f)
Binds the given function across the element of this optional value and the given optional value with a final join.<B,C,D,E,F$,G,H>
Option<H>Option. bind(Option<B> ob, Option<C> oc, Option<D> od, Option<E> oe, Option<F$> of, Option<G> og, F<A,F<B,F<C,F<D,F<E,F<F$,F<G,H>>>>>>> f)
Binds the given function across the element of this optional value and the given optional value with a final join.<B,C,D,E,F$,G>
Option<G>Option. bind(Option<B> ob, Option<C> oc, Option<D> od, Option<E> oe, Option<F$> of, F<A,F<B,F<C,F<D,F<E,F<F$,G>>>>>> f)
Binds the given function across the element of this optional value and the given optional value with a final join.<B,C,D,E,F$>
Option<F$>Option. bind(Option<B> ob, Option<C> oc, Option<D> od, Option<E> oe, F<A,F<B,F<C,F<D,F<E,F$>>>>> f)
Binds the given function across the element of this optional value and the given optional value with a final join.<B,C,D,E>
Option<E>Option. bind(Option<B> ob, Option<C> oc, Option<D> od, F<A,F<B,F<C,F<D,E>>>> f)
Binds the given function across the element of this optional value and the given optional value with a final join.<B,C,D>
Option<D>Option. bind(Option<B> ob, Option<C> oc, F<A,F<B,F<C,D>>> f)
Binds the given function across the element of this optional value and the given optional value with a final join.<B,C>
Option<C>Option. bind(Option<B> ob, F<A,F<B,C>> f)
Binds the given function across the element of this optional value and the given optional value with a final join.<B> Option<B>
Option. bind(F<A,Option<B>> f)
Binds the given function across the element of this optional value with a final join.<C> Reader<A,C>
Reader. bind(F<B,Reader<A,C>> f)
<B> Seq<B>
Seq. bind(F<A,Seq<B>> f)
Bind the given function across this seq.<B> Set<B>
Set. bind(Ord<B> o, F<A,Set<B>> f)
Binds the given function across this set.<B> State<S,B>
State. bind(F<A,State<S,B>> f)
Bind the given function across this state.<B,C,D,E,F$,G,H,I>
Stream<I>Stream. bind(Stream<B> sb, Stream<C> sc, Stream<D> sd, Stream<E> se, Stream<F$> sf, Stream<G> sg, Stream<H> sh, F<A,F<B,F<C,F<D,F<E,F<F$,F<G,F<H,I>>>>>>>> f)
Binds the given function across each element of this stream and the given streams with a final join.<B,C,D,E,F$,G,H>
Stream<H>Stream. bind(Stream<B> sb, Stream<C> sc, Stream<D> sd, Stream<E> se, Stream<F$> sf, Stream<G> sg, F<A,F<B,F<C,F<D,F<E,F<F$,F<G,H>>>>>>> f)
Binds the given function across each element of this stream and the given streams with a final join.<B,C,D,E,F$,G>
Stream<G>Stream. bind(Stream<B> sb, Stream<C> sc, Stream<D> sd, Stream<E> se, Stream<F$> sf, F<A,F<B,F<C,F<D,F<E,F<F$,G>>>>>> f)
Binds the given function across each element of this stream and the given streams with a final join.<B,C,D,E,F$>
Stream<F$>Stream. bind(Stream<B> sb, Stream<C> sc, Stream<D> sd, Stream<E> se, F<A,F<B,F<C,F<D,F<E,F$>>>>> f)
Binds the given function across each element of this stream and the given streams with a final join.<B,C,D,E>
Stream<E>Stream. bind(Stream<B> sb, Stream<C> sc, Stream<D> sd, F<A,F<B,F<C,F<D,E>>>> f)
Binds the given function across each element of this stream and the given streams with a final join.<B,C,D>
Stream<D>Stream. bind(Stream<B> sb, Stream<C> sc, F<A,F<B,F<C,D>>> f)
Binds the given function across each element of this stream and the given streams with a final join.<B,C>
Stream<C>Stream. bind(Stream<B> sb, F<A,F<B,C>> f)
Binds the given function across each element of this stream and the given stream with a final join.<B> Stream<B>
Stream. bind(F<A,Stream<B>> f)
Binds the given function across each element of this stream with a final join.<A> Validation<E,A>
Validation. bind(F<T,Validation<E,A>> f)
Binds the given function across this validation's success value if it has one.<A> Validation<A,T>
Validation.FailProjection. bind(F<E,Validation<A,T>> f)
Binds the given function across this validation's failing value if it has one.static <A,B>
Tree<B>Tree. bottomUp(Tree<A> t, F<P2<A,Stream<B>>,B> f)
static <A,B,C>
IO<C>IOFunctions. bracket(IO<A> init, F<A,IO<B>> fin, F<A,IO<C>> body)
P2<List<A>,List<A>>
List. breakk(F<A,java.lang.Boolean> p)
Returns a tuple where the first element is the longest prefix of this list that does not satisfy the given predicate and the second element is the remainder of the list.<B> Stream<B>
Stream. cobind(F<Stream<A>,B> k)
Binds the given function across the stream of substreams of this stream.<B> Tree<B>
Tree. cobind(F<Tree<A>,B> f)
Applies the given function to all subtrees of this tree, returning a tree of the results (comonad pattern).<B> TreeZipper<B>
TreeZipper. cobind(F<TreeZipper<A>,B> f)
Maps the given function over the tree of all positions for this zipper (comonad pattern).<B> Zipper<B>
Zipper. cobind(F<Zipper<A>,B> f)
Maps over variations of this zipper, such that the given function is applied to each variation (comonad pattern).static <E,A>
Iteratee.IterV<E,A>Iteratee.IterV. cont(F<Iteratee.Input<E>,Iteratee.IterV<E,A>> f)
A computation that takes an element from an input to yield a new computationstatic <A> DList<A>
DList. dlist(F<List<A>,Trampoline<List<A>>> f)
Creates a DList from the function For alternatives functions to create a DList:List<A>
List. dropWhile(F<A,java.lang.Boolean> f)
Removes elements from the head of this list that do not match the given predicate function until an element is found that does match or the list is exhausted.Stream<A>
Stream. dropWhile(F<A,java.lang.Boolean> f)
Removes elements from the head of this stream that do not match the given predicate function until an element is found that does match or the stream is exhausted.abstract <X> X
Either. either(F<A,X> left, F<B,X> right)
The catamorphism for either.<X> X
Either.Left. either(F<A,X> left, F<B,X> right)
<X> X
Either.Right. either(F<A,X> left, F<B,X> right)
abstract <D> D
Either3. either(F<A,D> fa, F<B,D> fb, F<C,D> fc)
<D> D
Either3.Left. either(F<A,D> fa, F<B,D> fb, F<C,D> fc)
<D> D
Either3.Middle. either(F<A,D> fa, F<B,D> fb, F<C,D> fc)
<D> D
Either3.Right. either(F<A,D> fa, F<B,D> fb, F<C,D> fc)
static <A,B,X>
F<Either<A,B>,X>Either. either_(F<A,X> left, F<B,X> right)
First class catamorphism for either.static <A,B,C,D>
F<Either3<A,B,C>,D>Either3. either_(F<A,D> fa, F<B,D> fb, F<C,D> fc)
static <A> Enumerator<A>
Enumerator. enumerator(F<A,Option<A>> successor, F<A,Option<A>> predecessor, Option<A> max, Option<A> min, Ord<A> order)
Construct an enumerator.static <A> Enumerator<A>
Enumerator. enumerator(F<A,Option<A>> successor, F<A,Option<A>> predecessor, Option<A> max, Option<A> min, Ord<A> order, F<A,F<java.lang.Long,Option<A>>> plus)
Construct an enumerator.boolean
Array. exists(F<A,java.lang.Boolean> f)
Returnstrue
if the predicate holds for at least one of the elements of this array,false
otherwise (false
for the empty array).boolean
Either.LeftProjection. exists(F<A,java.lang.Boolean> f)
Returnsfalse
if no value or returns the result of the application of the given function to the value.boolean
Either.RightProjection. exists(F<B,java.lang.Boolean> f)
Returnsfalse
if no value or returns the result of the application of the given function to the value.boolean
Either3.LeftProjection. exists(F<A,java.lang.Boolean> f)
boolean
Either3.MiddleProjection. exists(F<B,java.lang.Boolean> f)
boolean
Either3.RightProjection. exists(F<C,java.lang.Boolean> f)
boolean
List. exists(F<A,java.lang.Boolean> f)
Returnstrue
if the predicate holds for at least one of the elements of this list,false
otherwise (false
for the empty list).boolean
Option. exists(F<A,java.lang.Boolean> f)
Returnstrue
is this optional value has a value and the given predicate function holds on that value,false
otherwise.boolean
Stream. exists(F<A,java.lang.Boolean> f)
Returnstrue
if the predicate holds for at least one of the elements of this stream,false
otherwise (false
for the empty stream).boolean
Validation. exists(F<T,java.lang.Boolean> f)
Returnsfalse
if this is a failure or returns the result of the application of the given function to the success value.boolean
Validation.FailProjection. exists(F<E,java.lang.Boolean> f)
Returnsfalse
if this is a success or returns the result of the application of the given function to the failing value.static <A,B>
java.util.function.Function<A,B>Java8. F_Function(F<A,B> f)
static <A> SafeIO<A>
Conversions. F_SafeIO(F<Unit,A> f)
Array<A>
Array. filter(F<A,java.lang.Boolean> f)
Filters elements from this array by returning only elements which producetrue
when the given function is applied to them.Array<A>
Array.ImmutableProjection. filter(F<A,java.lang.Boolean> f)
Filters elements from this array by returning only elements which producetrue
when the given function is applied to them.<X> Option<Either<A,X>>
Either.LeftProjection. filter(F<A,java.lang.Boolean> f)
ReturnsNone
if this projection has no value or if the given predicatep
does not hold for the value, otherwise, returns a right inSome
.<X> Option<Either<X,B>>
Either.RightProjection. filter(F<B,java.lang.Boolean> f)
ReturnsNone
if this projection has no value or if the given predicatep
does not hold for the value, otherwise, returns a left inSome
.<X,Y>
Option<Either3<A,X,Y>>Either3.LeftProjection. filter(F<A,java.lang.Boolean> f)
<X,Y>
Option<Either3<X,B,Y>>Either3.MiddleProjection. filter(F<B,java.lang.Boolean> f)
<X,Y>
Option<Either3<X,Y,C>>Either3.RightProjection. filter(F<C,java.lang.Boolean> f)
List<A>
List. filter(F<A,java.lang.Boolean> f)
Filters elements from this list by returning only elements which producetrue
when the given function is applied to them.Option<A>
Option. filter(F<A,java.lang.Boolean> f)
Filters elements from this optional value by returning only elements which producetrue
when the given function is applied to them.Seq<A>
Seq. filter(F<A,java.lang.Boolean> f)
Set<A>
Set. filter(F<A,java.lang.Boolean> f)
Filters elements from this set by returning only elements which producetrue
when the given function is applied to them.Stream<A>
Stream. filter(F<A,java.lang.Boolean> f)
Filters elements from this stream by returning only elements which producetrue
when the given function is applied to them.<A> Option<Validation<E,A>>
Validation.FailProjection. filter(F<E,java.lang.Boolean> f)
ReturnsNone
if this is a success or if the given predicatep
does not hold for the failing value, otherwise, returns a fail inSome
.<A> Option<Validation<A,T>>
Validation. filter(F<T,java.lang.Boolean> f)
ReturnsNone
if this is a failure or if the given predicatep
does not hold for the success value, otherwise, returns a success inSome
.PriorityQueue<K,A>
PriorityQueue. filterKeys(F<K,java.lang.Boolean> f)
Filters the nodes based on the annotation of each node.PriorityQueue<K,A>
PriorityQueue. filterValues(F<A,java.lang.Boolean> f)
Filters nodes based on the value inside each node.Option<A>
Array. find(F<A,java.lang.Boolean> f)
Finds the first occurrence of an element that matches the given predicate or no value if no elements match.Option<A>
List. find(F<A,java.lang.Boolean> f)
Finds the first occurrence of an element that matches the given predicate or no value if no elements match.Option<A>
Stream. find(F<A,java.lang.Boolean> f)
Finds the first occurrence of an element that matches the given predicate or no value if no elements match.Option<Zipper<A>>
Zipper. find(F<A,java.lang.Boolean> p)
Moves the focus to the element matching the given predicate, if present.Option<TreeZipper<A>>
TreeZipper. findChild(F<Tree<A>,java.lang.Boolean> p)
Navigates to the first child of the current location, that satisfies the given predicate.<B> Eval<B>
Eval. flatMap(F<A,Eval<B>> f)
Alias forEval.bind(F)
.static <A,B>
IO<B>IOFunctions. flatMap(IO<A> io, F<A,IO<B>> f)
<C> Reader<A,C>
Reader. flatMap(F<B,Reader<A,C>> f)
static <S,A,B>
State<S,B>State. flatMap(State<S,A> ts, F<A,State<S,B>> f)
<B> State<S,B>
State. flatMap(F<A,State<S,B>> f)
Bind the given function across this state.<B> Writer<W,B>
Writer. flatMap(F<A,Writer<W,B>> f)
private static <A> F<Stream<A>,Promise<Stream<A>>>
Stream. flt(Ord<A> o, Strategy<Unit> s, A x, F<java.lang.Boolean,java.lang.Boolean> f)
<B> Tree<B>
Tree. fmap(F<A,B> f)
Maps the given function over this tree.abstract <Z> Z
Iteratee.IterV. fold(F<P2<A,Iteratee.Input<E>>,Z> done, F<F<Iteratee.Input<E>,Iteratee.IterV<E,A>>,Z> cont)
<B> B
Array. foldLeft(F<B,F<A,B>> f, B b)
Performs a left-fold reduction across this array.<B> B
Array.ImmutableProjection. foldLeft(F<B,F<A,B>> f, B b)
Performs a left-fold reduction across this array.<B> B
IterableW. foldLeft(F<B,F<A,B>> f, B z)
The catamorphism for Iterables, implemented as a left fold.<B> B
List. foldLeft(F<B,F<A,B>> f, B b)
Performs a left-fold reduction across this list.<B> B
Stream. foldLeft(F<B,F<A,B>> f, B b)
Performs a left-fold reduction across this stream.A
IterableW. foldLeft1(F<A,F<A,A>> f)
Takes the first 2 elements of the iterable and applies the function to them, then applies the function to the result and the third element and so on.A
List. foldLeft1(F<A,F<A,A>> f)
Takes the first 2 elements of the list and applies the function to them, then applies the function to the result and the third element and so on.A
NonEmptyList. foldLeft1(F<A,F<A,A>> f)
Performs a left-fold reduction across this list.A
Stream. foldLeft1(F<A,F<A,A>> f)
Takes the first 2 elements of the stream and applies the function to them, then applies the function to the result and the third element and so on.<B> B
Set. foldMap(F<A,B> f, Monoid<B> m)
Folds this Set using the given monoid.<B> B
Tree. foldMap(F<A,B> f, Monoid<B> m)
Folds this tree using the given monoid.static <A,B>
F<Tree<A>,B>Tree. foldMap_(F<A,B> f, Monoid<B> m)
Provides a function that folds a tree with the given monoid.<B> B
Set. foldMapRight(F<A,B> f, Monoid<B> m)
Folds this Set from the right using the given monoid.<B> B
Array. foldRight(F<A,F<B,B>> f, B b)
Performs a right-fold reduction across this array.<B> B
Array.ImmutableProjection. foldRight(F<A,F<B,B>> f, B b)
Performs a right-fold reduction across this array.<B> B
List. foldRight(F<A,F<B,B>> f, B b)
Performs a right-fold reduction across this list.<B> B
Stream. foldRight(F<A,F<P1<B>,B>> f, B b)
Performs a right-fold reduction across this stream.<B> B
Zipper. foldRight(F<A,F<B,B>> f, B z)
Performs a right-fold reduction across this zipper.A
NonEmptyList. foldRight1(F<A,F<A,A>> f)
Performs a right-fold reduction across this list.<B> B
Stream. foldRight1(F<A,F<B,B>> f, B b)
Performs a right-fold reduction across this stream.boolean
Array. forall(F<A,java.lang.Boolean> f)
Returnstrue
if the predicate holds for all of the elements of this array,false
otherwise (true
for the empty array).boolean
Either.LeftProjection. forall(F<A,java.lang.Boolean> f)
Returnstrue
if no value or returns the result of the application of the given function to the value.boolean
Either.RightProjection. forall(F<B,java.lang.Boolean> f)
Returnstrue
if no value or returns the result of the application of the given function to the value.boolean
Either3.LeftProjection. forall(F<A,java.lang.Boolean> f)
boolean
Either3.MiddleProjection. forall(F<B,java.lang.Boolean> f)
boolean
Either3.RightProjection. forall(F<C,java.lang.Boolean> f)
boolean
List. forall(F<A,java.lang.Boolean> f)
Returnstrue
if the predicate holds for all of the elements of this list,false
otherwise (true
for the empty list).boolean
Option. forall(F<A,java.lang.Boolean> f)
Returnstrue
if this optional value has no value, or the predicate holds for the given predicate function,false
otherwise.boolean
Stream. forall(F<A,java.lang.Boolean> f)
Returnstrue
if the predicate holds for all of the elements of this stream,false
otherwise (true
for the empty stream).boolean
Validation.FailProjection. forall(F<E,java.lang.Boolean> f)
Returnstrue
if this is a success or returns the result of the application of the given function to the failing value.boolean
Validation. forall(F<T,java.lang.Boolean> f)
Returnstrue
if this is a failure or returns the result of the application of the given function to the success value.Unit
Array. foreach(F<A,Unit> f)
Performs a side-effect for each element of this array.Unit
Array.ImmutableProjection. foreach(F<A,Unit> f)
Performs a side-effect for each element of this array.Unit
Either.LeftProjection. foreach(F<A,Unit> f)
Execute a side-effect on this projection's value if it has one.Unit
Either.RightProjection. foreach(F<B,Unit> f)
Execute a side-effect on this projection's value if it has one.Unit
Either3.LeftProjection. foreach(F<A,Unit> f)
Unit
Either3.MiddleProjection. foreach(F<B,Unit> f)
Unit
Either3.RightProjection. foreach(F<C,Unit> f)
void
HashMap. foreach(F<P2<K,V>,Unit> function)
Unit
List. foreach(F<A,Unit> f)
Performs a side-effect for each element of this list.Unit
Option. foreach(F<A,Unit> f)
Performs a side-effect for the value of this optional value.Unit
Stream. foreach(F<A,Unit> f)
Performs a side-effect for each element of this stream.Unit
Validation.FailProjection. foreach(F<E,Unit> f)
Executes a side-effect on the failing value if there is one.Unit
Validation. foreach(F<T,Unit> f)
Executes a side-effect on the success value if there is one.static <A,B>
Stream<A>Stream. fromFunction(Enumerator<B> e, F<B,A> f, B i)
Converts a function of an enumerable type to a stream of the results of that function, starting at the given index.static <A> Stream<A>
Stream. fromFunction(F<Natural,A> f)
Converts a function of natural numbers to a stream.static <S,A>
State<S,A>State. gets(F<S,A> f)
<B,C,D>
TreeMap<B,D>List. groupBy(F<A,B> keyFunction, F<A,C> valueFunction, D groupingIdentity, F2<C,D,D> groupingAcc, Ord<B> keyOrd)
Groups the elements of this list by a given keyFunction, applies the valueFunction and accumulates the mapped values with the given grouping accumulator function on the grouping identity.<B,C>
TreeMap<B,C>List. groupBy(F<A,B> keyFunction, F<A,C> valueFunction, Monoid<C> monoid, Ord<B> keyOrd)
Groups the elements of this list by a given keyFunction into aTreeMap
and transforms the matching elements with the given valueFunction.<B,C>
TreeMap<B,List<C>>List. groupBy(F<A,B> keyFunction, F<A,C> valueFunction, Ord<B> keyOrd)
Groups the elements of this list by a given keyFunction into aTreeMap
and transforms the matching elements with the given valueFunction.<B> TreeMap<B,List<A>>
List. groupBy(F<A,B> keyFunction, Ord<B> keyOrd)
Groups the elements of this list by a given keyFunction into aTreeMap
.static <A> Option<A>
Option. iif(F<A,java.lang.Boolean> f, A a)
Returns an optional value that has a value of the given argument, if the given predicate holds on that argument, otherwise, returns no value.Option<java.lang.Integer>
Stream. indexOf(F<A,java.lang.Boolean> p)
Returns the position of the first element matching the given predicate, if any.List<A>
List. insertBy(F<A,F<A,Ordering>> f, A x)
Inserts the given element before the first element that is greater than or equal to it according to the given ordering.static IO<Unit>
IO. interact(F<LazyString,LazyString> f)
static IO<Unit>
IOFunctions. interact(F<LazyString,LazyString> f)
static IO<Unit>
IOFunctions. interactWhile(F<java.lang.String,java.lang.Boolean> condition, F<java.lang.String,java.lang.String> transform)
Read lines from stdin until condition is not met, transforming each line and printing the result to stdout.static <A,B>
F<A,IterableW<B>>IterableW. iterable(F<A,B> f)
Wraps a given function's return value in a Iterable.static <A> Stream<A>
Stream. iterate(F<A,A> f, A a)
Returns a stream constructed by applying the given iteration function starting at the given value.static <A> List<A>
List. iterateWhile(F<A,A> f, F<A,java.lang.Boolean> p, A a)
Creates a list where the first item is calculated by applying the function on the third argument, the second item by applying the function on the previous result and so on.static <A> Stream<A>
Stream. iterateWhile(F<A,A> f, F<A,java.lang.Boolean> p, A a)
Creates a stream where the first item is calculated by applying the function on the third argument, the second item by applying the function on the previous result and so on.private static <A,B,C>
F<A,Trampoline<C>>DList. kleisliTrampCompose(F<B,Trampoline<C>> bc, F<A,Trampoline<B>> ab)
static <A> IO<A>
IOFunctions. lazy(F<Unit,A> f)
static <A> SafeIO<A>
IOFunctions. lazySafe(F<Unit,A> f)
<X> Either<X,B>
Either. leftMap(F<A,X> f)
Map the given function across this either's left projection.<X> Either3<X,B,C>
Either3. leftMap(F<A,X> f)
static <A,B,C>
F<java.lang.Iterable<A>,F<java.lang.Iterable<B>,IterableW<C>>>IterableW. liftM2(F<A,F<B,C>> f)
Promotes a function of arity-2 to a function on iterables.static <A,B,C>
F<List<A>,F<List<B>,List<C>>>List. liftM2(F<A,F<B,C>> f)
Promotes the given function of arity-2 to a function on lists.static <A,B,C>
F<Option<A>,F<Option<B>,Option<C>>>Option. liftM2(F<A,F<B,C>> f)
Promotes a function of arity-2 so that it operates over options.<B> Array<B>
Array.ImmutableProjection. map(F<A,B> f)
Maps the given function across this array.<B> Array<B>
Array. map(F<A,B> f)
Maps the given function across this array.<X> Either<X,B>
Either.LeftProjection. map(F<A,X> f)
Map the given function across this projection's value if it has one.<X> Either<A,X>
Either.RightProjection. map(F<B,X> f)
Map the given function across this projection's value if it has one.<X> Either3<X,B,C>
Either3.LeftProjection. map(F<A,X> f)
<X> Either3<A,X,C>
Either3.MiddleProjection. map(F<B,X> f)
<X> Either3<A,B,X>
Either3.RightProjection. map(F<C,X> f)
<B> Eval<B>
Eval. map(F<A,B> f)
<A,B>
HashMap<A,B>HashMap. map(F<P2<K,V>,P2<A,B>> function)
<A,B>
HashMap<A,B>HashMap. map(F<P2<K,V>,P2<A,B>> function, Equal<A> equal, Hash<A> hash)
<A,B>
HashMap<A,B>HashMap. map(F<K,A> keyFunction, F<V,B> valueFunction)
<A,B>
HashMap<A,B>HashMap. map(F<K,A> keyFunction, F<V,B> valueFunction, Equal<A> equal, Hash<A> hash)
default <B> IO<B>
IO. map(F<A,B> f)
static <A,B>
IO<B>IOFunctions. map(IO<A> io, F<A,B> f)
<B> IterableW<B>
IterableW. map(F<A,B> f)
Maps a given function across the wrapped Iterable.LazyString
LazyString. map(F<java.lang.Character,java.lang.Character> f)
<B> List<B>
List. map(F<A,B> f)
Maps the given function across this list.<B> NonEmptyList<B>
NonEmptyList. map(F<A,B> f)
Maps the given function across this list.<B> Option<B>
Option. map(F<A,B> f)
Maps the given function across this optional value.<B> PriorityQueue<K,B>
PriorityQueue. map(F<A,B> f)
Maps the values in each node with function f.<C> Reader<A,C>
Reader. map(F<B,C> f)
<B> Seq<B>
Seq. map(F<A,B> f)
<B> Set<B>
Set. map(Ord<B> o, F<A,B> f)
Maps the given function across this set.<B> State<S,B>
State. map(F<A,B> f)
<B> Stream<B>
Stream. map(F<A,B> f)
Maps the given function across this stream.<W> TreeMap<K,W>
TreeMap. map(F<V,W> f)
Maps the given function across the values of this TreeMap.<B> TreeZipper<B>
TreeZipper. map(F<A,B> f)
Maps the given function across this zipper (covariant functor pattern).<A> Validation<A,T>
Validation.FailProjection. map(F<E,A> f)
Maps the given function across the failing side of this validation.<A> Validation<E,A>
Validation. map(F<T,A> f)
Maps the given function across the success side of this validation.<B> Writer<W,B>
Writer. map(F<A,B> f)
<B> Zipper<B>
Zipper. map(F<A,B> f)
Maps the given function across the elements of this zipper (covariant functor pattern).<X,Y,Z>
Either3<X,Y,Z>Either3. map3(F<A,X> fl, F<B,Y> fm, F<C,Z> fr)
<A> HashMap<A,V>
HashMap. mapKeys(F<K,A> function)
<A> HashMap<A,V>
HashMap. mapKeys(F<K,A> keyFunction, Equal<A> equal, Hash<A> hash)
<B,C>
F<B,List<C>>List. mapM(F<A,F<B,C>> f)
Maps the given function of arity-2 across this list and returns a function that applies all the resulting functions to a given argument.<B,C>
F<B,Stream<C>>Stream. mapM(F<A,F<B,C>> f)
Maps the given function of arity-2 across this stream and returns a function that applies all the resulting functions to a given argument.<B> Option<List<B>>
List. mapMOption(F<A,Option<B>> f)
Maps the given function across this list by binding through the Option monad.<B> Trampoline<List<B>>
List. mapMTrampoline(F<A,Trampoline<B>> f)
Maps the given function across this list by binding through the Trampoline monad.<B> State<S,B>
State. mapState(F<P2<S,A>,P2<S,B>> f)
<B> NonEmptyList<B>
NonEmptyList. mapTails(F<NonEmptyList<A>,B> f)
Maps the given function across the tails of this list (comonad pattern).<B> HashMap<K,B>
HashMap. mapValues(F<V,B> function)
<X> Either3<A,X,C>
Either3. middleMap(F<B,X> f)
static <S> State<S,Unit>
State. modify(F<S,S> f)
TreeZipper<A>
TreeZipper. modifyLabel(F<A,A> f)
Modifies the label at the current node with the given function.TreeZipper<A>
TreeZipper. modifyTree(F<Tree<A>,Tree<A>> f)
Modifies the current node with the given function.A
Either.LeftProjection. on(F<B,A> f)
The value of this projection or the result of the given function on the opposing projection's value.B
Either.RightProjection. on(F<A,B> f)
The value of this projection or the result of the given function on the opposing projection's value.E
Validation.FailProjection. on(F<T,E> f)
The failing value or the application of the given function to the success value.T
Validation. on(F<E,T> f)
The success value or the application of the given function to the failing value.<B> B
Option. option(B b, F<A,B> f)
Performs a reduction on this optional value using the given arguments.<B> B
Option. option(F0<B> b, F<A,B> f)
Performs a reduction on this optional value using the given arguments.static <A,B>
F<Option<A>,B>Option. option_(B none, F<A,B> some)
First-class catamorphism for Option: return a function that will performs a reduction on an optional value using the given arguments.P2<List<A>,List<A>>
List. partition(F<A,java.lang.Boolean> f)
Partitions the list into a tuple where the first element contains the items that satisfy the the predicate f and the second element contains the items that does not.List<A>
List. removeAll(F<A,java.lang.Boolean> f)
Filters elements from this list by returning only elements which producefalse
when the given function is applied to them.Stream<A>
Stream. removeAll(F<A,java.lang.Boolean> f)
Filters elements from this stream by returning only elements which producefalse
when the given function is applied to them.Stream<A>
Stream. replace(F<A,java.lang.Boolean> p, A a)
Returns a new stream resulting from replacing all elements that match the given predicate with the given element.<X> Either<A,X>
Either. rightMap(F<B,X> f)
Map the given function across this either's right.<X> Either3<A,B,X>
Either3. rightMap(F<C,X> f)
<B> Array<B>
Array. scanLeft(F<B,F<A,B>> f, B b)
Performs a fold left accummulating and returns an array of the intermediate results.Array<A>
Array. scanLeft1(F<A,F<A,A>> f)
Performs a left-fold accummulating using first array element as a starting value and returns an array of the intermediate results.<B> Array<B>
Array. scanRight(F<A,F<B,B>> f, B b)
Performs a right-fold accummulating and returns an array of the intermediate results.Array<A>
Array. scanRight1(F<A,F<A,A>> f)
Performs a right-fold accummulating using last array element as a starting value and returns an array of the intermediate results.static <A> IO<Stream<A>>
IOFunctions. sequenceWhile(Stream<IO<A>> stream, F<A,java.lang.Boolean> f)
static <A> IO<Stream<A>>
IOFunctions. sequenceWhileEager(Stream<IO<A>> stream, F<A,java.lang.Boolean> f)
P2<List<A>,List<A>>
List. span(F<A,java.lang.Boolean> p)
Returns a tuple where the first element is the longest prefix of this list that satisfies the given predicate and the second element is the remainder of the list.P2<Stream<A>,Stream<A>>
Stream. span(F<A,java.lang.Boolean> p)
Returns a tuple where the first element is the longest prefix of this stream that satisfies the given predicate and the second element is the remainder of the stream.Stream<LazyString>
LazyString. split(F<java.lang.Character,java.lang.Boolean> p)
Splits this lazy string by characters matching the given predicate.P2<Stream<A>,Stream<A>>
Stream. split(F<A,java.lang.Boolean> p)
Returns a tuple where the first element is the longest prefix of this stream that does not satisfy the given predicate and the second element is the remainder of the stream.private static <S,A>
State<S,A>State. suspended(F<S,Trampoline<P2<S,A>>> runF)
List<A>
List. takeWhile(F<A,java.lang.Boolean> f)
Returns the first elements of the head of this list that match the given predicate function.Stream<A>
Stream. takeWhile(F<A,java.lang.Boolean> f)
Returns the first elements of the head of this stream that match the given predicate function.static <S,A,B>
State<S,List<B>>State. traverse(List<A> list, F<A,State<S,B>> f)
Map each element of a structure to an action, evaluate these actions from left to right and collect the results.<B,E>
Either<E,List<B>>List. traverseEither(F<A,Either<E,B>> f)
Traverse through the List with given function.<L,B>
Either<L,Option<B>>Option. traverseEither(F<A,Either<L,B>> f)
Traverse this option with the given function and collect the output on the right side of an either.<B,L>
Either<L,Seq<B>>Seq. traverseEither(F<A,Either<L,B>> f)
Traverse this seq with the given function and collect the output on the right side of an either.<B,L>
Either<L,Stream<B>>Stream. traverseEither(F<A,Either<L,B>> f)
Traverse this stream with the given function and collect the output on the right side of an either.<R,B>
Either<List<B>,R>List. traverseEitherLeft(F<A,Either<B,R>> f)
Traverse this list with the given function and collect the output on the left side of an either.<R,B>
Either<Option<B>,R>Option. traverseEitherLeft(F<A,Either<B,R>> f)
Traverse this option with the given function and collect the output on the left side of an either.<R,B>
Either<Seq<B>,R>Seq. traverseEitherLeft(F<A,Either<B,R>> f)
Traverse this seq with the given function and collect the output on the left side of an either.<R,B>
Either<Stream<B>,R>Stream. traverseEitherLeft(F<A,Either<B,R>> f)
Traverse this stream with the given function and collect the output on the left side of an either.<R,C>
Either<Validation<E,C>,R>Validation. traverseEitherLeft(F<T,Either<C,R>> f)
Traverse this validation with the given function and collect the output on the left side of an either.<L,B>
Either<L,List<B>>List. traverseEitherRight(F<A,Either<L,B>> f)
Traverse this list with the given function and collect the output on the right side of an either.<L,B>
Either<L,Option<B>>Option. traverseEitherRight(F<A,Either<L,B>> f)
Traverse this option with the given function and collect the output on the right side of an either.<L,B>
Either<L,Seq<B>>Seq. traverseEitherRight(F<A,Either<L,B>> f)
Traverse this seq with the given function and collect the output on the right side of an either.<L,B>
Either<L,Stream<B>>Stream. traverseEitherRight(F<A,Either<L,B>> f)
Traverse this stream with the given function and collect the output on the right side of an either.<L,C>
Either<L,Validation<E,C>>Validation. traverseEitherRight(F<T,Either<L,C>> f)
Traverse this validation with the given function and collect the output on the right side of an either.<C,B>
F<C,List<B>>List. traverseF(F<A,F<C,B>> f)
Traverse this list with the given function and collect the output as a function.<C,B>
F<C,Option<B>>Option. traverseF(F<A,F<C,B>> f)
Traverse this option with the given function and collect the output as a function.<C,B>
F<C,Seq<B>>Seq. traverseF(F<A,F<C,B>> f)
Traverse this seq with the given function and collect the output as a function.<C,B>
F<C,Stream<B>>Stream. traverseF(F<A,F<C,B>> f)
Traverse this stream with the given function and collect the output as a function.<C,B>
F<C,Validation<E,B>>Validation. traverseF(F<T,F<C,B>> f)
Traverse this validation with the given function and collect the output as a function.<C> IO<Either<C,B>>
Either.LeftProjection. traverseIO(F<A,IO<C>> f)
Anonymous bind through this projection.<C> IO<Either<A,C>>
Either.RightProjection. traverseIO(F<B,IO<C>> f)
Traverse with a function that has IO effect<X> IO<Either3<X,B,C>>
Either3.LeftProjection. traverseIO(F<A,IO<X>> f)
<X> IO<Either3<A,X,C>>
Either3.MiddleProjection. traverseIO(F<B,IO<X>> f)
<X> IO<Either3<A,B,X>>
Either3.RightProjection. traverseIO(F<C,IO<X>> f)
<B> IO<List<B>>
List. traverseIO(F<A,IO<B>> f)
Traverse this list with the given function and collect the output as an IO.<B> IO<Option<B>>
Option. traverseIO(F<A,IO<B>> f)
Traverse this option with the given function and collect the output as an IO.<B> IO<Seq<B>>
Seq. traverseIO(F<A,IO<B>> f)
Traverse this seq with the given function and collect the output as an IO.<B> IO<Stream<B>>
Stream. traverseIO(F<A,IO<B>> f)
Traverse this stream with the given function and collect the output as an IO.<C> IO<Validation<E,C>>
Validation. traverseIO(F<T,IO<C>> f)
Traverse this validation with the given function and collect the output as an IO.<C> IO<Either<C,B>>
Either. traverseIOLeft(F<A,IO<C>> f)
Traversable instance of LeftProjection of Either for IO.<C> IO<Either<A,C>>
Either. traverseIORight(F<B,IO<C>> f)
Traversable instance of RightProjection of Either for IO.<C> List<Either<C,B>>
Either.LeftProjection. traverseList(F<A,List<C>> f)
Traverse with function that produces List (non-determinism).<C> List<Either<A,C>>
Either.RightProjection. traverseList(F<B,List<C>> f)
Traverse with function that produces List (non-determinism).<B> List<List<B>>
List. traverseList(F<A,List<B>> f)
Traverse this list with the given function and collect the output as a list.<B> List<Option<B>>
Option. traverseList(F<A,List<B>> f)
Traverse this option with the given function and collect the output as a list.<B> List<Seq<B>>
Seq. traverseList(F<A,List<B>> f)
Traverse this seq with the given function and collect the output as a list.<B> List<Stream<B>>
Stream. traverseList(F<A,List<B>> f)
Traverse this stream with the given function and collect the output as a list.<C> List<Validation<E,C>>
Validation. traverseList(F<T,List<C>> f)
Traverse this validation with the given function and collect the output as a list.<X> List<Either3<X,B,C>>
Either3.LeftProjection. traverseList1(F<A,List<X>> f)
<X> List<Either3<A,X,C>>
Either3.MiddleProjection. traverseList1(F<B,List<X>> f)
<X> List<Either3<A,B,X>>
Either3.RightProjection. traverseList1(F<C,List<X>> f)
<C> List<Either<C,B>>
Either. traverseListLeft(F<A,List<C>> f)
Traversable instance of LeftProjection of Either for List.<C> List<Either<A,C>>
Either. traverseListRight(F<B,List<C>> f)
Traversable instance of RightProjection of Either for List.<C> Option<Either<C,B>>
Either.LeftProjection. traverseOption(F<A,Option<C>> f)
<C> Option<Either<A,C>>
Either.RightProjection. traverseOption(F<B,Option<C>> f)
Traverse this right with the given function and collect the output as an option.<X> Option<Either3<X,B,C>>
Either3.LeftProjection. traverseOption(F<A,Option<X>> f)
<X> Option<Either3<A,X,C>>
Either3.MiddleProjection. traverseOption(F<B,Option<X>> f)
<X> Option<Either3<A,B,X>>
Either3.RightProjection. traverseOption(F<C,Option<X>> f)
<B> Option<List<B>>
List. traverseOption(F<A,Option<B>> f)
Traverses through the List with the given function<B> Option<Option<B>>
Option. traverseOption(F<A,Option<B>> f)
Traverse this option with the given function and collect the output as an option.<B> Option<Seq<B>>
Seq. traverseOption(F<A,Option<B>> f)
Traverses through the Seq with the given function<B> Option<Stream<B>>
Stream. traverseOption(F<A,Option<B>> f)
Traverses through the Seq with the given function<C> Option<Validation<E,C>>
Validation. traverseOption(F<T,Option<C>> f)
Traverse this validation with the given function and collect the output as an option.<C> Option<Either<C,B>>
Either. traverseOptionLeft(F<A,Option<C>> f)
Traversable instance of LeftProjection of Either for Option.<C> Option<Either<A,C>>
Either. traverseOptionRight(F<B,Option<C>> f)
Traversable instance of RightProjection of Either for Option.<C> P1<Either<C,B>>
Either.LeftProjection. traverseP1(F<A,P1<C>> f)
Traverse this left with the given function and collect the output as a p1.<C> P1<Either<A,C>>
Either.RightProjection. traverseP1(F<B,P1<C>> f)
Traverse this right with the given function and collect the output as a p1.<X> P1<Either3<X,B,C>>
Either3.LeftProjection. traverseP1(F<A,P1<X>> f)
<X> P1<Either3<A,X,C>>
Either3.MiddleProjection. traverseP1(F<B,P1<X>> f)
<X> P1<Either3<A,B,X>>
Either3.RightProjection. traverseP1(F<C,P1<X>> f)
<B> P1<List<B>>
List. traverseP1(F<A,P1<B>> f)
Traverse this list with the given function and collect the output as a p1.<B> P1<Option<B>>
Option. traverseP1(F<A,P1<B>> f)
Traverse this option with the given function and collect the output as a P1.<B> P1<Seq<B>>
Seq. traverseP1(F<A,P1<B>> f)
Traverse this seq with the given function and collect the output as a p1.<B> P1<Stream<B>>
Stream. traverseP1(F<A,P1<B>> f)
Traverse this stream with the given function and collect the output as a p1.<C> P1<Validation<E,C>>
Validation. traverseP1(F<T,P1<C>> f)
Traverse this validation with the given function and collect the output as a P1.<B> Promise<List<B>>
List. traversePromise(F<A,Promise<B>> f)
<B> Seq<List<B>>
List. traverseSeq(F<A,Seq<B>> f)
Traverse this list with the given function and collect the output as a seq.<B> Seq<Option<B>>
Option. traverseSeq(F<A,Seq<B>> f)
Traverse this option with the given function and collect the output a seq.<B> Seq<Seq<B>>
Seq. traverseSeq(F<A,Seq<B>> f)
Traverse this seq with the given function and collect the output as a seq.<B> Seq<Stream<B>>
Stream. traverseSeq(F<A,Seq<B>> f)
Traverse this stream with the given function and collect the output as a seq.<C> Seq<Validation<E,C>>
Validation. traverseSeq(F<T,Seq<C>> f)
Traverse this validation with the given function and collect the output as a seq.<B> Set<List<B>>
List. traverseSet(Ord<B> ord, F<A,Set<B>> f)
Traverse this list with the given function and collect the output as a set; use the given ord to order the set.<B> Set<Option<B>>
Option. traverseSet(Ord<B> ord, F<A,Set<B>> f)
Traverse this option with the given function and collect the output as a set; use the given ord to order the set.<B> Set<Seq<B>>
Seq. traverseSet(Ord<B> ord, F<A,Set<B>> f)
Traverse this seq with the given function and collect the output as a set; use the given ord to order the set.<B> Set<Stream<B>>
Stream. traverseSet(Ord<B> ord, F<A,Set<B>> f)
Traverse this stream with the given function and collect the output as a set; use the given ord to order the set.<C> Set<Validation<E,C>>
Validation. traverseSet(Ord<E> ordE, Ord<C> ordC, F<T,Set<C>> f)
Traverse this validation with the given function and collect the output as a set; use the given success and failure value ords to order the set.<C> Stream<Either<C,B>>
Either.LeftProjection. traverseStream(F<A,Stream<C>> f)
<C> Stream<Either<A,C>>
Either.RightProjection. traverseStream(F<B,Stream<C>> f)
<X> Stream<Either3<X,B,C>>
Either3.LeftProjection. traverseStream(F<A,Stream<X>> f)
<X> Stream<Either3<A,X,C>>
Either3.MiddleProjection. traverseStream(F<B,Stream<X>> f)
<X> Stream<Either3<A,B,X>>
Either3.RightProjection. traverseStream(F<C,Stream<X>> f)
<B> Stream<List<B>>
List. traverseStream(F<A,Stream<B>> f)
Traverse this list with the given function and collect the output as a stream.<B> Stream<Option<B>>
Option. traverseStream(F<A,Stream<B>> f)
Traverse this option with the given function and collect the output as a stream.<B> Stream<Seq<B>>
Seq. traverseStream(F<A,Stream<B>> f)
Traverse this seq with the given function and collect the output as a stream.<B> Stream<Stream<B>>
Stream. traverseStream(F<A,Stream<B>> f)
Traverse this stream with the given function and collect the output as a stream.<C> Stream<Validation<E,C>>
Validation. traverseStream(F<T,Stream<C>> f)
Traverse this validation with the given function and collect the output as a stream.<C> Stream<Either<C,B>>
Either. traverseStreamLeft(F<A,Stream<C>> f)
Traversable instance of LeftProjection of Either for Stream.<C> Stream<Either<A,C>>
Either. traverseStreamRight(F<B,Stream<C>> f)
Traversable instance of RightProjection of Either for Stream.<B> Trampoline<List<B>>
List. traverseTrampoline(F<A,Trampoline<B>> f)
Traverse this list with the given function and collect the output as a trampoline.<B> Trampoline<Option<B>>
Option. traverseTrampoline(F<A,Trampoline<B>> f)
Traverse this option with the given function and collect the output as a trampoline.<B> Trampoline<Seq<B>>
Seq. traverseTrampoline(F<A,Trampoline<B>> f)
Traverse this seq with the given function and collect the output as a trampoline.<B> Trampoline<Stream<B>>
Stream. traverseTrampoline(F<A,Trampoline<B>> f)
Traverse this stream with the given function and collect the output as a trampoline.<C> Trampoline<Validation<E,C>>
Validation. traverseTrampoline(F<T,Trampoline<C>> f)
Traverse this validation with the given function and collect the output as a trampoline.<B> V2<List<B>>
List. traverseV2(F<A,V2<B>> f)
<E,B>
Validation<E,List<B>>List. traverseValidation(Semigroup<E> s, F<A,Validation<E,B>> f)
Traverse this list with the given function and collect the output as a validation; use the given semigroup to reduce the errors.<E,B>
Validation<E,Option<B>>Option. traverseValidation(F<A,Validation<E,B>> f)
Traverse this option with the given function and collect the output as a validation.<E,B>
Validation<E,Seq<B>>Seq. traverseValidation(F<A,Validation<E,B>> f)
Traverse this seq with the given function and collect the output as a validation.<E,B>
Validation<E,Seq<B>>Seq. traverseValidation(Semigroup<E> semigroup, F<A,Validation<E,B>> f)
Traverse this seq with the given function and collect the output as a validation; use the given semigroup to reduce the errors.<E,B>
Validation<E,Stream<B>>Stream. traverseValidation(F<A,Validation<E,B>> f)
Traverse this stream with the given function and collect the output as a validation.<E,B>
Validation<E,Stream<B>>Stream. traverseValidation(Semigroup<E> semigroup, F<A,Validation<E,B>> f)
Traverse this stream with the given function and collect the output as a validation; use the given semigroup to reduce the errors.<E1,C>
Validation<E1,Validation<E,C>>Validation. traverseValidation(F<T,Validation<E1,C>> f)
Traverse this validation with the given function and collect the output as a validation.private Either<A,P2<java.lang.Boolean,Set<A>>>
Set. tryUpdate(A a, F<A,A> f)
private Stream<Tree<TreeZipper<A>>>
TreeZipper. uf(F<TreeZipper<A>,Option<TreeZipper<A>>> f)
<B> B
Stream. uncons(B nil, F<A,F<P1<Stream<A>>,B>> cons)
Performs a reduction on this stream using the given arguments.static <A,B>
List<A>List. unfold(F<B,Option<P2<A,B>>> f, B b)
Unfolds across the given function starting at the given value to produce a list.static <A,B>
Stream<A>Stream. unfold(F<B,Option<P2<A,B>>> f, B b)
Unfolds across the given function starting at the given value to produce a stream.static <A,B>
F<B,Tree<A>>Tree. unfoldTree(F<B,P2<A,P1<Stream<B>>>> f)
Builds a tree from a seed value.static <A,B>
Reader<A,B>Reader. unit(F<A,B> f)
static <S,A>
State<S,A>State. unit(F<S,P2<S,A>> runF)
static <S> State<S,S>
State. units(F<S,S> f)
P2<java.lang.Boolean,Set<A>>
Set. update(A a, F<A,A> f)
Updates, with the given function, the first element in the set that is equal to the given element, according to the order.P2<java.lang.Boolean,TreeMap<K,V>>
TreeMap. update(K k, F<V,V> f)
Modifies the value for the given key, if present, by applying the given function to it.TreeMap<K,V>
TreeMap. update(K k, F<V,V> f, V v)
Modifies the value for the given key, if present, by applying the given function to it, or inserts the given value if the key is not present.<X> X
Validation. validation(F<E,X> fail, F<T,X> success)
The catamorphism for validation.State<S,A>
State. withs(F<S,S> f)
<B> Enumerator<B>
Enumerator. xmap(F<A,B> f, F<B,A> g)
Invariant functor map over this enumerator.<B,C>
Array<C>Array. zipWith(Array<B> bs, F<A,F<B,C>> f)
Zips this array with the given array using the given function to produce a new array.<B,C>
java.lang.Iterable<C>IterableW. zipWith(java.lang.Iterable<B> bs, F<A,F<B,C>> f)
Zips this iterable with the given iterable using the given function to produce a new iterable.<B,C>
List<C>List. zipWith(List<B> bs, F<A,F<B,C>> f)
Zips this list with the given list using the given function to produce a new list.<B,C>
NonEmptyList<C>NonEmptyList. zipWith(List<B> bs, F<A,F<B,C>> f)
Zips this non empty list with the given non empty list using the given function to produce a new list.<B,C>
Stream<C>Stream. zipWith(Stream<B> bs, F<A,F<B,C>> f)
Zips this stream with the given stream using the given function to produce a new stream.<B,C>
F<Stream<B>,Stream<C>>Stream. zipWith(F<A,F<B,C>> f)
Partially-applied version of zipWith.<B,C>
Tree<C>Tree. zipWith(Tree<B> bs, F<A,F<B,C>> f)
Zips this tree with another, using the given function.<B,C>
TreeZipper<C>TreeZipper. zipWith(TreeZipper<B> bs, F<A,F<B,C>> f)
Zips this TreeZipper with another, applying the given function lock-step over both zippers in all directions.<B,C>
Zipper<C>Zipper. zipWith(Zipper<B> bs, F<A,F<B,C>> f)
Zips this Zipper with another, applying the given function lock-step over both zippers in both directions.Method parameters in fj.data with type arguments of type F Modifier and Type Method Description <A> Validation<E,A>
Validation. accumapply(Semigroup<E> s, Validation<E,F<T,A>> v)
Function application on the successful side of this validation, or accumulating the errors on the failing side using the given semigroup should one or more be encountered.<A,B,C,D,E$,F$,G,H>
Validation<E,H>Validation. accumulate(Semigroup<E> s, Validation<E,A> va, Validation<E,B> vb, Validation<E,C> vc, Validation<E,D> vd, Validation<E,E$> ve, Validation<E,F$> vf, Validation<E,G> vg, F<T,F<A,F<B,F<C,F<D,F<E$,F<F$,F<G,H>>>>>>>> f)
Accumulates errors on the failing side of this or any given validation if one or more are encountered, or applies the given function if all succeeded and returns that value on the successful side.<A,B,C,D,E$,F$,G,H>
Validation<E,H>Validation. accumulate(Semigroup<E> s, Validation<E,A> va, Validation<E,B> vb, Validation<E,C> vc, Validation<E,D> vd, Validation<E,E$> ve, Validation<E,F$> vf, Validation<E,G> vg, F<T,F<A,F<B,F<C,F<D,F<E$,F<F$,F<G,H>>>>>>>> f)
Accumulates errors on the failing side of this or any given validation if one or more are encountered, or applies the given function if all succeeded and returns that value on the successful side.<A,B,C,D,E$,F$,G,H>
Validation<E,H>Validation. accumulate(Semigroup<E> s, Validation<E,A> va, Validation<E,B> vb, Validation<E,C> vc, Validation<E,D> vd, Validation<E,E$> ve, Validation<E,F$> vf, Validation<E,G> vg, F<T,F<A,F<B,F<C,F<D,F<E$,F<F$,F<G,H>>>>>>>> f)
Accumulates errors on the failing side of this or any given validation if one or more are encountered, or applies the given function if all succeeded and returns that value on the successful side.<A,B,C,D,E$,F$,G,H>
Validation<E,H>Validation. accumulate(Semigroup<E> s, Validation<E,A> va, Validation<E,B> vb, Validation<E,C> vc, Validation<E,D> vd, Validation<E,E$> ve, Validation<E,F$> vf, Validation<E,G> vg, F<T,F<A,F<B,F<C,F<D,F<E$,F<F$,F<G,H>>>>>>>> f)
Accumulates errors on the failing side of this or any given validation if one or more are encountered, or applies the given function if all succeeded and returns that value on the successful side.<A,B,C,D,E$,F$,G,H>
Validation<E,H>Validation. accumulate(Semigroup<E> s, Validation<E,A> va, Validation<E,B> vb, Validation<E,C> vc, Validation<E,D> vd, Validation<E,E$> ve, Validation<E,F$> vf, Validation<E,G> vg, F<T,F<A,F<B,F<C,F<D,F<E$,F<F$,F<G,H>>>>>>>> f)
Accumulates errors on the failing side of this or any given validation if one or more are encountered, or applies the given function if all succeeded and returns that value on the successful side.<A,B,C,D,E$,F$,G,H>
Validation<E,H>Validation. accumulate(Semigroup<E> s, Validation<E,A> va, Validation<E,B> vb, Validation<E,C> vc, Validation<E,D> vd, Validation<E,E$> ve, Validation<E,F$> vf, Validation<E,G> vg, F<T,F<A,F<B,F<C,F<D,F<E$,F<F$,F<G,H>>>>>>>> f)
Accumulates errors on the failing side of this or any given validation if one or more are encountered, or applies the given function if all succeeded and returns that value on the successful side.<A,B,C,D,E$,F$,G,H>
Validation<E,H>Validation. accumulate(Semigroup<E> s, Validation<E,A> va, Validation<E,B> vb, Validation<E,C> vc, Validation<E,D> vd, Validation<E,E$> ve, Validation<E,F$> vf, Validation<E,G> vg, F<T,F<A,F<B,F<C,F<D,F<E$,F<F$,F<G,H>>>>>>>> f)
Accumulates errors on the failing side of this or any given validation if one or more are encountered, or applies the given function if all succeeded and returns that value on the successful side.<A,B,C,D,E$,F$,G>
Validation<E,G>Validation. accumulate(Semigroup<E> s, Validation<E,A> va, Validation<E,B> vb, Validation<E,C> vc, Validation<E,D> vd, Validation<E,E$> ve, Validation<E,F$> vf, F<T,F<A,F<B,F<C,F<D,F<E$,F<F$,G>>>>>>> f)
Accumulates errors on the failing side of this or any given validation if one or more are encountered, or applies the given function if all succeeded and returns that value on the successful side.<A,B,C,D,E$,F$,G>
Validation<E,G>Validation. accumulate(Semigroup<E> s, Validation<E,A> va, Validation<E,B> vb, Validation<E,C> vc, Validation<E,D> vd, Validation<E,E$> ve, Validation<E,F$> vf, F<T,F<A,F<B,F<C,F<D,F<E$,F<F$,G>>>>>>> f)
Accumulates errors on the failing side of this or any given validation if one or more are encountered, or applies the given function if all succeeded and returns that value on the successful side.<A,B,C,D,E$,F$,G>
Validation<E,G>Validation. accumulate(Semigroup<E> s, Validation<E,A> va, Validation<E,B> vb, Validation<E,C> vc, Validation<E,D> vd, Validation<E,E$> ve, Validation<E,F$> vf, F<T,F<A,F<B,F<C,F<D,F<E$,F<F$,G>>>>>>> f)
Accumulates errors on the failing side of this or any given validation if one or more are encountered, or applies the given function if all succeeded and returns that value on the successful side.<A,B,C,D,E$,F$,G>
Validation<E,G>Validation. accumulate(Semigroup<E> s, Validation<E,A> va, Validation<E,B> vb, Validation<E,C> vc, Validation<E,D> vd, Validation<E,E$> ve, Validation<E,F$> vf, F<T,F<A,F<B,F<C,F<D,F<E$,F<F$,G>>>>>>> f)
Accumulates errors on the failing side of this or any given validation if one or more are encountered, or applies the given function if all succeeded and returns that value on the successful side.<A,B,C,D,E$,F$,G>
Validation<E,G>Validation. accumulate(Semigroup<E> s, Validation<E,A> va, Validation<E,B> vb, Validation<E,C> vc, Validation<E,D> vd, Validation<E,E$> ve, Validation<E,F$> vf, F<T,F<A,F<B,F<C,F<D,F<E$,F<F$,G>>>>>>> f)
Accumulates errors on the failing side of this or any given validation if one or more are encountered, or applies the given function if all succeeded and returns that value on the successful side.<A,B,C,D,E$,F$,G>
Validation<E,G>Validation. accumulate(Semigroup<E> s, Validation<E,A> va, Validation<E,B> vb, Validation<E,C> vc, Validation<E,D> vd, Validation<E,E$> ve, Validation<E,F$> vf, F<T,F<A,F<B,F<C,F<D,F<E$,F<F$,G>>>>>>> f)
Accumulates errors on the failing side of this or any given validation if one or more are encountered, or applies the given function if all succeeded and returns that value on the successful side.<A,B,C,D,E$,F$>
Validation<E,F$>Validation. accumulate(Semigroup<E> s, Validation<E,A> va, Validation<E,B> vb, Validation<E,C> vc, Validation<E,D> vd, Validation<E,E$> ve, F<T,F<A,F<B,F<C,F<D,F<E$,F$>>>>>> f)
Accumulates errors on the failing side of this or any given validation if one or more are encountered, or applies the given function if all succeeded and returns that value on the successful side.<A,B,C,D,E$,F$>
Validation<E,F$>Validation. accumulate(Semigroup<E> s, Validation<E,A> va, Validation<E,B> vb, Validation<E,C> vc, Validation<E,D> vd, Validation<E,E$> ve, F<T,F<A,F<B,F<C,F<D,F<E$,F$>>>>>> f)
Accumulates errors on the failing side of this or any given validation if one or more are encountered, or applies the given function if all succeeded and returns that value on the successful side.<A,B,C,D,E$,F$>
Validation<E,F$>Validation. accumulate(Semigroup<E> s, Validation<E,A> va, Validation<E,B> vb, Validation<E,C> vc, Validation<E,D> vd, Validation<E,E$> ve, F<T,F<A,F<B,F<C,F<D,F<E$,F$>>>>>> f)
Accumulates errors on the failing side of this or any given validation if one or more are encountered, or applies the given function if all succeeded and returns that value on the successful side.<A,B,C,D,E$,F$>
Validation<E,F$>Validation. accumulate(Semigroup<E> s, Validation<E,A> va, Validation<E,B> vb, Validation<E,C> vc, Validation<E,D> vd, Validation<E,E$> ve, F<T,F<A,F<B,F<C,F<D,F<E$,F$>>>>>> f)
Accumulates errors on the failing side of this or any given validation if one or more are encountered, or applies the given function if all succeeded and returns that value on the successful side.<A,B,C,D,E$,F$>
Validation<E,F$>Validation. accumulate(Semigroup<E> s, Validation<E,A> va, Validation<E,B> vb, Validation<E,C> vc, Validation<E,D> vd, Validation<E,E$> ve, F<T,F<A,F<B,F<C,F<D,F<E$,F$>>>>>> f)
Accumulates errors on the failing side of this or any given validation if one or more are encountered, or applies the given function if all succeeded and returns that value on the successful side.<A,B,C,D,E$>
Validation<E,E$>Validation. accumulate(Semigroup<E> s, Validation<E,A> va, Validation<E,B> vb, Validation<E,C> vc, Validation<E,D> vd, F<T,F<A,F<B,F<C,F<D,E$>>>>> f)
Accumulates errors on the failing side of this or any given validation if one or more are encountered, or applies the given function if all succeeded and returns that value on the successful side.<A,B,C,D,E$>
Validation<E,E$>Validation. accumulate(Semigroup<E> s, Validation<E,A> va, Validation<E,B> vb, Validation<E,C> vc, Validation<E,D> vd, F<T,F<A,F<B,F<C,F<D,E$>>>>> f)
Accumulates errors on the failing side of this or any given validation if one or more are encountered, or applies the given function if all succeeded and returns that value on the successful side.<A,B,C,D,E$>
Validation<E,E$>Validation. accumulate(Semigroup<E> s, Validation<E,A> va, Validation<E,B> vb, Validation<E,C> vc, Validation<E,D> vd, F<T,F<A,F<B,F<C,F<D,E$>>>>> f)
Accumulates errors on the failing side of this or any given validation if one or more are encountered, or applies the given function if all succeeded and returns that value on the successful side.<A,B,C,D,E$>
Validation<E,E$>Validation. accumulate(Semigroup<E> s, Validation<E,A> va, Validation<E,B> vb, Validation<E,C> vc, Validation<E,D> vd, F<T,F<A,F<B,F<C,F<D,E$>>>>> f)
Accumulates errors on the failing side of this or any given validation if one or more are encountered, or applies the given function if all succeeded and returns that value on the successful side.<A,B,C,D>
Validation<E,D>Validation. accumulate(Semigroup<E> s, Validation<E,A> va, Validation<E,B> vb, Validation<E,C> vc, F<T,F<A,F<B,F<C,D>>>> f)
Accumulates errors on the failing side of this or any given validation if one or more are encountered, or applies the given function if all succeeded and returns that value on the successful side.<A,B,C,D>
Validation<E,D>Validation. accumulate(Semigroup<E> s, Validation<E,A> va, Validation<E,B> vb, Validation<E,C> vc, F<T,F<A,F<B,F<C,D>>>> f)
Accumulates errors on the failing side of this or any given validation if one or more are encountered, or applies the given function if all succeeded and returns that value on the successful side.<A,B,C,D>
Validation<E,D>Validation. accumulate(Semigroup<E> s, Validation<E,A> va, Validation<E,B> vb, Validation<E,C> vc, F<T,F<A,F<B,F<C,D>>>> f)
Accumulates errors on the failing side of this or any given validation if one or more are encountered, or applies the given function if all succeeded and returns that value on the successful side.<A,B,C>
Validation<E,C>Validation. accumulate(Semigroup<E> s, Validation<E,A> va, Validation<E,B> vb, F<T,F<A,F<B,C>>> f)
Accumulates errors on the failing side of this or any given validation if one or more are encountered, or applies the given function if all succeeded and returns that value on the successful side.<A,B,C>
Validation<E,C>Validation. accumulate(Semigroup<E> s, Validation<E,A> va, Validation<E,B> vb, F<T,F<A,F<B,C>>> f)
Accumulates errors on the failing side of this or any given validation if one or more are encountered, or applies the given function if all succeeded and returns that value on the successful side.<A,B>
Validation<E,B>Validation. accumulate(Semigroup<E> s, Validation<E,A> va, F<T,F<A,B>> f)
Accumulates errors on the failing side of this or any given validation if one or more are encountered, or applies the given function if all succeeded and returns that value on the successful side.<B> Array<B>
Array. apply(Array<F<A,B>> lf)
Performs function application within an array (applicative functor pattern).<B> Array<B>
Array.ImmutableProjection. apply(Array<F<A,B>> lf)
Performs function application within an array (applicative functor pattern).<X> Either<X,B>
Either.LeftProjection. apply(Either<F<A,X>,B> e)
Function application on this projection's value.<X> Either<A,X>
Either.RightProjection. apply(Either<A,F<B,X>> e)
Function application on this projection's value.<X> Either3<X,B,C>
Either3.LeftProjection. apply(Either3<F<A,X>,B,C> e)
<X> Either3<A,X,C>
Either3.MiddleProjection. apply(Either3<A,F<B,X>,C> e)
<X> Either3<A,B,X>
Either3.RightProjection. apply(Either3<A,B,F<C,X>> e)
<B> IterableW<B>
IterableW. apply(java.lang.Iterable<F<A,B>> f)
Performs function application within an iterable (applicative functor pattern).<B> List<B>
List. apply(List<F<A,B>> lf)
Performs function application within a list (applicative functor pattern).<B> Option<B>
Option. apply(Option<F<A,B>> of)
Performs function application within an optional value (applicative functor pattern).<B> Stream<B>
Stream. apply(Stream<F<A,B>> sf)
Performs function application within a stream (applicative functor pattern).<A> Validation<E,A>
Validation. apply(Validation<E,F<T,A>> v)
Function application on the success value.<A> Validation<A,T>
Validation.FailProjection. apply(Validation<F<E,A>,T> v)
Function application on the failing value.<B,C>
Array<C>Array. bind(Array<B> sb, F<A,F<B,C>> f)
Binds the given function across each element of this array and the given array with a final join.static <A,B,C>
IterableW<C>IterableW. bind(java.lang.Iterable<A> a, java.lang.Iterable<B> b, F<A,F<B,C>> f)
Binds the given function to the values in the given iterables with a final join.<B,C,D,E,F$,G,H,I>
List<I>List. bind(List<B> lb, List<C> lc, List<D> ld, List<E> le, List<F$> lf, List<G> lg, List<H> lh, F<A,F<B,F<C,F<D,F<E,F<F$,F<G,F<H,I>>>>>>>> f)
Binds the given function across each element of this list and the given lists with a final join.<B,C,D,E,F$,G,H,I>
List<I>List. bind(List<B> lb, List<C> lc, List<D> ld, List<E> le, List<F$> lf, List<G> lg, List<H> lh, F<A,F<B,F<C,F<D,F<E,F<F$,F<G,F<H,I>>>>>>>> f)
Binds the given function across each element of this list and the given lists with a final join.<B,C,D,E,F$,G,H,I>
List<I>List. bind(List<B> lb, List<C> lc, List<D> ld, List<E> le, List<F$> lf, List<G> lg, List<H> lh, F<A,F<B,F<C,F<D,F<E,F<F$,F<G,F<H,I>>>>>>>> f)
Binds the given function across each element of this list and the given lists with a final join.<B,C,D,E,F$,G,H,I>
List<I>List. bind(List<B> lb, List<C> lc, List<D> ld, List<E> le, List<F$> lf, List<G> lg, List<H> lh, F<A,F<B,F<C,F<D,F<E,F<F$,F<G,F<H,I>>>>>>>> f)
Binds the given function across each element of this list and the given lists with a final join.<B,C,D,E,F$,G,H,I>
List<I>List. bind(List<B> lb, List<C> lc, List<D> ld, List<E> le, List<F$> lf, List<G> lg, List<H> lh, F<A,F<B,F<C,F<D,F<E,F<F$,F<G,F<H,I>>>>>>>> f)
Binds the given function across each element of this list and the given lists with a final join.<B,C,D,E,F$,G,H,I>
List<I>List. bind(List<B> lb, List<C> lc, List<D> ld, List<E> le, List<F$> lf, List<G> lg, List<H> lh, F<A,F<B,F<C,F<D,F<E,F<F$,F<G,F<H,I>>>>>>>> f)
Binds the given function across each element of this list and the given lists with a final join.<B,C,D,E,F$,G,H,I>
List<I>List. bind(List<B> lb, List<C> lc, List<D> ld, List<E> le, List<F$> lf, List<G> lg, List<H> lh, F<A,F<B,F<C,F<D,F<E,F<F$,F<G,F<H,I>>>>>>>> f)
Binds the given function across each element of this list and the given lists with a final join.<B,C,D,E,F$,G,H>
List<H>List. bind(List<B> lb, List<C> lc, List<D> ld, List<E> le, List<F$> lf, List<G> lg, F<A,F<B,F<C,F<D,F<E,F<F$,F<G,H>>>>>>> f)
Binds the given function across each element of this list and the given lists with a final join.<B,C,D,E,F$,G,H>
List<H>List. bind(List<B> lb, List<C> lc, List<D> ld, List<E> le, List<F$> lf, List<G> lg, F<A,F<B,F<C,F<D,F<E,F<F$,F<G,H>>>>>>> f)
Binds the given function across each element of this list and the given lists with a final join.<B,C,D,E,F$,G,H>
List<H>List. bind(List<B> lb, List<C> lc, List<D> ld, List<E> le, List<F$> lf, List<G> lg, F<A,F<B,F<C,F<D,F<E,F<F$,F<G,H>>>>>>> f)
Binds the given function across each element of this list and the given lists with a final join.<B,C,D,E,F$,G,H>
List<H>List. bind(List<B> lb, List<C> lc, List<D> ld, List<E> le, List<F$> lf, List<G> lg, F<A,F<B,F<C,F<D,F<E,F<F$,F<G,H>>>>>>> f)
Binds the given function across each element of this list and the given lists with a final join.<B,C,D,E,F$,G,H>
List<H>List. bind(List<B> lb, List<C> lc, List<D> ld, List<E> le, List<F$> lf, List<G> lg, F<A,F<B,F<C,F<D,F<E,F<F$,F<G,H>>>>>>> f)
Binds the given function across each element of this list and the given lists with a final join.<B,C,D,E,F$,G,H>
List<H>List. bind(List<B> lb, List<C> lc, List<D> ld, List<E> le, List<F$> lf, List<G> lg, F<A,F<B,F<C,F<D,F<E,F<F$,F<G,H>>>>>>> f)
Binds the given function across each element of this list and the given lists with a final join.<B,C,D,E,F$,G>
List<G>List. bind(List<B> lb, List<C> lc, List<D> ld, List<E> le, List<F$> lf, F<A,F<B,F<C,F<D,F<E,F<F$,G>>>>>> f)
Binds the given function across each element of this list and the given lists with a final join.<B,C,D,E,F$,G>
List<G>List. bind(List<B> lb, List<C> lc, List<D> ld, List<E> le, List<F$> lf, F<A,F<B,F<C,F<D,F<E,F<F$,G>>>>>> f)
Binds the given function across each element of this list and the given lists with a final join.<B,C,D,E,F$,G>
List<G>List. bind(List<B> lb, List<C> lc, List<D> ld, List<E> le, List<F$> lf, F<A,F<B,F<C,F<D,F<E,F<F$,G>>>>>> f)
Binds the given function across each element of this list and the given lists with a final join.<B,C,D,E,F$,G>
List<G>List. bind(List<B> lb, List<C> lc, List<D> ld, List<E> le, List<F$> lf, F<A,F<B,F<C,F<D,F<E,F<F$,G>>>>>> f)
Binds the given function across each element of this list and the given lists with a final join.<B,C,D,E,F$,G>
List<G>List. bind(List<B> lb, List<C> lc, List<D> ld, List<E> le, List<F$> lf, F<A,F<B,F<C,F<D,F<E,F<F$,G>>>>>> f)
Binds the given function across each element of this list and the given lists with a final join.<B,C,D,E,F$>
List<F$>List. bind(List<B> lb, List<C> lc, List<D> ld, List<E> le, F<A,F<B,F<C,F<D,F<E,F$>>>>> f)
Binds the given function across each element of this list and the given lists with a final join.<B,C,D,E,F$>
List<F$>List. bind(List<B> lb, List<C> lc, List<D> ld, List<E> le, F<A,F<B,F<C,F<D,F<E,F$>>>>> f)
Binds the given function across each element of this list and the given lists with a final join.<B,C,D,E,F$>
List<F$>List. bind(List<B> lb, List<C> lc, List<D> ld, List<E> le, F<A,F<B,F<C,F<D,F<E,F$>>>>> f)
Binds the given function across each element of this list and the given lists with a final join.<B,C,D,E,F$>
List<F$>List. bind(List<B> lb, List<C> lc, List<D> ld, List<E> le, F<A,F<B,F<C,F<D,F<E,F$>>>>> f)
Binds the given function across each element of this list and the given lists with a final join.<B,C,D,E>
List<E>List. bind(List<B> lb, List<C> lc, List<D> ld, F<A,F<B,F<C,F<D,E>>>> f)
Binds the given function across each element of this list and the given lists with a final join.<B,C,D,E>
List<E>List. bind(List<B> lb, List<C> lc, List<D> ld, F<A,F<B,F<C,F<D,E>>>> f)
Binds the given function across each element of this list and the given lists with a final join.<B,C,D,E>
List<E>List. bind(List<B> lb, List<C> lc, List<D> ld, F<A,F<B,F<C,F<D,E>>>> f)
Binds the given function across each element of this list and the given lists with a final join.<B,C,D>
List<D>List. bind(List<B> lb, List<C> lc, F<A,F<B,F<C,D>>> f)
Binds the given function across each element of this list and the given lists with a final join.<B,C,D>
List<D>List. bind(List<B> lb, List<C> lc, F<A,F<B,F<C,D>>> f)
Binds the given function across each element of this list and the given lists with a final join.<B,C>
List<C>List. bind(List<B> lb, F<A,F<B,C>> f)
Binds the given function across each element of this list and the given list with a final join.<B,C,D,E,F$,G,H,I>
Option<I>Option. bind(Option<B> ob, Option<C> oc, Option<D> od, Option<E> oe, Option<F$> of, Option<G> og, Option<H> oh, F<A,F<B,F<C,F<D,F<E,F<F$,F<G,F<H,I>>>>>>>> f)
Binds the given function across the element of this optional value and the given optional value with a final join.<B,C,D,E,F$,G,H,I>
Option<I>Option. bind(Option<B> ob, Option<C> oc, Option<D> od, Option<E> oe, Option<F$> of, Option<G> og, Option<H> oh, F<A,F<B,F<C,F<D,F<E,F<F$,F<G,F<H,I>>>>>>>> f)
Binds the given function across the element of this optional value and the given optional value with a final join.<B,C,D,E,F$,G,H,I>
Option<I>Option. bind(Option<B> ob, Option<C> oc, Option<D> od, Option<E> oe, Option<F$> of, Option<G> og, Option<H> oh, F<A,F<B,F<C,F<D,F<E,F<F$,F<G,F<H,I>>>>>>>> f)
Binds the given function across the element of this optional value and the given optional value with a final join.<B,C,D,E,F$,G,H,I>
Option<I>Option. bind(Option<B> ob, Option<C> oc, Option<D> od, Option<E> oe, Option<F$> of, Option<G> og, Option<H> oh, F<A,F<B,F<C,F<D,F<E,F<F$,F<G,F<H,I>>>>>>>> f)
Binds the given function across the element of this optional value and the given optional value with a final join.<B,C,D,E,F$,G,H,I>
Option<I>Option. bind(Option<B> ob, Option<C> oc, Option<D> od, Option<E> oe, Option<F$> of, Option<G> og, Option<H> oh, F<A,F<B,F<C,F<D,F<E,F<F$,F<G,F<H,I>>>>>>>> f)
Binds the given function across the element of this optional value and the given optional value with a final join.<B,C,D,E,F$,G,H,I>
Option<I>Option. bind(Option<B> ob, Option<C> oc, Option<D> od, Option<E> oe, Option<F$> of, Option<G> og, Option<H> oh, F<A,F<B,F<C,F<D,F<E,F<F$,F<G,F<H,I>>>>>>>> f)
Binds the given function across the element of this optional value and the given optional value with a final join.<B,C,D,E,F$,G,H,I>
Option<I>Option. bind(Option<B> ob, Option<C> oc, Option<D> od, Option<E> oe, Option<F$> of, Option<G> og, Option<H> oh, F<A,F<B,F<C,F<D,F<E,F<F$,F<G,F<H,I>>>>>>>> f)
Binds the given function across the element of this optional value and the given optional value with a final join.<B,C,D,E,F$,G,H>
Option<H>Option. bind(Option<B> ob, Option<C> oc, Option<D> od, Option<E> oe, Option<F$> of, Option<G> og, F<A,F<B,F<C,F<D,F<E,F<F$,F<G,H>>>>>>> f)
Binds the given function across the element of this optional value and the given optional value with a final join.<B,C,D,E,F$,G,H>
Option<H>Option. bind(Option<B> ob, Option<C> oc, Option<D> od, Option<E> oe, Option<F$> of, Option<G> og, F<A,F<B,F<C,F<D,F<E,F<F$,F<G,H>>>>>>> f)
Binds the given function across the element of this optional value and the given optional value with a final join.<B,C,D,E,F$,G,H>
Option<H>Option. bind(Option<B> ob, Option<C> oc, Option<D> od, Option<E> oe, Option<F$> of, Option<G> og, F<A,F<B,F<C,F<D,F<E,F<F$,F<G,H>>>>>>> f)
Binds the given function across the element of this optional value and the given optional value with a final join.<B,C,D,E,F$,G,H>
Option<H>Option. bind(Option<B> ob, Option<C> oc, Option<D> od, Option<E> oe, Option<F$> of, Option<G> og, F<A,F<B,F<C,F<D,F<E,F<F$,F<G,H>>>>>>> f)
Binds the given function across the element of this optional value and the given optional value with a final join.<B,C,D,E,F$,G,H>
Option<H>Option. bind(Option<B> ob, Option<C> oc, Option<D> od, Option<E> oe, Option<F$> of, Option<G> og, F<A,F<B,F<C,F<D,F<E,F<F$,F<G,H>>>>>>> f)
Binds the given function across the element of this optional value and the given optional value with a final join.<B,C,D,E,F$,G,H>
Option<H>Option. bind(Option<B> ob, Option<C> oc, Option<D> od, Option<E> oe, Option<F$> of, Option<G> og, F<A,F<B,F<C,F<D,F<E,F<F$,F<G,H>>>>>>> f)
Binds the given function across the element of this optional value and the given optional value with a final join.<B,C,D,E,F$,G>
Option<G>Option. bind(Option<B> ob, Option<C> oc, Option<D> od, Option<E> oe, Option<F$> of, F<A,F<B,F<C,F<D,F<E,F<F$,G>>>>>> f)
Binds the given function across the element of this optional value and the given optional value with a final join.<B,C,D,E,F$,G>
Option<G>Option. bind(Option<B> ob, Option<C> oc, Option<D> od, Option<E> oe, Option<F$> of, F<A,F<B,F<C,F<D,F<E,F<F$,G>>>>>> f)
Binds the given function across the element of this optional value and the given optional value with a final join.<B,C,D,E,F$,G>
Option<G>Option. bind(Option<B> ob, Option<C> oc, Option<D> od, Option<E> oe, Option<F$> of, F<A,F<B,F<C,F<D,F<E,F<F$,G>>>>>> f)
Binds the given function across the element of this optional value and the given optional value with a final join.<B,C,D,E,F$,G>
Option<G>Option. bind(Option<B> ob, Option<C> oc, Option<D> od, Option<E> oe, Option<F$> of, F<A,F<B,F<C,F<D,F<E,F<F$,G>>>>>> f)
Binds the given function across the element of this optional value and the given optional value with a final join.<B,C,D,E,F$,G>
Option<G>Option. bind(Option<B> ob, Option<C> oc, Option<D> od, Option<E> oe, Option<F$> of, F<A,F<B,F<C,F<D,F<E,F<F$,G>>>>>> f)
Binds the given function across the element of this optional value and the given optional value with a final join.<B,C,D,E,F$>
Option<F$>Option. bind(Option<B> ob, Option<C> oc, Option<D> od, Option<E> oe, F<A,F<B,F<C,F<D,F<E,F$>>>>> f)
Binds the given function across the element of this optional value and the given optional value with a final join.<B,C,D,E,F$>
Option<F$>Option. bind(Option<B> ob, Option<C> oc, Option<D> od, Option<E> oe, F<A,F<B,F<C,F<D,F<E,F$>>>>> f)
Binds the given function across the element of this optional value and the given optional value with a final join.<B,C,D,E,F$>
Option<F$>Option. bind(Option<B> ob, Option<C> oc, Option<D> od, Option<E> oe, F<A,F<B,F<C,F<D,F<E,F$>>>>> f)
Binds the given function across the element of this optional value and the given optional value with a final join.<B,C,D,E,F$>
Option<F$>Option. bind(Option<B> ob, Option<C> oc, Option<D> od, Option<E> oe, F<A,F<B,F<C,F<D,F<E,F$>>>>> f)
Binds the given function across the element of this optional value and the given optional value with a final join.<B,C,D,E>
Option<E>Option. bind(Option<B> ob, Option<C> oc, Option<D> od, F<A,F<B,F<C,F<D,E>>>> f)
Binds the given function across the element of this optional value and the given optional value with a final join.<B,C,D,E>
Option<E>Option. bind(Option<B> ob, Option<C> oc, Option<D> od, F<A,F<B,F<C,F<D,E>>>> f)
Binds the given function across the element of this optional value and the given optional value with a final join.<B,C,D,E>
Option<E>Option. bind(Option<B> ob, Option<C> oc, Option<D> od, F<A,F<B,F<C,F<D,E>>>> f)
Binds the given function across the element of this optional value and the given optional value with a final join.<B,C,D>
Option<D>Option. bind(Option<B> ob, Option<C> oc, F<A,F<B,F<C,D>>> f)
Binds the given function across the element of this optional value and the given optional value with a final join.<B,C,D>
Option<D>Option. bind(Option<B> ob, Option<C> oc, F<A,F<B,F<C,D>>> f)
Binds the given function across the element of this optional value and the given optional value with a final join.<B,C>
Option<C>Option. bind(Option<B> ob, F<A,F<B,C>> f)
Binds the given function across the element of this optional value and the given optional value with a final join.<B,C,D,E,F$,G,H,I>
Stream<I>Stream. bind(Stream<B> sb, Stream<C> sc, Stream<D> sd, Stream<E> se, Stream<F$> sf, Stream<G> sg, Stream<H> sh, F<A,F<B,F<C,F<D,F<E,F<F$,F<G,F<H,I>>>>>>>> f)
Binds the given function across each element of this stream and the given streams with a final join.<B,C,D,E,F$,G,H,I>
Stream<I>Stream. bind(Stream<B> sb, Stream<C> sc, Stream<D> sd, Stream<E> se, Stream<F$> sf, Stream<G> sg, Stream<H> sh, F<A,F<B,F<C,F<D,F<E,F<F$,F<G,F<H,I>>>>>>>> f)
Binds the given function across each element of this stream and the given streams with a final join.<B,C,D,E,F$,G,H,I>
Stream<I>Stream. bind(Stream<B> sb, Stream<C> sc, Stream<D> sd, Stream<E> se, Stream<F$> sf, Stream<G> sg, Stream<H> sh, F<A,F<B,F<C,F<D,F<E,F<F$,F<G,F<H,I>>>>>>>> f)
Binds the given function across each element of this stream and the given streams with a final join.<B,C,D,E,F$,G,H,I>
Stream<I>Stream. bind(Stream<B> sb, Stream<C> sc, Stream<D> sd, Stream<E> se, Stream<F$> sf, Stream<G> sg, Stream<H> sh, F<A,F<B,F<C,F<D,F<E,F<F$,F<G,F<H,I>>>>>>>> f)
Binds the given function across each element of this stream and the given streams with a final join.<B,C,D,E,F$,G,H,I>
Stream<I>Stream. bind(Stream<B> sb, Stream<C> sc, Stream<D> sd, Stream<E> se, Stream<F$> sf, Stream<G> sg, Stream<H> sh, F<A,F<B,F<C,F<D,F<E,F<F$,F<G,F<H,I>>>>>>>> f)
Binds the given function across each element of this stream and the given streams with a final join.<B,C,D,E,F$,G,H,I>
Stream<I>Stream. bind(Stream<B> sb, Stream<C> sc, Stream<D> sd, Stream<E> se, Stream<F$> sf, Stream<G> sg, Stream<H> sh, F<A,F<B,F<C,F<D,F<E,F<F$,F<G,F<H,I>>>>>>>> f)
Binds the given function across each element of this stream and the given streams with a final join.<B,C,D,E,F$,G,H,I>
Stream<I>Stream. bind(Stream<B> sb, Stream<C> sc, Stream<D> sd, Stream<E> se, Stream<F$> sf, Stream<G> sg, Stream<H> sh, F<A,F<B,F<C,F<D,F<E,F<F$,F<G,F<H,I>>>>>>>> f)
Binds the given function across each element of this stream and the given streams with a final join.<B,C,D,E,F$,G,H>
Stream<H>Stream. bind(Stream<B> sb, Stream<C> sc, Stream<D> sd, Stream<E> se, Stream<F$> sf, Stream<G> sg, F<A,F<B,F<C,F<D,F<E,F<F$,F<G,H>>>>>>> f)
Binds the given function across each element of this stream and the given streams with a final join.<B,C,D,E,F$,G,H>
Stream<H>Stream. bind(Stream<B> sb, Stream<C> sc, Stream<D> sd, Stream<E> se, Stream<F$> sf, Stream<G> sg, F<A,F<B,F<C,F<D,F<E,F<F$,F<G,H>>>>>>> f)
Binds the given function across each element of this stream and the given streams with a final join.<B,C,D,E,F$,G,H>
Stream<H>Stream. bind(Stream<B> sb, Stream<C> sc, Stream<D> sd, Stream<E> se, Stream<F$> sf, Stream<G> sg, F<A,F<B,F<C,F<D,F<E,F<F$,F<G,H>>>>>>> f)
Binds the given function across each element of this stream and the given streams with a final join.<B,C,D,E,F$,G,H>
Stream<H>Stream. bind(Stream<B> sb, Stream<C> sc, Stream<D> sd, Stream<E> se, Stream<F$> sf, Stream<G> sg, F<A,F<B,F<C,F<D,F<E,F<F$,F<G,H>>>>>>> f)
Binds the given function across each element of this stream and the given streams with a final join.<B,C,D,E,F$,G,H>
Stream<H>Stream. bind(Stream<B> sb, Stream<C> sc, Stream<D> sd, Stream<E> se, Stream<F$> sf, Stream<G> sg, F<A,F<B,F<C,F<D,F<E,F<F$,F<G,H>>>>>>> f)
Binds the given function across each element of this stream and the given streams with a final join.<B,C,D,E,F$,G,H>
Stream<H>Stream. bind(Stream<B> sb, Stream<C> sc, Stream<D> sd, Stream<E> se, Stream<F$> sf, Stream<G> sg, F<A,F<B,F<C,F<D,F<E,F<F$,F<G,H>>>>>>> f)
Binds the given function across each element of this stream and the given streams with a final join.<B,C,D,E,F$,G>
Stream<G>Stream. bind(Stream<B> sb, Stream<C> sc, Stream<D> sd, Stream<E> se, Stream<F$> sf, F<A,F<B,F<C,F<D,F<E,F<F$,G>>>>>> f)
Binds the given function across each element of this stream and the given streams with a final join.<B,C,D,E,F$,G>
Stream<G>Stream. bind(Stream<B> sb, Stream<C> sc, Stream<D> sd, Stream<E> se, Stream<F$> sf, F<A,F<B,F<C,F<D,F<E,F<F$,G>>>>>> f)
Binds the given function across each element of this stream and the given streams with a final join.<B,C,D,E,F$,G>
Stream<G>Stream. bind(Stream<B> sb, Stream<C> sc, Stream<D> sd, Stream<E> se, Stream<F$> sf, F<A,F<B,F<C,F<D,F<E,F<F$,G>>>>>> f)
Binds the given function across each element of this stream and the given streams with a final join.<B,C,D,E,F$,G>
Stream<G>Stream. bind(Stream<B> sb, Stream<C> sc, Stream<D> sd, Stream<E> se, Stream<F$> sf, F<A,F<B,F<C,F<D,F<E,F<F$,G>>>>>> f)
Binds the given function across each element of this stream and the given streams with a final join.<B,C,D,E,F$,G>
Stream<G>Stream. bind(Stream<B> sb, Stream<C> sc, Stream<D> sd, Stream<E> se, Stream<F$> sf, F<A,F<B,F<C,F<D,F<E,F<F$,G>>>>>> f)
Binds the given function across each element of this stream and the given streams with a final join.<B,C,D,E,F$>
Stream<F$>Stream. bind(Stream<B> sb, Stream<C> sc, Stream<D> sd, Stream<E> se, F<A,F<B,F<C,F<D,F<E,F$>>>>> f)
Binds the given function across each element of this stream and the given streams with a final join.<B,C,D,E,F$>
Stream<F$>Stream. bind(Stream<B> sb, Stream<C> sc, Stream<D> sd, Stream<E> se, F<A,F<B,F<C,F<D,F<E,F$>>>>> f)
Binds the given function across each element of this stream and the given streams with a final join.<B,C,D,E,F$>
Stream<F$>Stream. bind(Stream<B> sb, Stream<C> sc, Stream<D> sd, Stream<E> se, F<A,F<B,F<C,F<D,F<E,F$>>>>> f)
Binds the given function across each element of this stream and the given streams with a final join.<B,C,D,E,F$>
Stream<F$>Stream. bind(Stream<B> sb, Stream<C> sc, Stream<D> sd, Stream<E> se, F<A,F<B,F<C,F<D,F<E,F$>>>>> f)
Binds the given function across each element of this stream and the given streams with a final join.<B,C,D,E>
Stream<E>Stream. bind(Stream<B> sb, Stream<C> sc, Stream<D> sd, F<A,F<B,F<C,F<D,E>>>> f)
Binds the given function across each element of this stream and the given streams with a final join.<B,C,D,E>
Stream<E>Stream. bind(Stream<B> sb, Stream<C> sc, Stream<D> sd, F<A,F<B,F<C,F<D,E>>>> f)
Binds the given function across each element of this stream and the given streams with a final join.<B,C,D,E>
Stream<E>Stream. bind(Stream<B> sb, Stream<C> sc, Stream<D> sd, F<A,F<B,F<C,F<D,E>>>> f)
Binds the given function across each element of this stream and the given streams with a final join.<B,C,D>
Stream<D>Stream. bind(Stream<B> sb, Stream<C> sc, F<A,F<B,F<C,D>>> f)
Binds the given function across each element of this stream and the given streams with a final join.<B,C,D>
Stream<D>Stream. bind(Stream<B> sb, Stream<C> sc, F<A,F<B,F<C,D>>> f)
Binds the given function across each element of this stream and the given streams with a final join.<B,C>
Stream<C>Stream. bind(Stream<B> sb, F<A,F<B,C>> f)
Binds the given function across each element of this stream and the given stream with a final join.<B> B
Array. foldLeft(F<B,F<A,B>> f, B b)
Performs a left-fold reduction across this array.<B> B
Array.ImmutableProjection. foldLeft(F<B,F<A,B>> f, B b)
Performs a left-fold reduction across this array.<B> B
IterableW. foldLeft(F<B,F<A,B>> f, B z)
The catamorphism for Iterables, implemented as a left fold.<B> B
List. foldLeft(F<B,F<A,B>> f, B b)
Performs a left-fold reduction across this list.<B> B
Stream. foldLeft(F<B,F<A,B>> f, B b)
Performs a left-fold reduction across this stream.A
IterableW. foldLeft1(F<A,F<A,A>> f)
Takes the first 2 elements of the iterable and applies the function to them, then applies the function to the result and the third element and so on.A
List. foldLeft1(F<A,F<A,A>> f)
Takes the first 2 elements of the list and applies the function to them, then applies the function to the result and the third element and so on.A
NonEmptyList. foldLeft1(F<A,F<A,A>> f)
Performs a left-fold reduction across this list.A
Stream. foldLeft1(F<A,F<A,A>> f)
Takes the first 2 elements of the stream and applies the function to them, then applies the function to the result and the third element and so on.<B> B
Array. foldRight(F<A,F<B,B>> f, B b)
Performs a right-fold reduction across this array.<B> B
Array.ImmutableProjection. foldRight(F<A,F<B,B>> f, B b)
Performs a right-fold reduction across this array.<B> B
List. foldRight(F<A,F<B,B>> f, B b)
Performs a right-fold reduction across this list.<B> B
Stream. foldRight(F<A,F<P1<B>,B>> f, B b)
Performs a right-fold reduction across this stream.<B> B
Zipper. foldRight(F<A,F<B,B>> f, B z)
Performs a right-fold reduction across this zipper.A
NonEmptyList. foldRight1(F<A,F<A,A>> f)
Performs a right-fold reduction across this list.<B> B
Stream. foldRight1(F<A,F<B,B>> f, B b)
Performs a right-fold reduction across this stream.List<A>
List. insertBy(F<A,F<A,Ordering>> f, A x)
Inserts the given element before the first element that is greater than or equal to it according to the given ordering.static <A,B,C>
F<java.lang.Iterable<A>,F<java.lang.Iterable<B>,IterableW<C>>>IterableW. liftM2(F<A,F<B,C>> f)
Promotes a function of arity-2 to a function on iterables.static <A,B,C>
F<List<A>,F<List<B>,List<C>>>List. liftM2(F<A,F<B,C>> f)
Promotes the given function of arity-2 to a function on lists.static <A,B,C>
F<Option<A>,F<Option<B>,Option<C>>>Option. liftM2(F<A,F<B,C>> f)
Promotes a function of arity-2 so that it operates over options.<B,C>
F<B,List<C>>List. mapM(F<A,F<B,C>> f)
Maps the given function of arity-2 across this list and returns a function that applies all the resulting functions to a given argument.<B,C>
F<B,Stream<C>>Stream. mapM(F<A,F<B,C>> f)
Maps the given function of arity-2 across this stream and returns a function that applies all the resulting functions to a given argument.<B> Array<B>
Array. scanLeft(F<B,F<A,B>> f, B b)
Performs a fold left accummulating and returns an array of the intermediate results.Array<A>
Array. scanLeft1(F<A,F<A,A>> f)
Performs a left-fold accummulating using first array element as a starting value and returns an array of the intermediate results.<B> Array<B>
Array. scanRight(F<A,F<B,B>> f, B b)
Performs a right-fold accummulating and returns an array of the intermediate results.Array<A>
Array. scanRight1(F<A,F<A,A>> f)
Performs a right-fold accummulating using last array element as a starting value and returns an array of the intermediate results.static <A,B>
F<B,List<A>>List. sequence_(List<F<B,A>> fs)
Turn a list of functions into a function returning a list.static <A,B>
F<B,Stream<A>>Stream. sequence_(Stream<F<B,A>> fs)
Turn a stream of functions into a function returning a stream.static <C,B>
F<C,List<B>>List. sequenceF(List<F<C,B>> list)
Sequence the given list and collect the output as a function.static <C,B>
F<C,Option<B>>Option. sequenceF(Option<F<C,B>> option)
Sequence the given option and collect the output as a function.static <C,B>
F<C,Seq<B>>Seq. sequenceF(Seq<F<C,B>> seq)
Sequence the given seq and collect the output as a function.static <C,B>
F<C,Stream<B>>Stream. sequenceF(Stream<F<C,B>> stream)
Sequence the given stream and collect the output as a function.static <E,C,B>
F<C,Validation<E,B>>Validation. sequenceF(Validation<E,F<C,B>> validation)
Sequence the given validation and collect the output as a function.<B> Stream<B>
Stream. sequenceW(Stream<F<Stream<A>,B>> fs)
Applies a stream of comonadic functions to this stream, returning a stream of values.<C,B>
F<C,List<B>>List. traverseF(F<A,F<C,B>> f)
Traverse this list with the given function and collect the output as a function.<C,B>
F<C,Option<B>>Option. traverseF(F<A,F<C,B>> f)
Traverse this option with the given function and collect the output as a function.<C,B>
F<C,Seq<B>>Seq. traverseF(F<A,F<C,B>> f)
Traverse this seq with the given function and collect the output as a function.<C,B>
F<C,Stream<B>>Stream. traverseF(F<A,F<C,B>> f)
Traverse this stream with the given function and collect the output as a function.<C,B>
F<C,Validation<E,B>>Validation. traverseF(F<T,F<C,B>> f)
Traverse this validation with the given function and collect the output as a function.<B> B
Stream. uncons(B nil, F<A,F<P1<Stream<A>>,B>> cons)
Performs a reduction on this stream using the given arguments.<B> IterableW<B>
IterableW. zapp(java.lang.Iterable<F<A,B>> fs)
Zips this iterable with the given iterable of functions, applying each function in turn to the corresponding element in this iterable to produce a new iterable.<B> Stream<B>
Stream. zapp(Stream<F<A,B>> fs)
Zips this stream with the given stream of functions, applying each function in turn to the corresponding element in this stream to produce a new stream.<B,C>
Array<C>Array. zipWith(Array<B> bs, F<A,F<B,C>> f)
Zips this array with the given array using the given function to produce a new array.<B,C>
java.lang.Iterable<C>IterableW. zipWith(java.lang.Iterable<B> bs, F<A,F<B,C>> f)
Zips this iterable with the given iterable using the given function to produce a new iterable.<B,C>
List<C>List. zipWith(List<B> bs, F<A,F<B,C>> f)
Zips this list with the given list using the given function to produce a new list.<B,C>
NonEmptyList<C>NonEmptyList. zipWith(List<B> bs, F<A,F<B,C>> f)
Zips this non empty list with the given non empty list using the given function to produce a new list.<B,C>
Stream<C>Stream. zipWith(Stream<B> bs, F<A,F<B,C>> f)
Zips this stream with the given stream using the given function to produce a new stream.<B,C>
F<Stream<B>,Stream<C>>Stream. zipWith(F<A,F<B,C>> f)
Partially-applied version of zipWith.<B,C>
Tree<C>Tree. zipWith(Tree<B> bs, F<A,F<B,C>> f)
Zips this tree with another, using the given function.<B,C>
TreeZipper<C>TreeZipper. zipWith(TreeZipper<B> bs, F<A,F<B,C>> f)
Zips this TreeZipper with another, applying the given function lock-step over both zippers in all directions.<B,C>
Zipper<C>Zipper. zipWith(Zipper<B> bs, F<A,F<B,C>> f)
Zips this Zipper with another, applying the given function lock-step over both zippers in both directions.Constructors in fj.data with parameters of type F Constructor Description BindTrampolineEval(F<A,Eval<B>> f, Eval.TrampolineEval<A> next)
DList(F<List<A>,Trampoline<List<A>>> appendFn)
Enumerator(F<A,Option<A>> successor, F<A,Option<A>> predecessor, Option<A> max, Option<A> min, Ord<A> order, F<A,F<java.lang.Long,Option<A>>> plus)
Reader(F<A,B> f)
State(F<S,Trampoline<P2<S,A>>> runF)
-
Uses of F in fj.data.fingertrees
Fields in fj.data.fingertrees declared as F Modifier and Type Field Description private F<A,V>
Measured. measure
Methods in fj.data.fingertrees that return F Modifier and Type Method Description static <V,A,B>
F<B,F<Node<V,A>,B>>Node. foldLeft_(F<B,F<A,B>> bff)
static <V,A,B>
F<B,F<Node<V,A>,B>>Node. foldRight_(F<A,F<B,B>> aff)
static <V,A,B>
F<Node<V,A>,Node<V,B>>Node. liftM(F<A,B> f, Measured<V,B> m)
F<A,V>
Measured. measure()
Returns the measuring function.Methods in fj.data.fingertrees that return types with arguments of type F Modifier and Type Method Description static <V,A,B>
F<B,F<Node<V,A>,B>>Node. foldLeft_(F<B,F<A,B>> bff)
static <V,A,B>
F<B,F<Node<V,A>,B>>Node. foldRight_(F<A,F<B,B>> aff)
Methods in fj.data.fingertrees with parameters of type F Modifier and Type Method Description static <V,A>
FingerTree<V,A>FingerTree. empty(Monoid<V> m, F<A,V> f)
Creates an empty finger tree with elements of type A and node annotations of type V.<B> FingerTree<V,A>
FingerTree. filter(F<A,java.lang.Boolean> f)
<B> B
Deep. foldLeft(F<B,F<A,B>> bff, B z)
abstract <B> B
Digit. foldLeft(F<B,F<A,B>> f, B z)
Folds this digit to the left using the given function and the given initial value.<B> B
Empty. foldLeft(F<B,F<A,B>> bff, B z)
abstract <B> B
FingerTree. foldLeft(F<B,F<A,B>> f, B z)
Folds the tree to the left with the given function and the given initial element.<B> B
Four. foldLeft(F<B,F<A,B>> bff, B z)
abstract <B> B
Node. foldLeft(F<B,F<A,B>> f, B z)
<B> B
Node2. foldLeft(F<B,F<A,B>> bff, B z)
<B> B
Node3. foldLeft(F<B,F<A,B>> bff, B z)
<B> B
One. foldLeft(F<B,F<A,B>> bff, B z)
<B> B
Single. foldLeft(F<B,F<A,B>> bff, B z)
<B> B
Three. foldLeft(F<B,F<A,B>> bff, B z)
<B> B
Two. foldLeft(F<B,F<A,B>> bff, B z)
static <V,A,B>
F<B,F<Node<V,A>,B>>Node. foldLeft_(F<B,F<A,B>> bff)
<B> B
Deep. foldRight(F<A,F<B,B>> aff, B z)
abstract <B> B
Digit. foldRight(F<A,F<B,B>> f, B z)
Folds this digit to the right using the given function and the given initial value.<B> B
Empty. foldRight(F<A,F<B,B>> aff, B z)
abstract <B> B
FingerTree. foldRight(F<A,F<B,B>> f, B z)
Folds the tree to the right with the given function and the given initial element.<B> B
Four. foldRight(F<A,F<B,B>> aff, B z)
abstract <B> B
Node. foldRight(F<A,F<B,B>> f, B z)
<B> B
Node2. foldRight(F<A,F<B,B>> aff, B z)
<B> B
Node3. foldRight(F<A,F<B,B>> aff, B z)
<B> B
One. foldRight(F<A,F<B,B>> aff, B z)
<B> B
Single. foldRight(F<A,F<B,B>> aff, B z)
<B> B
Three. foldRight(F<A,F<B,B>> aff, B z)
<B> B
Two. foldRight(F<A,F<B,B>> aff, B z)
static <V,A,B>
F<B,F<Node<V,A>,B>>Node. foldRight_(F<A,F<B,B>> aff)
static <V,A,B>
F<Node<V,A>,Node<V,B>>Node. liftM(F<A,B> f, Measured<V,B> m)
P2<java.lang.Integer,A>
Deep. lookup(F<V,java.lang.Integer> o, int i)
abstract P2<java.lang.Integer,A>
Digit. lookup(F<V,java.lang.Integer> o, int i)
P2<java.lang.Integer,A>
Empty. lookup(F<V,java.lang.Integer> o, int i)
abstract P2<java.lang.Integer,A>
FingerTree. lookup(F<V,java.lang.Integer> o, int i)
P2<java.lang.Integer,A>
Four. lookup(F<V,java.lang.Integer> o, int i)
abstract P2<java.lang.Integer,A>
Node. lookup(F<V,java.lang.Integer> o, int i)
P2<java.lang.Integer,A>
Node2. lookup(F<V,java.lang.Integer> o, int i)
P2<java.lang.Integer,A>
Node3. lookup(F<V,java.lang.Integer> o, int i)
P2<java.lang.Integer,A>
One. lookup(F<V,java.lang.Integer> o, int i)
P2<java.lang.Integer,A>
Single. lookup(F<V,java.lang.Integer> o, int i)
P2<java.lang.Integer,A>
Three. lookup(F<V,java.lang.Integer> o, int i)
P2<java.lang.Integer,A>
Two. lookup(F<V,java.lang.Integer> o, int i)
<B> FingerTree<V,B>
Deep. map(F<A,B> abf, Measured<V,B> m)
<B> Digit<V,B>
Digit. map(F<A,B> f, Measured<V,B> m)
Maps a function across the elements of this digit, measuring with the given measurement.<B> FingerTree<V,B>
Empty. map(F<A,B> abf, Measured<V,B> m)
abstract <B> FingerTree<V,B>
FingerTree. map(F<A,B> f, Measured<V,B> m)
Maps the given function across this tree, measuring with the given Measured instance.<B> Node<V,B>
Node. map(F<A,B> f, Measured<V,B> m)
<B> FingerTree<V,B>
Single. map(F<A,B> abf, Measured<V,B> m)
<B> B
Deep. match(F<Empty<V,A>,B> empty, F<Single<V,A>,B> single, F<Deep<V,A>,B> deep)
Pattern matching on the tree.abstract <B> B
Digit. match(F<One<V,A>,B> one, F<Two<V,A>,B> two, F<Three<V,A>,B> three, F<Four<V,A>,B> four)
Structural pattern matching on digits.<B> B
Empty. match(F<Empty<V,A>,B> empty, F<Single<V,A>,B> single, F<Deep<V,A>,B> deep)
Pattern matching on the structure of this tree.abstract <B> B
FingerTree. match(F<Empty<V,A>,B> empty, F<Single<V,A>,B> single, F<Deep<V,A>,B> deep)
Provides pattern matching on trees.<B> B
Four. match(F<One<V,A>,B> one, F<Two<V,A>,B> two, F<Three<V,A>,B> three, F<Four<V,A>,B> four)
abstract <B> B
Node. match(F<Node2<V,A>,B> n2, F<Node3<V,A>,B> n3)
<B> B
Node2. match(F<Node2<V,A>,B> n2, F<Node3<V,A>,B> n3)
<B> B
Node3. match(F<Node2<V,A>,B> n2, F<Node3<V,A>,B> n3)
<B> B
One. match(F<One<V,A>,B> one, F<Two<V,A>,B> two, F<Three<V,A>,B> three, F<Four<V,A>,B> four)
<B> B
Single. match(F<Empty<V,A>,B> empty, F<Single<V,A>,B> single, F<Deep<V,A>,B> deep)
Pattern matching on the structure of this tree.<B> B
Three. match(F<One<V,A>,B> one, F<Two<V,A>,B> two, F<Three<V,A>,B> three, F<Four<V,A>,B> four)
<B> B
Two. match(F<One<V,A>,B> one, F<Two<V,A>,B> two, F<Three<V,A>,B> three, F<Four<V,A>,B> four)
static <V,A>
Measured<V,A>FingerTree. measured(Monoid<V> monoid, F<A,V> measure)
Constructs a Measured instance for the element type, given a monoid and a measuring function.static <V,A>
Measured<V,A>Measured. measured(Monoid<V> m, F<A,V> measure)
A
Deep. reduceLeft(F<A,F<A,A>> aff)
A
Digit. reduceLeft(F<A,F<A,A>> f)
Folds this digit to the right using the given function.A
Empty. reduceLeft(F<A,F<A,A>> aff)
abstract A
FingerTree. reduceLeft(F<A,F<A,A>> f)
Folds the tree to the left with the given function.A
Single. reduceLeft(F<A,F<A,A>> aff)
A
Deep. reduceRight(F<A,F<A,A>> aff)
A
Digit. reduceRight(F<A,F<A,A>> f)
Folds this digit to the right using the given function.A
Empty. reduceRight(F<A,F<A,A>> aff)
abstract A
FingerTree. reduceRight(F<A,F<A,A>> f)
Folds the tree to the right with the given function.A
Single. reduceRight(F<A,F<A,A>> aff)
P2<FingerTree<V,A>,FingerTree<V,A>>
FingerTree. split(F<V,java.lang.Boolean> predicate)
Splits this tree into a pair of subtrees at the point where the given predicate, based on the measure, changes fromfalse
totrue
.(package private) P3<FingerTree<V,A>,A,FingerTree<V,A>>
Deep. split1(F<V,java.lang.Boolean> predicate, V acc)
(package private) abstract P3<Option<Digit<V,A>>,A,Option<Digit<V,A>>>
Digit. split1(F<V,java.lang.Boolean> predicate, V acc)
(package private) P3<FingerTree<V,A>,A,FingerTree<V,A>>
Empty. split1(F<V,java.lang.Boolean> predicate, V acc)
P3<FingerTree<V,A>,A,FingerTree<V,A>>
FingerTree. split1(F<V,java.lang.Boolean> predicate)
Likesplit
, but returns the element wherepred
first holds separately.(package private) abstract P3<FingerTree<V,A>,A,FingerTree<V,A>>
FingerTree. split1(F<V,java.lang.Boolean> predicate, V acc)
(package private) P3<Option<Digit<V,A>>,A,Option<Digit<V,A>>>
Four. split1(F<V,java.lang.Boolean> predicate, V acc)
(package private) abstract P3<Option<Digit<V,A>>,A,Option<Digit<V,A>>>
Node. split1(F<V,java.lang.Boolean> predicate, V acc)
(package private) P3<Option<Digit<V,A>>,A,Option<Digit<V,A>>>
Node2. split1(F<V,java.lang.Boolean> predicate, V acc)
(package private) P3<Option<Digit<V,A>>,A,Option<Digit<V,A>>>
Node3. split1(F<V,java.lang.Boolean> predicate, V acc)
(package private) P3<Option<Digit<V,A>>,A,Option<Digit<V,A>>>
One. split1(F<V,java.lang.Boolean> predicate, V acc)
(package private) P3<FingerTree<V,A>,A,FingerTree<V,A>>
Single. split1(F<V,java.lang.Boolean> predicate, V acc)
(package private) P3<Option<Digit<V,A>>,A,Option<Digit<V,A>>>
Three. split1(F<V,java.lang.Boolean> predicate, V acc)
(package private) P3<Option<Digit<V,A>>,A,Option<Digit<V,A>>>
Two. split1(F<V,java.lang.Boolean> predicate, V acc)
Method parameters in fj.data.fingertrees with type arguments of type F Modifier and Type Method Description <B> B
Deep. foldLeft(F<B,F<A,B>> bff, B z)
abstract <B> B
Digit. foldLeft(F<B,F<A,B>> f, B z)
Folds this digit to the left using the given function and the given initial value.<B> B
Empty. foldLeft(F<B,F<A,B>> bff, B z)
abstract <B> B
FingerTree. foldLeft(F<B,F<A,B>> f, B z)
Folds the tree to the left with the given function and the given initial element.<B> B
Four. foldLeft(F<B,F<A,B>> bff, B z)
abstract <B> B
Node. foldLeft(F<B,F<A,B>> f, B z)
<B> B
Node2. foldLeft(F<B,F<A,B>> bff, B z)
<B> B
Node3. foldLeft(F<B,F<A,B>> bff, B z)
<B> B
One. foldLeft(F<B,F<A,B>> bff, B z)
<B> B
Single. foldLeft(F<B,F<A,B>> bff, B z)
<B> B
Three. foldLeft(F<B,F<A,B>> bff, B z)
<B> B
Two. foldLeft(F<B,F<A,B>> bff, B z)
static <V,A,B>
F<B,F<Node<V,A>,B>>Node. foldLeft_(F<B,F<A,B>> bff)
<B> B
Deep. foldRight(F<A,F<B,B>> aff, B z)
abstract <B> B
Digit. foldRight(F<A,F<B,B>> f, B z)
Folds this digit to the right using the given function and the given initial value.<B> B
Empty. foldRight(F<A,F<B,B>> aff, B z)
abstract <B> B
FingerTree. foldRight(F<A,F<B,B>> f, B z)
Folds the tree to the right with the given function and the given initial element.<B> B
Four. foldRight(F<A,F<B,B>> aff, B z)
abstract <B> B
Node. foldRight(F<A,F<B,B>> f, B z)
<B> B
Node2. foldRight(F<A,F<B,B>> aff, B z)
<B> B
Node3. foldRight(F<A,F<B,B>> aff, B z)
<B> B
One. foldRight(F<A,F<B,B>> aff, B z)
<B> B
Single. foldRight(F<A,F<B,B>> aff, B z)
<B> B
Three. foldRight(F<A,F<B,B>> aff, B z)
<B> B
Two. foldRight(F<A,F<B,B>> aff, B z)
static <V,A,B>
F<B,F<Node<V,A>,B>>Node. foldRight_(F<A,F<B,B>> aff)
A
Deep. reduceLeft(F<A,F<A,A>> aff)
A
Digit. reduceLeft(F<A,F<A,A>> f)
Folds this digit to the right using the given function.A
Empty. reduceLeft(F<A,F<A,A>> aff)
abstract A
FingerTree. reduceLeft(F<A,F<A,A>> f)
Folds the tree to the left with the given function.A
Single. reduceLeft(F<A,F<A,A>> aff)
A
Deep. reduceRight(F<A,F<A,A>> aff)
A
Digit. reduceRight(F<A,F<A,A>> f)
Folds this digit to the right using the given function.A
Empty. reduceRight(F<A,F<A,A>> aff)
abstract A
FingerTree. reduceRight(F<A,F<A,A>> f)
Folds the tree to the right with the given function.A
Single. reduceRight(F<A,F<A,A>> aff)
Constructors in fj.data.fingertrees with parameters of type F Constructor Description Measured(Monoid<V> m, F<A,V> measure)
-
Uses of F in fj.data.hamt
Methods in fj.data.hamt with parameters of type F Modifier and Type Method Description <B> B
Node. match(F<P2<K,V>,B> f, F<HashArrayMappedTrie<K,V>,B> g)
Performs a reduction on this Node using the given arguments. -
Uses of F in fj.data.hlist
Methods in fj.data.hlist that return types with arguments of type F Modifier and Type Method Description static <X,Y,Z>
HList.Apply<Unit,P2<F<X,Y>,F<Y,Z>>,F<X,Z>>HList.Apply. comp()
A function application operator for function composition.static <X,Y,Z>
HList.Apply<Unit,P2<F<X,Y>,F<Y,Z>>,F<X,Z>>HList.Apply. comp()
A function application operator for function composition.static <X,Y,Z>
HList.Apply<Unit,P2<F<X,Y>,F<Y,Z>>,F<X,Z>>HList.Apply. comp()
A function application operator for function composition.static <X,Y>
HList.Apply<F<X,Y>,X,Y>HList.Apply. f()
Function application operator. -
Uses of F in fj.data.optic
Methods in fj.data.optic that return F Modifier and Type Method Description F<S,java.lang.Boolean>
Fold. all(F<A,java.lang.Boolean> p)
check if all targets satisfy the predicateF<S,java.lang.Boolean>
PTraversal. all(F<A,java.lang.Boolean> p)
check if all targets satisfy the predicateF<S,java.lang.Boolean>
Fold. exist(F<A,java.lang.Boolean> p)
check if at least one target satisfies the predicateF<S,java.lang.Boolean>
PTraversal. exist(F<A,java.lang.Boolean> p)
check if at least one target satisfies the predicateF<S,Option<A>>
Fold. find(F<A,java.lang.Boolean> p)
find the first target of aFold
matching the predicateF<S,Option<A>>
PTraversal. find(F<A,java.lang.Boolean> p)
find the first target of aPTraversal
matching the predicateF<S,A>
Fold. fold(Monoid<A> m)
combine all targets using a target'sMonoid
F<S,A>
PTraversal. fold(Monoid<A> m)
combine all targets using a target'sMonoid
abstract <M> F<S,M>
Fold. foldMap(Monoid<M> m, F<A,M> f)
abstract <M> F<S,M>
PTraversal. foldMap(Monoid<M> monoid, F<A,M> f)
map each target to aMonoid
and combine the results<M> F<S,M>
Traversal. foldMap(Monoid<M> monoid, F<A,M> f)
F<S,S>
Lens. modify(F<A,A> f)
F<S,S>
Optional. modify(F<A,A> f)
F<S,T>
PIso. modify(F<A,B> f)
modify polymorphically the target of aPIso
with a functionabstract F<S,T>
PLens. modify(F<A,B> f)
modify polymorphically the target of aPLens
using a functionabstract F<S,T>
POptional. modify(F<A,B> f)
modify polymorphically the target of aPOptional
with a functionF<S,T>
PPrism. modify(F<A,B> f)
modify polymorphically the target of aPPrism
with a functionabstract F<S,T>
PSetter. modify(F<A,B> f)
modify polymorphically the target of aPSetter
with a functionF<S,T>
PTraversal. modify(F<A,B> f)
modify polymorphically the target of aPTraversal
with a functionF<S,S>
Setter. modify(F<A,A> f)
<L> F<S,Either<L,S>>
Lens. modifyEitherF(F<A,Either<L,A>> f)
<L> F<S,Either<L,S>>
Optional. modifyEitherF(F<A,Either<L,A>> f)
<L> F<S,Either<L,T>>
PIso. modifyEitherF(F<A,Either<L,B>> f)
modify polymorphically the target of aPIso
with an Applicative functionabstract <L> F<S,Either<L,T>>
PLens. modifyEitherF(F<A,Either<L,B>> f)
modify polymorphically the target of aPLens
with an Applicative functionabstract <L> F<S,Either<L,T>>
POptional. modifyEitherF(F<A,Either<L,B>> f)
modify polymorphically the target of aPOptional
with an Applicative function<L> F<S,Either<L,T>>
PPrism. modifyEitherF(F<A,Either<L,B>> f)
modify polymorphically the target of aPPrism
with an Applicative functionabstract <L> F<S,Either<L,T>>
PTraversal. modifyEitherF(F<A,Either<L,B>> f)
modify polymorphically the target of aPTraversal
with an Applicative function<L> F<S,Either<L,S>>
Traversal. modifyEitherF(F<A,Either<L,A>> f)
<C> F<S,F<C,S>>
Lens. modifyFunctionF(F<A,F<C,A>> f)
<C> F<S,F<C,S>>
Optional. modifyFunctionF(F<A,F<C,A>> f)
<C> F<S,F<C,T>>
PIso. modifyFunctionF(F<A,F<C,B>> f)
modify polymorphically the target of aPIso
with an Applicative functionabstract <C> F<S,F<C,T>>
PLens. modifyFunctionF(F<A,F<C,B>> f)
modify polymorphically the target of aPLens
with an Applicative functionabstract <C> F<S,F<C,T>>
POptional. modifyFunctionF(F<A,F<C,B>> f)
modify polymorphically the target of aPOptional
with an Applicative function<C> F<S,F<C,T>>
PPrism. modifyFunctionF(F<A,F<C,B>> f)
modify polymorphically the target of aPPrism
with an Applicative functionabstract <C> F<S,F<C,T>>
PTraversal. modifyFunctionF(F<A,F<C,B>> f)
modify polymorphically the target of aPTraversal
with an Applicative function<C> F<S,F<C,S>>
Traversal. modifyFunctionF(F<A,F<C,A>> f)
F<S,IO<S>>
Lens. modifyIOF(F<A,IO<A>> f)
F<S,IO<S>>
Optional. modifyIOF(F<A,IO<A>> f)
F<S,IO<T>>
PIso. modifyIOF(F<A,IO<B>> f)
modify polymorphically the target of aPIso
with an Applicative functionabstract F<S,IO<T>>
PLens. modifyIOF(F<A,IO<B>> f)
modify polymorphically the target of aPLens
with an Applicative functionabstract F<S,IO<T>>
POptional. modifyIOF(F<A,IO<B>> f)
modify polymorphically the target of aPOptional
with an Applicative functionF<S,IO<T>>
PPrism. modifyIOF(F<A,IO<B>> f)
modify polymorphically the target of aPPrism
with an Applicative functionabstract F<S,IO<T>>
PTraversal. modifyIOF(F<A,IO<B>> f)
modify polymorphically the target of aPTraversal
with an Applicative functionF<S,IO<S>>
Traversal. modifyIOF(F<A,IO<A>> f)
F<S,List<S>>
Lens. modifyListF(F<A,List<A>> f)
F<S,List<S>>
Optional. modifyListF(F<A,List<A>> f)
F<S,List<T>>
PIso. modifyListF(F<A,List<B>> f)
modify polymorphically the target of aPIso
with an Applicative functionabstract F<S,List<T>>
PLens. modifyListF(F<A,List<B>> f)
modify polymorphically the target of aPLens
with an Applicative functionabstract F<S,List<T>>
POptional. modifyListF(F<A,List<B>> f)
modify polymorphically the target of aPOptional
with an Applicative functionF<S,List<T>>
PPrism. modifyListF(F<A,List<B>> f)
modify polymorphically the target of aPPrism
with an Applicative functionabstract F<S,List<T>>
PTraversal. modifyListF(F<A,List<B>> f)
modify polymorphically the target of aPTraversal
with an Applicative functionF<S,List<S>>
Traversal. modifyListF(F<A,List<A>> f)
F<S,Option<T>>
POptional. modifyOption(F<A,B> f)
modify polymorphically the target of aPOptional
with a function.F<S,Option<T>>
PPrism. modifyOption(F<A,B> f)
modify polymorphically the target of aPPrism
with a function.F<S,Option<S>>
Lens. modifyOptionF(F<A,Option<A>> f)
F<S,Option<S>>
Optional. modifyOptionF(F<A,Option<A>> f)
F<S,Option<T>>
PIso. modifyOptionF(F<A,Option<B>> f)
modify polymorphically the target of aPIso
with an Applicative functionabstract F<S,Option<T>>
PLens. modifyOptionF(F<A,Option<B>> f)
modify polymorphically the target of aPLens
with an Applicative functionabstract F<S,Option<T>>
POptional. modifyOptionF(F<A,Option<B>> f)
modify polymorphically the target of aPOptional
with an Applicative functionF<S,Option<T>>
PPrism. modifyOptionF(F<A,Option<B>> f)
modify polymorphically the target of aPPrism
with an Applicative functionabstract F<S,Option<T>>
PTraversal. modifyOptionF(F<A,Option<B>> f)
modify polymorphically the target of aPTraversal
with an Applicative functionF<S,Option<S>>
Traversal. modifyOptionF(F<A,Option<A>> f)
F<S,P1<S>>
Lens. modifyP1F(F<A,P1<A>> f)
F<S,P1<S>>
Optional. modifyP1F(F<A,P1<A>> f)
F<S,P1<T>>
PIso. modifyP1F(F<A,P1<B>> f)
modify polymorphically the target of aPIso
with an Applicative functionabstract F<S,P1<T>>
PLens. modifyP1F(F<A,P1<B>> f)
modify polymorphically the target of aPLens
with an Applicative functionabstract F<S,P1<T>>
POptional. modifyP1F(F<A,P1<B>> f)
modify polymorphically the target of aPOptional
with an Applicative functionF<S,P1<T>>
PPrism. modifyP1F(F<A,P1<B>> f)
modify polymorphically the target of aPPrism
with an Applicative functionabstract F<S,P1<T>>
PTraversal. modifyP1F(F<A,P1<B>> f)
modify polymorphically the target of aPTraversal
with an Applicative functionF<S,P1<S>>
Traversal. modifyP1F(F<A,P1<A>> f)
F<S,Promise<S>>
Lens. modifyPromiseF(F<A,Promise<A>> f)
F<S,Promise<S>>
Optional. modifyPromiseF(F<A,Promise<A>> f)
F<S,Promise<T>>
PIso. modifyPromiseF(F<A,Promise<B>> f)
modify polymorphically the target of aPIso
with an Applicative functionabstract F<S,Promise<T>>
PLens. modifyPromiseF(F<A,Promise<B>> f)
modify polymorphically the target of aPLens
with an Applicative functionabstract F<S,Promise<T>>
POptional. modifyPromiseF(F<A,Promise<B>> f)
modify polymorphically the target of aPOptional
with an Applicative functionF<S,Promise<T>>
PPrism. modifyPromiseF(F<A,Promise<B>> f)
modify polymorphically the target of aPPrism
with an Applicative functionabstract F<S,Promise<T>>
PTraversal. modifyPromiseF(F<A,Promise<B>> f)
modify polymorphically the target of aPTraversal
with an Applicative functionF<S,Promise<S>>
Traversal. modifyPromiseF(F<A,Promise<A>> f)
F<S,Stream<S>>
Lens. modifyStreamF(F<A,Stream<A>> f)
F<S,Stream<S>>
Optional. modifyStreamF(F<A,Stream<A>> f)
F<S,Stream<T>>
PIso. modifyStreamF(F<A,Stream<B>> f)
modify polymorphically the target of aPIso
with an Applicative functionabstract F<S,Stream<T>>
PLens. modifyStreamF(F<A,Stream<B>> f)
modify polymorphically the target of aPLens
with an Applicative functionabstract F<S,Stream<T>>
POptional. modifyStreamF(F<A,Stream<B>> f)
modify polymorphically the target of aPOptional
with an Applicative functionF<S,Stream<T>>
PPrism. modifyStreamF(F<A,Stream<B>> f)
modify polymorphically the target of aPPrism
with an Applicative functionabstract F<S,Stream<T>>
PTraversal. modifyStreamF(F<A,Stream<B>> f)
modify polymorphically the target of aPTraversal
with an Applicative functionF<S,Stream<S>>
Traversal. modifyStreamF(F<A,Stream<A>> f)
F<S,Trampoline<S>>
Lens. modifyTrampolineF(F<A,Trampoline<A>> f)
F<S,Trampoline<S>>
Optional. modifyTrampolineF(F<A,Trampoline<A>> f)
F<S,Trampoline<T>>
PIso. modifyTrampolineF(F<A,Trampoline<B>> f)
modify polymorphically the target of aPIso
with an Applicative functionabstract F<S,Trampoline<T>>
PLens. modifyTrampolineF(F<A,Trampoline<B>> f)
modify polymorphically the target of aPLens
with an Applicative functionabstract F<S,Trampoline<T>>
POptional. modifyTrampolineF(F<A,Trampoline<B>> f)
modify polymorphically the target of aPOptional
with an Applicative functionF<S,Trampoline<T>>
PPrism. modifyTrampolineF(F<A,Trampoline<B>> f)
modify polymorphically the target of aPPrism
with an Applicative functionabstract F<S,Trampoline<T>>
PTraversal. modifyTrampolineF(F<A,Trampoline<B>> f)
modify polymorphically the target of aPTraversal
with an Applicative functionF<S,Trampoline<S>>
Traversal. modifyTrampolineF(F<A,Trampoline<A>> f)
F<S,V2<S>>
Lens. modifyV2F(F<A,V2<A>> f)
F<S,V2<S>>
Optional. modifyV2F(F<A,V2<A>> f)
F<S,V2<T>>
PIso. modifyV2F(F<A,V2<B>> f)
modify polymorphically the target of aPIso
with an Applicative functionabstract F<S,V2<T>>
PLens. modifyV2F(F<A,V2<B>> f)
modify polymorphically the target of aPLens
with an Applicative functionabstract F<S,V2<T>>
POptional. modifyV2F(F<A,V2<B>> f)
modify polymorphically the target of aPOptional
with an Applicative functionF<S,V2<T>>
PPrism. modifyV2F(F<A,V2<B>> f)
modify polymorphically the target of aPPrism
with an Applicative functionabstract F<S,V2<T>>
PTraversal. modifyV2F(F<A,V2<B>> f)
modify polymorphically the target of aPTraversal
with an Applicative functionF<S,V2<S>>
Traversal. modifyV2F(F<A,V2<A>> f)
<E> F<S,Validation<E,S>>
Lens. modifyValidationF(F<A,Validation<E,A>> f)
<E> F<S,Validation<E,S>>
Optional. modifyValidationF(F<A,Validation<E,A>> f)
<E> F<S,Validation<E,T>>
PIso. modifyValidationF(F<A,Validation<E,B>> f)
modify polymorphically the target of aPIso
with an Applicative functionabstract <E> F<S,Validation<E,T>>
PLens. modifyValidationF(F<A,Validation<E,B>> f)
modify polymorphically the target of aPLens
with an Applicative functionabstract <E> F<S,Validation<E,T>>
POptional. modifyValidationF(F<A,Validation<E,B>> f)
modify polymorphically the target of aPOptional
with an Applicative function<E> F<S,Validation<E,T>>
PPrism. modifyValidationF(F<A,Validation<E,B>> f)
modify polymorphically the target of aPPrism
with an Applicative functionabstract <E> F<S,Validation<E,T>>
PTraversal. modifyValidationF(Semigroup<E> s, F<A,Validation<E,B>> f)
modify polymorphically the target of aPTraversal
with an Applicative function<E> F<S,Validation<E,S>>
Traversal. modifyValidationF(Semigroup<E> s, F<A,Validation<E,A>> f)
F<S,S>
Lens. set(A a)
F<S,S>
Optional. set(A a)
F<S,T>
PIso. set(B b)
set polymorphically the target of aPIso
with a valueabstract F<S,T>
PLens. set(B b)
set polymorphically the target of aPLens
using a functionabstract F<S,T>
POptional. set(B b)
get the modified source of aPOptional
F<S,T>
PPrism. set(B b)
set polymorphically the target of aPPrism
with a valueabstract F<S,T>
PSetter. set(B b)
set polymorphically the target of aPSetter
with a valueF<S,T>
PTraversal. set(B b)
set polymorphically the target of aPTraversal
with a valueF<S,S>
Setter. set(A b)
F<S,Option<T>>
POptional. setOption(B b)
set polymorphically the target of aPOptional
with a value.F<S,Option<T>>
PPrism. setOption(B b)
set polymorphically the target of aPPrism
with a value.Methods in fj.data.optic that return types with arguments of type F Modifier and Type Method Description <C> F<S,F<C,S>>
Lens. modifyFunctionF(F<A,F<C,A>> f)
<C> F<S,F<C,S>>
Optional. modifyFunctionF(F<A,F<C,A>> f)
<C> F<S,F<C,T>>
PIso. modifyFunctionF(F<A,F<C,B>> f)
modify polymorphically the target of aPIso
with an Applicative functionabstract <C> F<S,F<C,T>>
PLens. modifyFunctionF(F<A,F<C,B>> f)
modify polymorphically the target of aPLens
with an Applicative functionabstract <C> F<S,F<C,T>>
POptional. modifyFunctionF(F<A,F<C,B>> f)
modify polymorphically the target of aPOptional
with an Applicative function<C> F<S,F<C,T>>
PPrism. modifyFunctionF(F<A,F<C,B>> f)
modify polymorphically the target of aPPrism
with an Applicative functionabstract <C> F<S,F<C,T>>
PTraversal. modifyFunctionF(F<A,F<C,B>> f)
modify polymorphically the target of aPTraversal
with an Applicative function<C> F<S,F<C,S>>
Traversal. modifyFunctionF(F<A,F<C,A>> f)
Methods in fj.data.optic with parameters of type F Modifier and Type Method Description F<S,java.lang.Boolean>
Fold. all(F<A,java.lang.Boolean> p)
check if all targets satisfy the predicateF<S,java.lang.Boolean>
PTraversal. all(F<A,java.lang.Boolean> p)
check if all targets satisfy the predicateF<S,java.lang.Boolean>
Fold. exist(F<A,java.lang.Boolean> p)
check if at least one target satisfies the predicateF<S,java.lang.Boolean>
PTraversal. exist(F<A,java.lang.Boolean> p)
check if at least one target satisfies the predicateF<S,Option<A>>
Fold. find(F<A,java.lang.Boolean> p)
find the first target of aFold
matching the predicateF<S,Option<A>>
PTraversal. find(F<A,java.lang.Boolean> p)
find the first target of aPTraversal
matching the predicateabstract <M> F<S,M>
Fold. foldMap(Monoid<M> m, F<A,M> f)
abstract <M> F<S,M>
PTraversal. foldMap(Monoid<M> monoid, F<A,M> f)
map each target to aMonoid
and combine the results<M> F<S,M>
Traversal. foldMap(Monoid<M> monoid, F<A,M> f)
private static <S,T,A,B>
PTraversal<S,T,A,B>PTraversal. fromCurried(PTraversal<S,F<B,T>,A,B> curriedTraversal, F<S,A> lastGet)
static <S,A>
Getter<S,A>Getter. getter(F<S,A> get)
static <S,A>
Iso<S,A>Iso. iso(F<S,A> get, F<A,S> reverseGet)
create anIso
using a pair of functions: one to get the target and one to get the source.static <S,A>
Lens<S,A>Lens. lens(F<S,A> get, F<A,F<S,S>> set)
create aLens
using a pair of functions: one to get the target, one to set the target.F<S,S>
Lens. modify(F<A,A> f)
F<S,S>
Optional. modify(F<A,A> f)
F<S,T>
PIso. modify(F<A,B> f)
modify polymorphically the target of aPIso
with a functionabstract F<S,T>
PLens. modify(F<A,B> f)
modify polymorphically the target of aPLens
using a functionabstract F<S,T>
POptional. modify(F<A,B> f)
modify polymorphically the target of aPOptional
with a functionF<S,T>
PPrism. modify(F<A,B> f)
modify polymorphically the target of aPPrism
with a functionabstract F<S,T>
PSetter. modify(F<A,B> f)
modify polymorphically the target of aPSetter
with a functionF<S,T>
PTraversal. modify(F<A,B> f)
modify polymorphically the target of aPTraversal
with a functionF<S,S>
Setter. modify(F<A,A> f)
<L> F<S,Either<L,S>>
Lens. modifyEitherF(F<A,Either<L,A>> f)
<L> F<S,Either<L,S>>
Optional. modifyEitherF(F<A,Either<L,A>> f)
<L> F<S,Either<L,T>>
PIso. modifyEitherF(F<A,Either<L,B>> f)
modify polymorphically the target of aPIso
with an Applicative functionabstract <L> F<S,Either<L,T>>
PLens. modifyEitherF(F<A,Either<L,B>> f)
modify polymorphically the target of aPLens
with an Applicative functionabstract <L> F<S,Either<L,T>>
POptional. modifyEitherF(F<A,Either<L,B>> f)
modify polymorphically the target of aPOptional
with an Applicative function<L> F<S,Either<L,T>>
PPrism. modifyEitherF(F<A,Either<L,B>> f)
modify polymorphically the target of aPPrism
with an Applicative functionabstract <L> F<S,Either<L,T>>
PTraversal. modifyEitherF(F<A,Either<L,B>> f)
modify polymorphically the target of aPTraversal
with an Applicative function<L> F<S,Either<L,S>>
Traversal. modifyEitherF(F<A,Either<L,A>> f)
<C> F<S,F<C,S>>
Lens. modifyFunctionF(F<A,F<C,A>> f)
<C> F<S,F<C,S>>
Optional. modifyFunctionF(F<A,F<C,A>> f)
<C> F<S,F<C,T>>
PIso. modifyFunctionF(F<A,F<C,B>> f)
modify polymorphically the target of aPIso
with an Applicative functionabstract <C> F<S,F<C,T>>
PLens. modifyFunctionF(F<A,F<C,B>> f)
modify polymorphically the target of aPLens
with an Applicative functionabstract <C> F<S,F<C,T>>
POptional. modifyFunctionF(F<A,F<C,B>> f)
modify polymorphically the target of aPOptional
with an Applicative function<C> F<S,F<C,T>>
PPrism. modifyFunctionF(F<A,F<C,B>> f)
modify polymorphically the target of aPPrism
with an Applicative functionabstract <C> F<S,F<C,T>>
PTraversal. modifyFunctionF(F<A,F<C,B>> f)
modify polymorphically the target of aPTraversal
with an Applicative function<C> F<S,F<C,S>>
Traversal. modifyFunctionF(F<A,F<C,A>> f)
F<S,IO<S>>
Lens. modifyIOF(F<A,IO<A>> f)
F<S,IO<S>>
Optional. modifyIOF(F<A,IO<A>> f)
F<S,IO<T>>
PIso. modifyIOF(F<A,IO<B>> f)
modify polymorphically the target of aPIso
with an Applicative functionabstract F<S,IO<T>>
PLens. modifyIOF(F<A,IO<B>> f)
modify polymorphically the target of aPLens
with an Applicative functionabstract F<S,IO<T>>
POptional. modifyIOF(F<A,IO<B>> f)
modify polymorphically the target of aPOptional
with an Applicative functionF<S,IO<T>>
PPrism. modifyIOF(F<A,IO<B>> f)
modify polymorphically the target of aPPrism
with an Applicative functionabstract F<S,IO<T>>
PTraversal. modifyIOF(F<A,IO<B>> f)
modify polymorphically the target of aPTraversal
with an Applicative functionF<S,IO<S>>
Traversal. modifyIOF(F<A,IO<A>> f)
F<S,List<S>>
Lens. modifyListF(F<A,List<A>> f)
F<S,List<S>>
Optional. modifyListF(F<A,List<A>> f)
F<S,List<T>>
PIso. modifyListF(F<A,List<B>> f)
modify polymorphically the target of aPIso
with an Applicative functionabstract F<S,List<T>>
PLens. modifyListF(F<A,List<B>> f)
modify polymorphically the target of aPLens
with an Applicative functionabstract F<S,List<T>>
POptional. modifyListF(F<A,List<B>> f)
modify polymorphically the target of aPOptional
with an Applicative functionF<S,List<T>>
PPrism. modifyListF(F<A,List<B>> f)
modify polymorphically the target of aPPrism
with an Applicative functionabstract F<S,List<T>>
PTraversal. modifyListF(F<A,List<B>> f)
modify polymorphically the target of aPTraversal
with an Applicative functionF<S,List<S>>
Traversal. modifyListF(F<A,List<A>> f)
F<S,Option<T>>
POptional. modifyOption(F<A,B> f)
modify polymorphically the target of aPOptional
with a function.F<S,Option<T>>
PPrism. modifyOption(F<A,B> f)
modify polymorphically the target of aPPrism
with a function.F<S,Option<S>>
Lens. modifyOptionF(F<A,Option<A>> f)
F<S,Option<S>>
Optional. modifyOptionF(F<A,Option<A>> f)
F<S,Option<T>>
PIso. modifyOptionF(F<A,Option<B>> f)
modify polymorphically the target of aPIso
with an Applicative functionabstract F<S,Option<T>>
PLens. modifyOptionF(F<A,Option<B>> f)
modify polymorphically the target of aPLens
with an Applicative functionabstract F<S,Option<T>>
POptional. modifyOptionF(F<A,Option<B>> f)
modify polymorphically the target of aPOptional
with an Applicative functionF<S,Option<T>>
PPrism. modifyOptionF(F<A,Option<B>> f)
modify polymorphically the target of aPPrism
with an Applicative functionabstract F<S,Option<T>>
PTraversal. modifyOptionF(F<A,Option<B>> f)
modify polymorphically the target of aPTraversal
with an Applicative functionF<S,Option<S>>
Traversal. modifyOptionF(F<A,Option<A>> f)
F<S,P1<S>>
Lens. modifyP1F(F<A,P1<A>> f)
F<S,P1<S>>
Optional. modifyP1F(F<A,P1<A>> f)
F<S,P1<T>>
PIso. modifyP1F(F<A,P1<B>> f)
modify polymorphically the target of aPIso
with an Applicative functionabstract F<S,P1<T>>
PLens. modifyP1F(F<A,P1<B>> f)
modify polymorphically the target of aPLens
with an Applicative functionabstract F<S,P1<T>>
POptional. modifyP1F(F<A,P1<B>> f)
modify polymorphically the target of aPOptional
with an Applicative functionF<S,P1<T>>
PPrism. modifyP1F(F<A,P1<B>> f)
modify polymorphically the target of aPPrism
with an Applicative functionabstract F<S,P1<T>>
PTraversal. modifyP1F(F<A,P1<B>> f)
modify polymorphically the target of aPTraversal
with an Applicative functionF<S,P1<S>>
Traversal. modifyP1F(F<A,P1<A>> f)
F<S,Promise<S>>
Lens. modifyPromiseF(F<A,Promise<A>> f)
F<S,Promise<S>>
Optional. modifyPromiseF(F<A,Promise<A>> f)
F<S,Promise<T>>
PIso. modifyPromiseF(F<A,Promise<B>> f)
modify polymorphically the target of aPIso
with an Applicative functionabstract F<S,Promise<T>>
PLens. modifyPromiseF(F<A,Promise<B>> f)
modify polymorphically the target of aPLens
with an Applicative functionabstract F<S,Promise<T>>
POptional. modifyPromiseF(F<A,Promise<B>> f)
modify polymorphically the target of aPOptional
with an Applicative functionF<S,Promise<T>>
PPrism. modifyPromiseF(F<A,Promise<B>> f)
modify polymorphically the target of aPPrism
with an Applicative functionabstract F<S,Promise<T>>
PTraversal. modifyPromiseF(F<A,Promise<B>> f)
modify polymorphically the target of aPTraversal
with an Applicative functionF<S,Promise<S>>
Traversal. modifyPromiseF(F<A,Promise<A>> f)
F<S,Stream<S>>
Lens. modifyStreamF(F<A,Stream<A>> f)
F<S,Stream<S>>
Optional. modifyStreamF(F<A,Stream<A>> f)
F<S,Stream<T>>
PIso. modifyStreamF(F<A,Stream<B>> f)
modify polymorphically the target of aPIso
with an Applicative functionabstract F<S,Stream<T>>
PLens. modifyStreamF(F<A,Stream<B>> f)
modify polymorphically the target of aPLens
with an Applicative functionabstract F<S,Stream<T>>
POptional. modifyStreamF(F<A,Stream<B>> f)
modify polymorphically the target of aPOptional
with an Applicative functionF<S,Stream<T>>
PPrism. modifyStreamF(F<A,Stream<B>> f)
modify polymorphically the target of aPPrism
with an Applicative functionabstract F<S,Stream<T>>
PTraversal. modifyStreamF(F<A,Stream<B>> f)
modify polymorphically the target of aPTraversal
with an Applicative functionF<S,Stream<S>>
Traversal. modifyStreamF(F<A,Stream<A>> f)
F<S,Trampoline<S>>
Lens. modifyTrampolineF(F<A,Trampoline<A>> f)
F<S,Trampoline<S>>
Optional. modifyTrampolineF(F<A,Trampoline<A>> f)
F<S,Trampoline<T>>
PIso. modifyTrampolineF(F<A,Trampoline<B>> f)
modify polymorphically the target of aPIso
with an Applicative functionabstract F<S,Trampoline<T>>
PLens. modifyTrampolineF(F<A,Trampoline<B>> f)
modify polymorphically the target of aPLens
with an Applicative functionabstract F<S,Trampoline<T>>
POptional. modifyTrampolineF(F<A,Trampoline<B>> f)
modify polymorphically the target of aPOptional
with an Applicative functionF<S,Trampoline<T>>
PPrism. modifyTrampolineF(F<A,Trampoline<B>> f)
modify polymorphically the target of aPPrism
with an Applicative functionabstract F<S,Trampoline<T>>
PTraversal. modifyTrampolineF(F<A,Trampoline<B>> f)
modify polymorphically the target of aPTraversal
with an Applicative functionF<S,Trampoline<S>>
Traversal. modifyTrampolineF(F<A,Trampoline<A>> f)
F<S,V2<S>>
Lens. modifyV2F(F<A,V2<A>> f)
F<S,V2<S>>
Optional. modifyV2F(F<A,V2<A>> f)
F<S,V2<T>>
PIso. modifyV2F(F<A,V2<B>> f)
modify polymorphically the target of aPIso
with an Applicative functionabstract F<S,V2<T>>
PLens. modifyV2F(F<A,V2<B>> f)
modify polymorphically the target of aPLens
with an Applicative functionabstract F<S,V2<T>>
POptional. modifyV2F(F<A,V2<B>> f)
modify polymorphically the target of aPOptional
with an Applicative functionF<S,V2<T>>
PPrism. modifyV2F(F<A,V2<B>> f)
modify polymorphically the target of aPPrism
with an Applicative functionabstract F<S,V2<T>>
PTraversal. modifyV2F(F<A,V2<B>> f)
modify polymorphically the target of aPTraversal
with an Applicative functionF<S,V2<S>>
Traversal. modifyV2F(F<A,V2<A>> f)
<E> F<S,Validation<E,S>>
Lens. modifyValidationF(F<A,Validation<E,A>> f)
<E> F<S,Validation<E,S>>
Optional. modifyValidationF(F<A,Validation<E,A>> f)
<E> F<S,Validation<E,T>>
PIso. modifyValidationF(F<A,Validation<E,B>> f)
modify polymorphically the target of aPIso
with an Applicative functionabstract <E> F<S,Validation<E,T>>
PLens. modifyValidationF(F<A,Validation<E,B>> f)
modify polymorphically the target of aPLens
with an Applicative functionabstract <E> F<S,Validation<E,T>>
POptional. modifyValidationF(F<A,Validation<E,B>> f)
modify polymorphically the target of aPOptional
with an Applicative function<E> F<S,Validation<E,T>>
PPrism. modifyValidationF(F<A,Validation<E,B>> f)
modify polymorphically the target of aPPrism
with an Applicative functionabstract <E> F<S,Validation<E,T>>
PTraversal. modifyValidationF(Semigroup<E> s, F<A,Validation<E,B>> f)
modify polymorphically the target of aPTraversal
with an Applicative function<E> F<S,Validation<E,S>>
Traversal. modifyValidationF(Semigroup<E> s, F<A,Validation<E,A>> f)
static <S,A>
Optional<S,A>Optional. optional(F<S,Option<A>> getOption, F<A,F<S,S>> set)
static <S,T,A,B>
PIso<S,T,A,B>PIso. pIso(F<S,A> get, F<B,T> reverseGet)
create aPIso
using a pair of functions: one to get the target and one to get the source.static <S,T,A,B>
PLens<S,T,A,B>PLens. pLens(F<S,A> get, F<B,F<S,T>> set)
create aPLens
using a pair of functions: one to get the target, one to set the target.static <S,T,A,B>
POptional<S,T,A,B>POptional. pOptional(F<S,Either<T,A>> getOrModify, F<B,F<S,T>> set)
create aPOptional
using the canonical functions: getOrModify and setstatic <S,T,A,B>
PPrism<S,T,A,B>PPrism. pPrism(F<S,Either<T,A>> getOrModify, F<B,T> reverseGet)
create aPPrism
using the canonical functions: getOrModify and reverseGetstatic <S,A>
Prism<S,A>Prism. prism(F<S,Option<A>> getOption, F<A,S> reverseGet)
static <S,T,A,B>
PSetter<S,T,A,B>PSetter. pSetter(F<F<A,B>,F<S,T>> modify)
static <S,T,A,B>
PTraversal<S,T,A,B>PTraversal. pTraversal(F<S,A> get1, F<S,A> get2, F<S,A> get3, F<S,A> get4, F<S,A> get5, F<S,A> get6, F7<B,B,B,B,B,B,S,T> set)
static <S,T,A,B>
PTraversal<S,T,A,B>PTraversal. pTraversal(F<S,A> get1, F<S,A> get2, F<S,A> get3, F<S,A> get4, F<S,A> get5, F6<B,B,B,B,B,S,T> set)
static <S,T,A,B>
PTraversal<S,T,A,B>PTraversal. pTraversal(F<S,A> get1, F<S,A> get2, F<S,A> get3, F<S,A> get4, F5<B,B,B,B,S,T> set)
static <S,T,A,B>
PTraversal<S,T,A,B>PTraversal. pTraversal(F<S,A> get1, F<S,A> get2, F<S,A> get3, F4<B,B,B,S,T> set)
static <S,T,A,B>
PTraversal<S,T,A,B>PTraversal. pTraversal(F<S,A> get1, F<S,A> get2, F3<B,B,S,T> set)
static <S,A>
Setter<S,A>Setter. setter(F<F<A,A>,F<S,S>> modify)
alias forPSetter
constructor with a monomorphic modify functionstatic <S,A>
Traversal<S,A>Traversal. traversal(F<S,A> get1, F<S,A> get2, F<S,A> get3, F<S,A> get4, F<S,A> get5, F<S,A> get6, F7<A,A,A,A,A,A,S,S> set)
static <S,A>
Traversal<S,A>Traversal. traversal(F<S,A> get1, F<S,A> get2, F<S,A> get3, F<S,A> get4, F<S,A> get5, F6<A,A,A,A,A,S,S> set)
static <S,A>
Traversal<S,A>Traversal. traversal(F<S,A> get1, F<S,A> get2, F<S,A> get3, F<S,A> get4, F5<A,A,A,A,S,S> set)
static <S,A>
Traversal<S,A>Traversal. traversal(F<S,A> get1, F<S,A> get2, F<S,A> get3, F4<A,A,A,S,S> set)
static <S,A>
Traversal<S,A>Traversal. traversal(F<S,A> get1, F<S,A> get2, F3<A,A,S,S> set)
Method parameters in fj.data.optic with type arguments of type F Modifier and Type Method Description private static <S,T,A,B>
PTraversal<S,T,A,B>PTraversal. fromCurried(PTraversal<S,F<B,T>,A,B> curriedTraversal, F<S,A> lastGet)
<C> F<S,F<C,S>>
Lens. modifyFunctionF(F<A,F<C,A>> f)
<C> F<S,F<C,S>>
Optional. modifyFunctionF(F<A,F<C,A>> f)
<C> F<S,F<C,T>>
PIso. modifyFunctionF(F<A,F<C,B>> f)
modify polymorphically the target of aPIso
with an Applicative functionabstract <C> F<S,F<C,T>>
PLens. modifyFunctionF(F<A,F<C,B>> f)
modify polymorphically the target of aPLens
with an Applicative functionabstract <C> F<S,F<C,T>>
POptional. modifyFunctionF(F<A,F<C,B>> f)
modify polymorphically the target of aPOptional
with an Applicative function<C> F<S,F<C,T>>
PPrism. modifyFunctionF(F<A,F<C,B>> f)
modify polymorphically the target of aPPrism
with an Applicative functionabstract <C> F<S,F<C,T>>
PTraversal. modifyFunctionF(F<A,F<C,B>> f)
modify polymorphically the target of aPTraversal
with an Applicative function<C> F<S,F<C,S>>
Traversal. modifyFunctionF(F<A,F<C,A>> f)
static <S,T,A,B>
PSetter<S,T,A,B>PSetter. pSetter(F<F<A,B>,F<S,T>> modify)
static <S,T,A,B>
PSetter<S,T,A,B>PSetter. pSetter(F<F<A,B>,F<S,T>> modify)
static <S,A>
Setter<S,A>Setter. setter(F<F<A,A>,F<S,S>> modify)
alias forPSetter
constructor with a monomorphic modify functionstatic <S,A>
Setter<S,A>Setter. setter(F<F<A,A>,F<S,S>> modify)
alias forPSetter
constructor with a monomorphic modify function -
Uses of F in fj.data.vector
Methods in fj.data.vector that return F Modifier and Type Method Description static <A> F<V2<A>,A>
V2. __1()
A first-class function to get the first element of a vector.static <A> F<V3<A>,A>
V3. __1()
A first-class function to get the first element of a vector.static <A> F<V4<A>,A>
V4. __1()
A first-class function to get the first element of a vector.static <A> F<V5<A>,A>
V5. __1()
A first-class function to get the first element of a vector.static <A> F<V6<A>,A>
V6. __1()
A first-class function to get the first element of a vector.static <A> F<V7<A>,A>
V7. __1()
A first-class function to get the first element of a vector.static <A> F<V8<A>,A>
V8. __1()
A first-class function to get the first element of a vector.static <A> F<V2<A>,A>
V2. __2()
A first-class function to get the second element of a vector.static <A> F<V3<A>,A>
V3. __2()
A first-class function to get the second element of a vector.static <A> F<V4<A>,A>
V4. __2()
A first-class function to get the second element of a vector.static <A> F<V5<A>,A>
V5. __2()
A first-class function to get the second element of a vector.static <A> F<V6<A>,A>
V6. __2()
A first-class function to get the second element of a vector.static <A> F<V7<A>,A>
V7. __2()
A first-class function to get the second element of a vector.static <A> F<V8<A>,A>
V8. __2()
A first-class function to get the second element of a vector.static <A> F<V3<A>,A>
V3. __3()
A first-class function to get the third element of a vector.static <A> F<V4<A>,A>
V4. __3()
A first-class function to get the third element of a vector.static <A> F<V5<A>,A>
V5. __3()
A first-class function to get the third element of a vector.static <A> F<V6<A>,A>
V6. __3()
A first-class function to get the third element of a vector.static <A> F<V7<A>,A>
V7. __3()
A first-class function to get the third element of a vector.static <A> F<V8<A>,A>
V8. __3()
A first-class function to get the third element of a vector.static <A> F<V4<A>,A>
V4. __4()
A first-class function to get the fourth element of a vector.static <A> F<V5<A>,A>
V5. __4()
A first-class function to get the fourth element of a vector.static <A> F<V6<A>,A>
V6. __4()
A first-class function to get the fourth element of a vector.static <A> F<V7<A>,A>
V7. __4()
A first-class function to get the fourth element of a vector.static <A> F<V8<A>,A>
V8. __4()
A first-class function to get the fourth element of a vector.static <A> F<V5<A>,A>
V5. __5()
A first-class function to get the fifth element of a vector.static <A> F<V6<A>,A>
V6. __5()
A first-class function to get the fifth element of a vector.static <A> F<V7<A>,A>
V7. __5()
A first-class function to get the fifth element of a vector.static <A> F<V8<A>,A>
V8. __5()
A first-class function to get the fifth element of a vector.static <A> F<V6<A>,A>
V6. __6()
A first-class function to get the sixth element of a vector.static <A> F<V7<A>,A>
V7. __6()
A first-class function to get the sixth element of a vector.static <A> F<V8<A>,A>
V8. __6()
A first-class function to get the sixth element of a vector.static <A> F<V7<A>,A>
V7. __7()
A first-class function to get the seventh element of a vector.static <A> F<V8<A>,A>
V8. __7()
A first-class function to get the seventh element of a vector.static <A> F<V8<A>,A>
V8. __8()
A first-class function to get the eighth element of a vector.static <A> F<V2<A>,P2<A,A>>
V2. p_()
Returns a function that transforms a vector-2 to the equivalent product-2.static <A> F<V3<A>,P3<A,A,A>>
V3. p_()
Returns a function that transforms a vector-3 to the equivalent product-3.static <A> F<V4<A>,P4<A,A,A,A>>
V4. p_()
Returns a function that transforms a vector-4 to the equivalent product-4.static <A> F<V5<A>,P5<A,A,A,A,A>>
V5. p_()
Returns a function that transforms a vector-5 to the equivalent product-5.static <A> F<V6<A>,P6<A,A,A,A,A,A>>
V6. p_()
Returns a function that transforms a vector-6 to the equivalent product-6.static <A> F<V7<A>,P7<A,A,A,A,A,A,A>>
V7. p_()
Returns a function that transforms a vector-7 to the equivalent product-7.static <A> F<V8<A>,P8<A,A,A,A,A,A,A,A>>
V8. p_()
Returns a function that transforms a vector-8 to the equivalent product-8.static <A> F<V2<A>,Stream<A>>
V2. toStream_()
Returns a function that transforms a vector-2 to a stream of its elements.static <A> F<V3<A>,Stream<A>>
V3. toStream_()
Returns a function that transforms a vector-3 to a stream of its elements.static <A> F<V4<A>,Stream<A>>
V4. toStream_()
Returns a function that transforms a vector-4 to a stream of its elements.static <A> F<V5<A>,Stream<A>>
V5. toStream_()
Returns a function that transforms a vector-5 to a stream of its elements.static <A> F<V6<A>,Stream<A>>
V6. toStream_()
Returns a function that transforms a vector-6 to a stream of its elements.static <A> F<V7<A>,Stream<A>>
V7. toStream_()
Returns a function that transforms a vector-7 to a stream of its elements.static <A> F<V8<A>,Stream<A>>
V8. toStream_()
Returns a function that transforms a vector-8 to a stream of its elements.Methods in fj.data.vector with parameters of type F Modifier and Type Method Description <B> V2<B>
V2. map(F<A,B> f)
Maps the given function across this vector.<B> V3<B>
V3. map(F<A,B> f)
Maps the given function across this vector.<B> V4<B>
V4. map(F<A,B> f)
Maps the given function across this vector.<B> V5<B>
V5. map(F<A,B> f)
Maps the given function across this vector.<B> V6<B>
V6. map(F<A,B> f)
Maps the given function across this vector.<B> V7<B>
V7. map(F<A,B> f)
Maps the given function across this vector.<B> V8<B>
V8. map(F<A,B> f)
Maps the given function across this vector.<B,C>
V2<C>V2. zipWith(F<A,F<B,C>> f, V2<B> bs)
Zips this vector with the given vector using the given function to produce a new vector.<B,C>
V3<C>V3. zipWith(F<A,F<B,C>> f, V3<B> bs)
Zips this vector with the given vector using the given function to produce a new vector.<B,C>
V4<C>V4. zipWith(F<A,F<B,C>> f, V4<B> bs)
Zips this vector with the given vector using the given function to produce a new vector.<B,C>
V5<C>V5. zipWith(F<A,F<B,C>> f, V5<B> bs)
Zips this vector with the given vector using the given function to produce a new vector.<B,C>
V6<C>V6. zipWith(F<A,F<B,C>> f, V6<B> bs)
Zips this vector with the given vector using the given function to produce a new vector.<B,C>
V7<C>V7. zipWith(F<A,F<B,C>> f, V7<B> bs)
Zips this vector with the given vector using the given function to produce a new vector.<B,C>
V8<C>V8. zipWith(F<A,F<B,C>> f, V8<B> bs)
Zips this vector with the given vector using the given function to produce a new vector.Method parameters in fj.data.vector with type arguments of type F Modifier and Type Method Description <B> V2<B>
V2. apply(V2<F<A,B>> vf)
Performs function application within a vector (applicative functor pattern).<B> V3<B>
V3. apply(V3<F<A,B>> vf)
Performs function application within a vector (applicative functor pattern).<B> V4<B>
V4. apply(V4<F<A,B>> vf)
Performs function application within a vector (applicative functor pattern).<B> V5<B>
V5. apply(V5<F<A,B>> vf)
Performs function application within a vector (applicative functor pattern).<B> V6<B>
V6. apply(V6<F<A,B>> vf)
Performs function application within a vector (applicative functor pattern).<B> V7<B>
V7. apply(V7<F<A,B>> vf)
Performs function application within a vector (applicative functor pattern).<B> V8<B>
V8. apply(V8<F<A,B>> vf)
Performs function application within a vector (applicative functor pattern).<B,C>
V2<C>V2. zipWith(F<A,F<B,C>> f, V2<B> bs)
Zips this vector with the given vector using the given function to produce a new vector.<B,C>
V3<C>V3. zipWith(F<A,F<B,C>> f, V3<B> bs)
Zips this vector with the given vector using the given function to produce a new vector.<B,C>
V4<C>V4. zipWith(F<A,F<B,C>> f, V4<B> bs)
Zips this vector with the given vector using the given function to produce a new vector.<B,C>
V5<C>V5. zipWith(F<A,F<B,C>> f, V5<B> bs)
Zips this vector with the given vector using the given function to produce a new vector.<B,C>
V6<C>V6. zipWith(F<A,F<B,C>> f, V6<B> bs)
Zips this vector with the given vector using the given function to produce a new vector.<B,C>
V7<C>V7. zipWith(F<A,F<B,C>> f, V7<B> bs)
Zips this vector with the given vector using the given function to produce a new vector.<B,C>
V8<C>V8. zipWith(F<A,F<B,C>> f, V8<B> bs)
Zips this vector with the given vector using the given function to produce a new vector. -
Uses of F in fj.function
Fields in fj.function declared as F Modifier and Type Field Description static F<java.math.BigInteger,java.math.BigInteger>
BigIntegers. abs
Absolute value.static F<java.lang.Double,java.lang.Double>
Doubles. abs
Absolute value.static F<java.lang.Integer,java.lang.Integer>
Integers. abs
Absolute value.static F<java.lang.Long,java.lang.Long>
Longs. abs
Absolute value.static F<java.math.BigInteger,F<java.math.BigInteger,java.math.BigInteger>>
BigIntegers. add
Curried Integer addition.static F<java.lang.Double,F<java.lang.Double,java.lang.Double>>
Doubles. add
Curried Double addition.static F<java.lang.Integer,F<java.lang.Integer,java.lang.Integer>>
Integers. add
Curried Integer addition.static F<java.lang.Long,F<java.lang.Long,java.lang.Long>>
Longs. add
Curried Long addition.static F<java.lang.Boolean,F<java.lang.Boolean,java.lang.Boolean>>
Booleans. and
Curried form of logical "and" (conjunction).static F<java.lang.String,F<java.lang.String,java.lang.Boolean>>
Strings. contains
A curried version ofString.contains(CharSequence)
.static F<java.lang.Character,F<java.lang.Integer,java.lang.Integer>>
Characters. digit
static F<java.lang.Double,java.lang.Boolean>
Doubles. even
Evenness.static F<java.lang.Integer,java.lang.Boolean>
Integers. even
Evenness.static F<java.lang.Character,java.lang.Byte>
Characters. getDirectionality
static F<java.lang.Character,java.lang.Integer>
Characters. getNumericValue
static F<java.lang.Character,java.lang.Integer>
Characters. getType
static F<java.lang.Double,java.lang.Boolean>
Doubles. gteZero
A function that returns true if the given double is greater than or equal to zero.static F<java.lang.Integer,java.lang.Boolean>
Integers. gteZero
A function that returns true if the given integer is greater than or equal to zero.static F<java.lang.Double,java.lang.Boolean>
Doubles. gtZero
A function that returns true if the given double is greater than zero.static F<java.lang.Integer,java.lang.Boolean>
Integers. gtZero
A function that returns true if the given integer is greater than zero.static F<java.lang.Boolean,F<java.lang.Boolean,java.lang.Boolean>>
Booleans. if_
Curried form of logical "if" (reverse material implication).static F<java.lang.Boolean,F<java.lang.Boolean,java.lang.Boolean>>
Booleans. iff
Curried form of logical "if and only if" (biconditional, equivalence).static F<java.lang.Boolean,F<java.lang.Boolean,java.lang.Boolean>>
Booleans. implies
Curried form of logical "only if" (material implication).static F<java.lang.Character,java.lang.Boolean>
Characters. isDefined
static F<java.lang.Character,java.lang.Boolean>
Characters. isDigit
static F<java.lang.String,java.lang.Boolean>
Strings. isEmpty
A curried version ofString.isEmpty()
.static F<java.lang.Character,java.lang.Boolean>
Characters. isIdentifierIgnorable
static F<java.lang.Character,java.lang.Boolean>
Characters. isISOControl
static F<java.lang.Character,java.lang.Boolean>
Characters. isJavaIdentifierPart
static F<java.lang.Character,java.lang.Boolean>
Characters. isJavaIdentifierStart
static F<java.lang.Character,java.lang.Boolean>
Characters. isLetter
static F<java.lang.Character,java.lang.Boolean>
Characters. isLetterOrDigit
static F<java.lang.Character,java.lang.Boolean>
Characters. isLowerCase
static F<java.lang.Character,java.lang.Boolean>
Characters. isMirrored
static F<java.lang.Character,java.lang.Boolean>
Characters. isNewLine
static F<java.lang.String,java.lang.Boolean>
Strings. isNotNullOrBlank
This function checks if a given String contains any non-whitespace character (according toCharacter.isWhitespace(char)
) and if it's also notnull
and not empty ("").static F<java.lang.String,java.lang.Boolean>
Strings. isNotNullOrEmpty
This function checks if a given String is neithernull
nor empty.static F<java.lang.String,java.lang.Boolean>
Strings. isNullOrBlank
This function checks if a given String is whitespace (according toCharacter.isWhitespace(char)
), empty ("") ornull
.static F<java.lang.String,java.lang.Boolean>
Strings. isNullOrEmpty
This function checks if a given String isnull
or empty (String.isEmpty()
).static F<java.lang.Character,java.lang.Boolean>
Characters. isSpaceChar
static F<java.lang.Character,java.lang.Boolean>
Characters. isTitleCase
static F<java.lang.Character,java.lang.Boolean>
Characters. isUnicodeIdentifierPart
static F<java.lang.Character,java.lang.Boolean>
Characters. isUnicodeIdentifierStart
static F<java.lang.Character,java.lang.Boolean>
Characters. isUpperCase
static F<java.lang.Character,java.lang.Boolean>
Characters. isWhitespace
static F<java.lang.String,java.lang.Integer>
Strings. length
A curried version ofString.length()
.static F<java.lang.Double,java.lang.Boolean>
Doubles. lteZero
A function that returns true if the given double is less than or equal to zero.static F<java.lang.Integer,java.lang.Boolean>
Integers. lteZero
A function that returns true if the given integer is less than or equal to zero.static F<java.lang.Double,java.lang.Boolean>
Doubles. ltZero
A function that returns true if the given double is less than zero.static F<java.lang.Integer,java.lang.Boolean>
Integers. ltZero
A function that returns true if the given integer is less than zero.static F<java.lang.String,F<java.lang.String,java.lang.Boolean>>
Strings. matches
A curried version ofString.matches(String)
.static F<java.math.BigInteger,F<java.math.BigInteger,java.math.BigInteger>>
BigIntegers. multiply
Curried Integer multiplication.static F<java.lang.Double,F<java.lang.Double,java.lang.Double>>
Doubles. multiply
Curried Double multiplication.static F<java.lang.Integer,F<java.lang.Integer,java.lang.Integer>>
Integers. multiply
Curried Integer multiplication.static F<java.lang.Long,F<java.lang.Long,java.lang.Long>>
Longs. multiply
Curried Long multiplication.static F<java.math.BigInteger,java.math.BigInteger>
BigIntegers. negate
Negation.static F<java.lang.Double,java.lang.Double>
Doubles. negate
Negation.static F<java.lang.Integer,java.lang.Integer>
Integers. negate
Negation.static F<java.lang.Long,java.lang.Long>
Longs. negate
Negation.static F<java.lang.Boolean,F<java.lang.Boolean,java.lang.Boolean>>
Booleans. nif
Curried form of logical "not if" (reverse nonimplication).static F<java.lang.Boolean,F<java.lang.Boolean,java.lang.Boolean>>
Booleans. nimp
Curried form of logical "not implies" (nonimplication).static F<java.lang.Boolean,F<java.lang.Boolean,java.lang.Boolean>>
Booleans. nor
Curried form of logical "not or".static F<java.lang.Boolean,java.lang.Boolean>
Booleans. not
Logical negation.static F<java.lang.Boolean,F<java.lang.Boolean,java.lang.Boolean>>
Booleans. or
Curried form of logical "inclusive or" (disjunction).static F<java.math.BigInteger,F<java.lang.Integer,java.math.BigInteger>>
BigIntegers. power
Power.static F<java.lang.Double,F<java.lang.Double,java.lang.Double>>
Doubles. power
Power.static F<java.lang.Integer,F<java.lang.Integer,java.lang.Integer>>
Integers. power
Power.static F<java.math.BigInteger,F<java.math.BigInteger,java.math.BigInteger>>
BigIntegers. remainder
Remainder.static F<java.lang.Double,F<java.lang.Double,java.lang.Double>>
Doubles. remainder
Remainder.static F<java.lang.Integer,F<java.lang.Integer,java.lang.Integer>>
Integers. remainder
Remainder.static F<java.lang.Long,F<java.lang.Long,java.lang.Long>>
Longs. remainder
Remainder.static F<java.lang.Character,java.lang.Character>
Characters. reverseBytes
static F<java.math.BigInteger,F<java.math.BigInteger,java.math.BigInteger>>
BigIntegers. subtract
Curried Integer subtraction.static F<java.lang.Double,F<java.lang.Double,java.lang.Double>>
Doubles. subtract
Curried Double subtraction.static F<java.lang.Integer,F<java.lang.Integer,java.lang.Integer>>
Integers. subtract
Curried Integer subtraction.static F<java.lang.Long,F<java.lang.Long,java.lang.Long>>
Longs. subtract
Curried Long subtraction.static F<java.lang.Character,java.lang.Character>
Characters. toLowerCase
static F<java.lang.Character,java.lang.String>
Characters. toString
static F<java.lang.Character,java.lang.Character>
Characters. toTitleCase
static F<java.lang.Character,java.lang.Character>
Characters. toUpperCase
static F<java.lang.Boolean,F<java.lang.Boolean,java.lang.Boolean>>
Booleans. xor
Curried form of logical xor (nonequivalence).Fields in fj.function with type parameters of type F Modifier and Type Field Description static F<java.math.BigInteger,F<java.math.BigInteger,java.math.BigInteger>>
BigIntegers. add
Curried Integer addition.static F<java.lang.Double,F<java.lang.Double,java.lang.Double>>
Doubles. add
Curried Double addition.static F<java.lang.Integer,F<java.lang.Integer,java.lang.Integer>>
Integers. add
Curried Integer addition.static F<java.lang.Long,F<java.lang.Long,java.lang.Long>>
Longs. add
Curried Long addition.static F<java.lang.Boolean,F<java.lang.Boolean,java.lang.Boolean>>
Booleans. and
Curried form of logical "and" (conjunction).static F<java.lang.String,F<java.lang.String,java.lang.Boolean>>
Strings. contains
A curried version ofString.contains(CharSequence)
.static F<java.lang.Character,F<java.lang.Integer,java.lang.Integer>>
Characters. digit
static F<java.lang.Boolean,F<java.lang.Boolean,java.lang.Boolean>>
Booleans. if_
Curried form of logical "if" (reverse material implication).static F<java.lang.Boolean,F<java.lang.Boolean,java.lang.Boolean>>
Booleans. iff
Curried form of logical "if and only if" (biconditional, equivalence).static F<java.lang.Boolean,F<java.lang.Boolean,java.lang.Boolean>>
Booleans. implies
Curried form of logical "only if" (material implication).static F<java.lang.String,F<java.lang.String,java.lang.Boolean>>
Strings. matches
A curried version ofString.matches(String)
.static F<java.math.BigInteger,F<java.math.BigInteger,java.math.BigInteger>>
BigIntegers. multiply
Curried Integer multiplication.static F<java.lang.Double,F<java.lang.Double,java.lang.Double>>
Doubles. multiply
Curried Double multiplication.static F<java.lang.Integer,F<java.lang.Integer,java.lang.Integer>>
Integers. multiply
Curried Integer multiplication.static F<java.lang.Long,F<java.lang.Long,java.lang.Long>>
Longs. multiply
Curried Long multiplication.static F<java.lang.Boolean,F<java.lang.Boolean,java.lang.Boolean>>
Booleans. nif
Curried form of logical "not if" (reverse nonimplication).static F<java.lang.Boolean,F<java.lang.Boolean,java.lang.Boolean>>
Booleans. nimp
Curried form of logical "not implies" (nonimplication).static F<java.lang.Boolean,F<java.lang.Boolean,java.lang.Boolean>>
Booleans. nor
Curried form of logical "not or".static F<java.lang.Boolean,F<java.lang.Boolean,java.lang.Boolean>>
Booleans. or
Curried form of logical "inclusive or" (disjunction).static F<java.math.BigInteger,F<java.lang.Integer,java.math.BigInteger>>
BigIntegers. power
Power.static F<java.lang.Double,F<java.lang.Double,java.lang.Double>>
Doubles. power
Power.static F<java.lang.Integer,F<java.lang.Integer,java.lang.Integer>>
Integers. power
Power.static F<java.math.BigInteger,F<java.math.BigInteger,java.math.BigInteger>>
BigIntegers. remainder
Remainder.static F<java.lang.Double,F<java.lang.Double,java.lang.Double>>
Doubles. remainder
Remainder.static F<java.lang.Integer,F<java.lang.Integer,java.lang.Integer>>
Integers. remainder
Remainder.static F<java.lang.Long,F<java.lang.Long,java.lang.Long>>
Longs. remainder
Remainder.static F<java.math.BigInteger,F<java.math.BigInteger,java.math.BigInteger>>
BigIntegers. subtract
Curried Integer subtraction.static F<java.lang.Double,F<java.lang.Double,java.lang.Double>>
Doubles. subtract
Curried Double subtraction.static F<java.lang.Integer,F<java.lang.Integer,java.lang.Integer>>
Integers. subtract
Curried Integer subtraction.static F<java.lang.Long,F<java.lang.Long,java.lang.Long>>
Longs. subtract
Curried Long subtraction.static F<java.lang.Boolean,F<java.lang.Boolean,java.lang.Boolean>>
Booleans. xor
Curried form of logical xor (nonequivalence).Methods in fj.function that return F Modifier and Type Method Description static <A> F<A,java.lang.Boolean>
Booleans. and(F<A,java.lang.Boolean> p1, F<A,java.lang.Boolean> p2)
composes the given predicate using conjunctionstatic <A> F<A,java.lang.Boolean>
Booleans. andAll(List<F<A,java.lang.Boolean>> l)
Returns a composed predicate of given List of predicatesstatic <A> F<A,java.lang.Boolean>
Booleans. andAll(Stream<F<A,java.lang.Boolean>> l)
Returns composed predicatedefault <B> F<A,B>
Effect1. andThen(F<Unit,B> f)
static <A,B>
F<B,F<A,B>>Visitor. association(List<P2<A,B>> x, Equal<A> eq)
Uses an association list to perform a lookup with equality and returns a function that can be applied to a default, followed by the associated key to return a value.static <A,B>
F<P1<B>,F<A,B>>Visitor. associationLazy(List<P2<A,B>> x, Equal<A> eq)
Uses an association list to perform a lookup with equality and returns a function that can be applied to a default, followed by the associated key to return a value.default <C> F<A,C>
Effect1. bind(F<Unit,F<A,C>> g)
static <A> F<java.lang.Boolean,F<A,F<A,A>>>
Booleans. cond()
Curried form of conditional.static <A,B>
F<B,java.lang.Boolean>Booleans. contramap(F<B,A> f, F<A,java.lang.Boolean> p)
maps given function to the predicate functiondefault <C,D>
F<C,D>Effect1. dimap(F<C,A> f, F<Unit,D> g)
static F<java.lang.String,Option<java.lang.Double>>
Doubles. fromString()
A function that converts strings to doubles.static F<java.lang.String,Option<java.lang.Integer>>
Integers. fromString()
A function that converts strings to integers.static F<java.lang.String,Option<java.lang.Long>>
Longs. fromString()
A function that converts strings to integers.static <A,B>
F<B,java.lang.Boolean>Booleans. is(F<B,A> f, F<A,java.lang.Boolean> p)
alias for contramapstatic <A,B>
F<B,java.lang.Boolean>Booleans. isnot(F<B,A> f, F<A,java.lang.Boolean> p)
returns inverse of contramapstatic F<java.lang.String,List<java.lang.String>>
Strings. lines()
default <C> F<A,C>
Effect1. map(F<Unit,C> f)
static <A> F<A,java.lang.Boolean>
Booleans. not(F<A,java.lang.Boolean> p)
Negates the given predicate.static <A> F<A,java.lang.Boolean>
Booleans. or(F<A,java.lang.Boolean> p1, F<A,java.lang.Boolean> p2)
returns composed predicate using disjunctionstatic <A> F<A,java.lang.Boolean>
Booleans. orAll(List<F<A,java.lang.Boolean>> l)
Returns a composed predicate of given List of predicatesstatic <A> F<A,java.lang.Boolean>
Booleans. orAll(Stream<F<A,java.lang.Boolean>> l)
Returns a composed predicate of given Stream of predicatesdefault F<A,Unit>
Effect1. toF()
static F<List<java.lang.String>,java.lang.String>
Strings. unlines()
static <A> F<A,java.lang.Boolean>
Booleans. xor(F<A,java.lang.Boolean> p1, F<A,java.lang.Boolean> p2)
composes the given predicate using exclusive disjunctionMethods in fj.function that return types with arguments of type F Modifier and Type Method Description static <A,B>
F<B,F<A,B>>Visitor. association(List<P2<A,B>> x, Equal<A> eq)
Uses an association list to perform a lookup with equality and returns a function that can be applied to a default, followed by the associated key to return a value.static <A,B>
F<P1<B>,F<A,B>>Visitor. associationLazy(List<P2<A,B>> x, Equal<A> eq)
Uses an association list to perform a lookup with equality and returns a function that can be applied to a default, followed by the associated key to return a value.static <A> F<java.lang.Boolean,F<A,F<A,A>>>
Booleans. cond()
Curried form of conditional.static <A> F<java.lang.Boolean,F<A,F<A,A>>>
Booleans. cond()
Curried form of conditional.Methods in fj.function with parameters of type F Modifier and Type Method Description static <A> F<A,java.lang.Boolean>
Booleans. and(F<A,java.lang.Boolean> p1, F<A,java.lang.Boolean> p2)
composes the given predicate using conjunctiondefault <B> F<A,B>
Effect1. andThen(F<Unit,B> f)
default <C> F<A,C>
Effect1. bind(F<Unit,F<A,C>> g)
static <A,B>
F<B,java.lang.Boolean>Booleans. contramap(F<B,A> f, F<A,java.lang.Boolean> p)
maps given function to the predicate functiondefault <C> Effect1<C>
Effect1. contramap(F<C,A> f)
default <C,D>
F<C,D>Effect1. dimap(F<C,A> f, F<Unit,D> g)
static <A> Effect1<A>
Effect1. fromF(F<A,Unit> f)
static <A,B>
F<B,java.lang.Boolean>Booleans. is(F<B,A> f, F<A,java.lang.Boolean> p)
alias for contramapstatic <A,B>
F<B,java.lang.Boolean>Booleans. isnot(F<B,A> f, F<A,java.lang.Boolean> p)
returns inverse of contramapdefault <C> F<A,C>
Effect1. map(F<Unit,C> f)
static <A> F<A,java.lang.Boolean>
Booleans. not(F<A,java.lang.Boolean> p)
Negates the given predicate.default <C> Effect1<C>
Effect1. o(F<C,A> f)
static <A> F<A,java.lang.Boolean>
Booleans. or(F<A,java.lang.Boolean> p1, F<A,java.lang.Boolean> p2)
returns composed predicate using disjunctionstatic <A> F<A,java.lang.Boolean>
Booleans. xor(F<A,java.lang.Boolean> p1, F<A,java.lang.Boolean> p2)
composes the given predicate using exclusive disjunctionMethod parameters in fj.function with type arguments of type F Modifier and Type Method Description static <A> F<A,java.lang.Boolean>
Booleans. andAll(List<F<A,java.lang.Boolean>> l)
Returns a composed predicate of given List of predicatesstatic <A> F<A,java.lang.Boolean>
Booleans. andAll(Stream<F<A,java.lang.Boolean>> l)
Returns composed predicatedefault <C> F<A,C>
Effect1. bind(F<Unit,F<A,C>> g)
static <A,B>
BVisitor. nullableVisitor(List<F<A,B>> visitors, F0<B> def, A value)
Returns the first non-null
value found in the list of visitors after application of the given value, otherwise returns the given default.static <A> F<A,java.lang.Boolean>
Booleans. orAll(List<F<A,java.lang.Boolean>> l)
Returns a composed predicate of given List of predicatesstatic <A> F<A,java.lang.Boolean>
Booleans. orAll(Stream<F<A,java.lang.Boolean>> l)
Returns a composed predicate of given Stream of predicatesstatic <A,B>
BVisitor. visitor(List<F<A,Option<B>>> visitors, F0<B> def, A value)
Returns the first value found in the list of visitors after application of the given value, otherwise returns the given default. -
Uses of F in fj.java.util
Methods in fj.java.util with parameters of type F Modifier and Type Method Description static <A,B>
java.util.List<B>ListUtil. bind(java.util.List<A> list, F<A,java.util.List<B>> f)
static <A> java.util.List<A>
ListUtil. filter(java.util.List<A> list, F<A,java.lang.Boolean> f)
static <A,B>
java.util.List<B>ListUtil. flatMap(java.util.List<A> list, F<A,java.util.List<B>> f)
static <A,B>
java.util.List<B>ListUtil. map(java.util.List<A> list, F<A,B> f)
-
Uses of F in fj.parser
Fields in fj.parser declared as F Modifier and Type Field Description private F<I,Validation<E,Result<I,A>>>
Parser. f
Methods in fj.parser that return F Modifier and Type Method Description <B,J>
F<F<I,J>,F<F<A,B>,Result<J,B>>>Result. bimap()
First-class bifunctor map.<J> F<F<I,J>,Result<J,A>>
Result. mapRest()
First-class function mapping across the remainder of the parse input.<B> F<F<A,B>,Result<I,B>>
Result. mapValue()
First-class function mapping across the parse value.static <A,I>
F<I,F<A,Result<I,A>>>Result. result()
First-class construction of a result.Methods in fj.parser that return types with arguments of type F Modifier and Type Method Description <B,J>
F<F<I,J>,F<F<A,B>,Result<J,B>>>Result. bimap()
First-class bifunctor map.<B,J>
F<F<I,J>,F<F<A,B>,Result<J,B>>>Result. bimap()
First-class bifunctor map.<B,J>
F<F<I,J>,F<F<A,B>,Result<J,B>>>Result. bimap()
First-class bifunctor map.<J> F<F<I,J>,Result<J,A>>
Result. mapRest()
First-class function mapping across the remainder of the parse input.<B> F<F<A,B>,Result<I,B>>
Result. mapValue()
First-class function mapping across the parse value.static <A,I>
F<I,F<A,Result<I,A>>>Result. result()
First-class construction of a result.Methods in fj.parser with parameters of type F Modifier and Type Method Description static <E> Parser<Stream<java.lang.Character>,java.lang.Character,E>
Parser.CharsParser. alpha(E missing, F<java.lang.Character,E> sat)
Returns a parser that produces an alpha character.static <E> Parser<Stream<java.lang.Character>,java.lang.Character,E>
Parser.CharsParser. alpha(F0<E> missing, F<java.lang.Character,E> sat)
Returns a parser that produces an alpha character.static <E> Parser<Stream<java.lang.Character>,java.lang.Character,E>
Parser.CharsParser. alphaNum(E missing, F<java.lang.Character,E> sat)
Returns a parser that produces an alpha-numeric character.static <E> Parser<Stream<java.lang.Character>,java.lang.Character,E>
Parser.CharsParser. alphaNum(F0<E> missing, F<java.lang.Character,E> sat)
Returns a parser that produces an alpha-numeric character.<B,J>
Result<J,B>Result. bimap(F<I,J> f, F<A,B> g)
A bifunctor map across both the remainder of the parse input and the parse value.<B> Parser<I,B,E>
Parser. bind(F<A,Parser<I,B,E>> f)
Binds the given function across the parser with a final join.<B,C>
Parser<I,C,E>Parser. bind(Parser<I,B,E> pb, F<A,F<B,C>> f)
Binds the given function across the parsers with a final join.<B,C,D>
Parser<I,D,E>Parser. bind(Parser<I,B,E> pb, Parser<I,C,E> pc, F<A,F<B,F<C,D>>> f)
Binds the given function across the parsers with a final join.<B,C,D,E$>
Parser<I,E$,E>Parser. bind(Parser<I,B,E> pb, Parser<I,C,E> pc, Parser<I,D,E> pd, F<A,F<B,F<C,F<D,E$>>>> f)
Binds the given function across the parsers with a final join.<B,C,D,E$,F$>
Parser<I,F$,E>Parser. bind(Parser<I,B,E> pb, Parser<I,C,E> pc, Parser<I,D,E> pd, Parser<I,E$,E> pe, F<A,F<B,F<C,F<D,F<E$,F$>>>>> f)
Binds the given function across the parsers with a final join.<B,C,D,E$,F$,G>
Parser<I,G,E>Parser. bind(Parser<I,B,E> pb, Parser<I,C,E> pc, Parser<I,D,E> pd, Parser<I,E$,E> pe, Parser<I,F$,E> pf, F<A,F<B,F<C,F<D,F<E$,F<F$,G>>>>>> f)
Binds the given function across the parsers with a final join.<B,C,D,E$,F$,G,H>
Parser<I,H,E>Parser. bind(Parser<I,B,E> pb, Parser<I,C,E> pc, Parser<I,D,E> pd, Parser<I,E$,E> pe, Parser<I,F$,E> pf, Parser<I,G,E> pg, F<A,F<B,F<C,F<D,F<E$,F<F$,F<G,H>>>>>>> f)
Binds the given function across the parsers with a final join.<B,C,D,E$,F$,G,H,I$>
Parser<I,I$,E>Parser. bind(Parser<I,B,E> pb, Parser<I,C,E> pc, Parser<I,D,E> pd, Parser<I,E$,E> pe, Parser<I,F$,E> pf, Parser<I,G,E> pg, Parser<I,H,E> ph, F<A,F<B,F<C,F<D,F<E$,F<F$,F<G,F<H,I$>>>>>>>> f)
Binds the given function across the parsers with a final join.static <E> Parser<Stream<java.lang.Character>,java.lang.Character,E>
Parser.CharsParser. character(E missing, F<java.lang.Character,E> sat, char c)
Returns a parser that produces the given character or fails otherwise.static <E> Parser<Stream<java.lang.Character>,java.lang.Character,E>
Parser.CharsParser. character(F0<E> missing, F<java.lang.Character,E> sat, char c)
Returns a parser that produces the given character or fails otherwise.static <E> Parser<Stream<java.lang.Character>,Stream<java.lang.Character>,E>
Parser.CharsParser. characters(E missing, F<java.lang.Character,E> sat, Stream<java.lang.Character> cs)
Returns a parser that produces the given stream of characters or fails otherwise.static <E> Parser<Stream<java.lang.Character>,Stream<java.lang.Character>,E>
Parser.CharsParser. characters(F0<E> missing, F<java.lang.Character,E> sat, Stream<java.lang.Character> cs)
Returns a parser that produces the given stream of characters or fails otherwise.static <E> Parser<Stream<java.lang.Character>,java.lang.Character,E>
Parser.CharsParser. defined(E missing, F<java.lang.Character,E> sat)
Returns a parser that produces a defined character.static <E> Parser<Stream<java.lang.Character>,java.lang.Character,E>
Parser.CharsParser. defined(F0<E> missing, F<java.lang.Character,E> sat)
Returns a parser that produces a defined character.static <E> Parser<Stream<java.lang.Character>,Digit,E>
Parser.CharsParser. digit(E missing, F<java.lang.Character,E> sat)
Returns a parser that produces a digit (0 to 9).static <E> Parser<Stream<java.lang.Character>,Digit,E>
Parser.CharsParser. digit(F0<E> missing, F<java.lang.Character,E> sat)
Returns a parser that produces a digit (0 to 9).Parser<I,A,E>
Parser. filter(F<A,java.lang.Boolean> f, E e)
Returns a parser that fails with the given error if the result value does not meet the given predicate.static <E> Parser<Stream<java.lang.Character>,java.lang.Character,E>
Parser.CharsParser. highSurrogate(E missing, F<java.lang.Character,E> sat)
Returns a parser that produces a high-surrogate character.static <E> Parser<Stream<java.lang.Character>,java.lang.Character,E>
Parser.CharsParser. highSurrogate(F0<E> missing, F<java.lang.Character,E> sat)
Returns a parser that produces a high-surrogate character.static <E> Parser<Stream<java.lang.Character>,java.lang.Character,E>
Parser.CharsParser. identifierIgnorable(E missing, F<java.lang.Character,E> sat)
Returns a parser that produces an identifier-ignorable character.static <E> Parser<Stream<java.lang.Character>,java.lang.Character,E>
Parser.CharsParser. identifierIgnorable(F0<E> missing, F<java.lang.Character,E> sat)
Returns a parser that produces an identifier-ignorable character.static <E> Parser<Stream<java.lang.Character>,java.lang.Character,E>
Parser.CharsParser. isoControl(E missing, F<java.lang.Character,E> sat)
Returns a parser that produces an ISO control character.static <E> Parser<Stream<java.lang.Character>,java.lang.Character,E>
Parser.CharsParser. isoControl(F0<E> missing, F<java.lang.Character,E> sat)
Returns a parser that produces an ISO control character.static <E> Parser<Stream<java.lang.Character>,java.lang.Character,E>
Parser.CharsParser. javaIdentifierPart(E missing, F<java.lang.Character,E> sat)
Returns a parser that produces a Java identifier part character.static <E> Parser<Stream<java.lang.Character>,java.lang.Character,E>
Parser.CharsParser. javaIdentifierPart(F0<E> missing, F<java.lang.Character,E> sat)
Returns a parser that produces a Java identifier part character.static <E> Parser<Stream<java.lang.Character>,java.lang.Character,E>
Parser.CharsParser. javaIdentifierStart(E missing, F<java.lang.Character,E> sat)
Returns a parser that produces a Java identifier start character.static <E> Parser<Stream<java.lang.Character>,java.lang.Character,E>
Parser.CharsParser. javaIdentifierStart(F0<E> missing, F<java.lang.Character,E> sat)
Returns a parser that produces a Java identifier start character.static <E> Parser<Stream<java.lang.Character>,java.lang.Character,E>
Parser.CharsParser. lower(E missing, F<java.lang.Character,E> sat)
Returns a parser that produces a lower-case character.static <E> Parser<Stream<java.lang.Character>,java.lang.Character,E>
Parser.CharsParser. lower(F0<E> missing, F<java.lang.Character,E> sat)
Returns a parser that produces a lower-case character.static <E> Parser<Stream<java.lang.Character>,java.lang.Character,E>
Parser.CharsParser. lowSurrogate(E missing, F<java.lang.Character,E> sat)
Returns a parser that produces a low-surrogate character.static <E> Parser<Stream<java.lang.Character>,java.lang.Character,E>
Parser.CharsParser. lowSurrogate(F0<E> missing, F<java.lang.Character,E> sat)
Returns a parser that produces a low-surrogate character.<B> Parser<I,B,E>
Parser. map(F<A,B> f)
Maps the given result type across this parser.<K> Parser<I,A,K>
Parser. mapError(F<E,K> f)
Maps the given function across this parser's error.<J> Result<J,A>
Result. mapRest(F<I,J> f)
Maps the given function across the remainder of the parse input.<B> Result<I,B>
Result. mapValue(F<A,B> f)
Maps the given function across the parse value.static <E> Parser<Stream<java.lang.Character>,java.lang.Character,E>
Parser.CharsParser. mirrored(E missing, F<java.lang.Character,E> sat)
Returns a parser that produces a mirrored character.static <E> Parser<Stream<java.lang.Character>,java.lang.Character,E>
Parser.CharsParser. mirrored(F0<E> missing, F<java.lang.Character,E> sat)
Returns a parser that produces a mirrored character.static <I,A,E>
Parser<I,A,E>Parser. parser(F<I,Validation<E,Result<I,A>>> f)
Returns a parser that computes using the given function.static <I,E>
Parser<Stream<I>,I,E>Parser.StreamParser. satisfy(E missing, F<I,E> sat, F<I,java.lang.Boolean> f)
Returns a parser that produces an element from the stream that satisfies the given predicate, or fails.static <I,E>
Parser<Stream<I>,I,E>Parser.StreamParser. satisfy(F0<E> missing, F<I,E> sat, F<I,java.lang.Boolean> f)
Returns a parser that produces an element from the stream that satisfies the given predicate, or fails.static <E> Parser<Stream<java.lang.Character>,java.lang.Character,E>
Parser.CharsParser. space(E missing, F<java.lang.Character,E> sat)
Returns a parser that produces a space character.static <E> Parser<Stream<java.lang.Character>,java.lang.Character,E>
Parser.CharsParser. space(F0<E> missing, F<java.lang.Character,E> sat)
Returns a parser that produces a space character.static <E> Parser<Stream<java.lang.Character>,java.lang.String,E>
Parser.CharsParser. string(E missing, F<java.lang.Character,E> sat, java.lang.String s)
Returns a parser that produces the given string or fails otherwise.static <E> Parser<Stream<java.lang.Character>,java.lang.String,E>
Parser.CharsParser. string(F0<E> missing, F<java.lang.Character,E> sat, java.lang.String s)
Returns a parser that produces the given string or fails otherwise.static <E> Parser<Stream<java.lang.Character>,java.lang.Character,E>
Parser.CharsParser. titleCase(E missing, F<java.lang.Character,E> sat)
Returns a parser that produces a title-case character.static <E> Parser<Stream<java.lang.Character>,java.lang.Character,E>
Parser.CharsParser. titleCase(F0<E> missing, F<java.lang.Character,E> sat)
Returns a parser that produces a title-case character.static <E> Parser<Stream<java.lang.Character>,java.lang.Character,E>
Parser.CharsParser. unicodeIdentiferPart(E missing, F<java.lang.Character,E> sat)
Returns a parser that produces a unicode identifier part character.static <E> Parser<Stream<java.lang.Character>,java.lang.Character,E>
Parser.CharsParser. unicodeIdentiferPart(F0<E> missing, F<java.lang.Character,E> sat)
Returns a parser that produces a unicode identifier part character.static <E> Parser<Stream<java.lang.Character>,java.lang.Character,E>
Parser.CharsParser. unicodeIdentiferStart(E missing, F<java.lang.Character,E> sat)
Returns a parser that produces a unicode identifier start character.static <E> Parser<Stream<java.lang.Character>,java.lang.Character,E>
Parser.CharsParser. unicodeIdentiferStart(F0<E> missing, F<java.lang.Character,E> sat)
Returns a parser that produces a unicode identifier start character.static <E> Parser<Stream<java.lang.Character>,java.lang.Character,E>
Parser.CharsParser. upper(E missing, F<java.lang.Character,E> sat)
Returns a parser that produces a upper-case character.static <E> Parser<Stream<java.lang.Character>,java.lang.Character,E>
Parser.CharsParser. upper(F0<E> missing, F<java.lang.Character,E> sat)
Returns a parser that produces a upper-case character.static <E> Parser<Stream<java.lang.Character>,java.lang.Character,E>
Parser.CharsParser. whitespace(E missing, F<java.lang.Character,E> sat)
Returns a parser that produces a white-space character.static <E> Parser<Stream<java.lang.Character>,java.lang.Character,E>
Parser.CharsParser. whitespace(F0<E> missing, F<java.lang.Character,E> sat)
Returns a parser that produces a white-space character.<Z> Parser<Z,A,E>
Parser. xmap(F<I,Z> f, F<Z,I> g)
Maps the parse input type through an invariant functor.Method parameters in fj.parser with type arguments of type F Modifier and Type Method Description <B> Parser<I,B,E>
Parser. apply(Parser<I,F<A,B>,E> p)
Performs function application within a parser.<B,C>
Parser<I,C,E>Parser. bind(Parser<I,B,E> pb, F<A,F<B,C>> f)
Binds the given function across the parsers with a final join.<B,C,D>
Parser<I,D,E>Parser. bind(Parser<I,B,E> pb, Parser<I,C,E> pc, F<A,F<B,F<C,D>>> f)
Binds the given function across the parsers with a final join.<B,C,D>
Parser<I,D,E>Parser. bind(Parser<I,B,E> pb, Parser<I,C,E> pc, F<A,F<B,F<C,D>>> f)
Binds the given function across the parsers with a final join.<B,C,D,E$>
Parser<I,E$,E>Parser. bind(Parser<I,B,E> pb, Parser<I,C,E> pc, Parser<I,D,E> pd, F<A,F<B,F<C,F<D,E$>>>> f)
Binds the given function across the parsers with a final join.<B,C,D,E$>
Parser<I,E$,E>Parser. bind(Parser<I,B,E> pb, Parser<I,C,E> pc, Parser<I,D,E> pd, F<A,F<B,F<C,F<D,E$>>>> f)
Binds the given function across the parsers with a final join.<B,C,D,E$>
Parser<I,E$,E>Parser. bind(Parser<I,B,E> pb, Parser<I,C,E> pc, Parser<I,D,E> pd, F<A,F<B,F<C,F<D,E$>>>> f)
Binds the given function across the parsers with a final join.<B,C,D,E$,F$>
Parser<I,F$,E>Parser. bind(Parser<I,B,E> pb, Parser<I,C,E> pc, Parser<I,D,E> pd, Parser<I,E$,E> pe, F<A,F<B,F<C,F<D,F<E$,F$>>>>> f)
Binds the given function across the parsers with a final join.<B,C,D,E$,F$>
Parser<I,F$,E>Parser. bind(Parser<I,B,E> pb, Parser<I,C,E> pc, Parser<I,D,E> pd, Parser<I,E$,E> pe, F<A,F<B,F<C,F<D,F<E$,F$>>>>> f)
Binds the given function across the parsers with a final join.<B,C,D,E$,F$>
Parser<I,F$,E>Parser. bind(Parser<I,B,E> pb, Parser<I,C,E> pc, Parser<I,D,E> pd, Parser<I,E$,E> pe, F<A,F<B,F<C,F<D,F<E$,F$>>>>> f)
Binds the given function across the parsers with a final join.<B,C,D,E$,F$>
Parser<I,F$,E>Parser. bind(Parser<I,B,E> pb, Parser<I,C,E> pc, Parser<I,D,E> pd, Parser<I,E$,E> pe, F<A,F<B,F<C,F<D,F<E$,F$>>>>> f)
Binds the given function across the parsers with a final join.<B,C,D,E$,F$,G>
Parser<I,G,E>Parser. bind(Parser<I,B,E> pb, Parser<I,C,E> pc, Parser<I,D,E> pd, Parser<I,E$,E> pe, Parser<I,F$,E> pf, F<A,F<B,F<C,F<D,F<E$,F<F$,G>>>>>> f)
Binds the given function across the parsers with a final join.<B,C,D,E$,F$,G>
Parser<I,G,E>Parser. bind(Parser<I,B,E> pb, Parser<I,C,E> pc, Parser<I,D,E> pd, Parser<I,E$,E> pe, Parser<I,F$,E> pf, F<A,F<B,F<C,F<D,F<E$,F<F$,G>>>>>> f)
Binds the given function across the parsers with a final join.<B,C,D,E$,F$,G>
Parser<I,G,E>Parser. bind(Parser<I,B,E> pb, Parser<I,C,E> pc, Parser<I,D,E> pd, Parser<I,E$,E> pe, Parser<I,F$,E> pf, F<A,F<B,F<C,F<D,F<E$,F<F$,G>>>>>> f)
Binds the given function across the parsers with a final join.<B,C,D,E$,F$,G>
Parser<I,G,E>Parser. bind(Parser<I,B,E> pb, Parser<I,C,E> pc, Parser<I,D,E> pd, Parser<I,E$,E> pe, Parser<I,F$,E> pf, F<A,F<B,F<C,F<D,F<E$,F<F$,G>>>>>> f)
Binds the given function across the parsers with a final join.<B,C,D,E$,F$,G>
Parser<I,G,E>Parser. bind(Parser<I,B,E> pb, Parser<I,C,E> pc, Parser<I,D,E> pd, Parser<I,E$,E> pe, Parser<I,F$,E> pf, F<A,F<B,F<C,F<D,F<E$,F<F$,G>>>>>> f)
Binds the given function across the parsers with a final join.<B,C,D,E$,F$,G,H>
Parser<I,H,E>Parser. bind(Parser<I,B,E> pb, Parser<I,C,E> pc, Parser<I,D,E> pd, Parser<I,E$,E> pe, Parser<I,F$,E> pf, Parser<I,G,E> pg, F<A,F<B,F<C,F<D,F<E$,F<F$,F<G,H>>>>>>> f)
Binds the given function across the parsers with a final join.<B,C,D,E$,F$,G,H>
Parser<I,H,E>Parser. bind(Parser<I,B,E> pb, Parser<I,C,E> pc, Parser<I,D,E> pd, Parser<I,E$,E> pe, Parser<I,F$,E> pf, Parser<I,G,E> pg, F<A,F<B,F<C,F<D,F<E$,F<F$,F<G,H>>>>>>> f)
Binds the given function across the parsers with a final join.<B,C,D,E$,F$,G,H>
Parser<I,H,E>Parser. bind(Parser<I,B,E> pb, Parser<I,C,E> pc, Parser<I,D,E> pd, Parser<I,E$,E> pe, Parser<I,F$,E> pf, Parser<I,G,E> pg, F<A,F<B,F<C,F<D,F<E$,F<F$,F<G,H>>>>>>> f)
Binds the given function across the parsers with a final join.<B,C,D,E$,F$,G,H>
Parser<I,H,E>Parser. bind(Parser<I,B,E> pb, Parser<I,C,E> pc, Parser<I,D,E> pd, Parser<I,E$,E> pe, Parser<I,F$,E> pf, Parser<I,G,E> pg, F<A,F<B,F<C,F<D,F<E$,F<F$,F<G,H>>>>>>> f)
Binds the given function across the parsers with a final join.<B,C,D,E$,F$,G,H>
Parser<I,H,E>Parser. bind(Parser<I,B,E> pb, Parser<I,C,E> pc, Parser<I,D,E> pd, Parser<I,E$,E> pe, Parser<I,F$,E> pf, Parser<I,G,E> pg, F<A,F<B,F<C,F<D,F<E$,F<F$,F<G,H>>>>>>> f)
Binds the given function across the parsers with a final join.<B,C,D,E$,F$,G,H>
Parser<I,H,E>Parser. bind(Parser<I,B,E> pb, Parser<I,C,E> pc, Parser<I,D,E> pd, Parser<I,E$,E> pe, Parser<I,F$,E> pf, Parser<I,G,E> pg, F<A,F<B,F<C,F<D,F<E$,F<F$,F<G,H>>>>>>> f)
Binds the given function across the parsers with a final join.<B,C,D,E$,F$,G,H,I$>
Parser<I,I$,E>Parser. bind(Parser<I,B,E> pb, Parser<I,C,E> pc, Parser<I,D,E> pd, Parser<I,E$,E> pe, Parser<I,F$,E> pf, Parser<I,G,E> pg, Parser<I,H,E> ph, F<A,F<B,F<C,F<D,F<E$,F<F$,F<G,F<H,I$>>>>>>>> f)
Binds the given function across the parsers with a final join.<B,C,D,E$,F$,G,H,I$>
Parser<I,I$,E>Parser. bind(Parser<I,B,E> pb, Parser<I,C,E> pc, Parser<I,D,E> pd, Parser<I,E$,E> pe, Parser<I,F$,E> pf, Parser<I,G,E> pg, Parser<I,H,E> ph, F<A,F<B,F<C,F<D,F<E$,F<F$,F<G,F<H,I$>>>>>>>> f)
Binds the given function across the parsers with a final join.<B,C,D,E$,F$,G,H,I$>
Parser<I,I$,E>Parser. bind(Parser<I,B,E> pb, Parser<I,C,E> pc, Parser<I,D,E> pd, Parser<I,E$,E> pe, Parser<I,F$,E> pf, Parser<I,G,E> pg, Parser<I,H,E> ph, F<A,F<B,F<C,F<D,F<E$,F<F$,F<G,F<H,I$>>>>>>>> f)
Binds the given function across the parsers with a final join.<B,C,D,E$,F$,G,H,I$>
Parser<I,I$,E>Parser. bind(Parser<I,B,E> pb, Parser<I,C,E> pc, Parser<I,D,E> pd, Parser<I,E$,E> pe, Parser<I,F$,E> pf, Parser<I,G,E> pg, Parser<I,H,E> ph, F<A,F<B,F<C,F<D,F<E$,F<F$,F<G,F<H,I$>>>>>>>> f)
Binds the given function across the parsers with a final join.<B,C,D,E$,F$,G,H,I$>
Parser<I,I$,E>Parser. bind(Parser<I,B,E> pb, Parser<I,C,E> pc, Parser<I,D,E> pd, Parser<I,E$,E> pe, Parser<I,F$,E> pf, Parser<I,G,E> pg, Parser<I,H,E> ph, F<A,F<B,F<C,F<D,F<E$,F<F$,F<G,F<H,I$>>>>>>>> f)
Binds the given function across the parsers with a final join.<B,C,D,E$,F$,G,H,I$>
Parser<I,I$,E>Parser. bind(Parser<I,B,E> pb, Parser<I,C,E> pc, Parser<I,D,E> pd, Parser<I,E$,E> pe, Parser<I,F$,E> pf, Parser<I,G,E> pg, Parser<I,H,E> ph, F<A,F<B,F<C,F<D,F<E$,F<F$,F<G,F<H,I$>>>>>>>> f)
Binds the given function across the parsers with a final join.<B,C,D,E$,F$,G,H,I$>
Parser<I,I$,E>Parser. bind(Parser<I,B,E> pb, Parser<I,C,E> pc, Parser<I,D,E> pd, Parser<I,E$,E> pe, Parser<I,F$,E> pf, Parser<I,G,E> pg, Parser<I,H,E> ph, F<A,F<B,F<C,F<D,F<E$,F<F$,F<G,F<H,I$>>>>>>>> f)
Binds the given function across the parsers with a final join.Constructors in fj.parser with parameters of type F Constructor Description Parser(F<I,Validation<E,Result<I,A>>> f)
-