Uses of Class
fj.P6

Packages that use P6
Package
Description
Types that set the premise for the existence of Functional Java.
Common algebraic data types.
Fixed-length vectors
  • Uses of P6 in fj

    Methods in fj that return P6
    Modifier and Type
    Method
    Description
    final <C, D, E, F>
    P6<A,B,C,D,E,F>
    P2.append(P4<C,D,E,F> el)
    Creates a P6 by adding the given element to the current P2
    final <D, E, F> P6<A,B,C,D,E,F>
    P3.append(P3<D,E,F> el)
    Creates a P6 by adding the given element to the current P3
    final <E, F> P6<A,B,C,D,E,F>
    P4.append(P2<E,F> el)
    Creates a P6 by adding the given element to the current P4
    final <F> P6<A,B,C,D,E,F>
    P5.append(F el)
    Creates a P6 by adding the given element to the current P5
    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>
    P6<A,B,C,D,E,F>
    P.lazy(F0<A> pa, F0<B> pb, F0<C> pc, F0<D> pd, F0<E> pe, F0<F> pf)
     
    final <X> P6<X,B,C,D,E,F>
    P6.map1(F<A,X> f)
    Map the first element of the product.
    final <X> P6<A,X,C,D,E,F>
    P6.map2(F<B,X> f)
    Map the second element of the product.
    final <X> P6<A,B,X,D,E,F>
    P6.map3(F<C,X> f)
    Map the third element of the product.
    final <X> P6<A,B,C,X,E,F>
    P6.map4(F<D,X> f)
    Map the fourth element of the product.
    final <X> P6<A,B,C,D,X,F>
    P6.map5(F<E,X> f)
    Map the fifth element of the product.
    final <X> P6<A,B,C,D,E,X>
    P6.map6(F<F,X> f)
    Map the sixth element of the product.
    final P6<A,B,C,D,E,F>
    P6.memo()
    Provides a memoising P6 that remembers its values.
    static <A, B, C, D, E, F$>
    P6<A,B,C,D,E,F$>
    P.p(A a, B b, C c, D d, E e, F$ f)
    A function that puts elements in a product-6.
    Methods in fj that return types with arguments of type P6
    Modifier and Type
    Method
    Description
    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$>
    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$>
    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$>
    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$>
    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$>
    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$>
    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$>
    Equal<P6<A,B,C,D,E,F$>>
    Equal.p6Equal(Equal<A> ea, Equal<B> eb, Equal<C> ec, Equal<D> ed, Equal<E> ee, Equal<F$> ef)
    An equal instance for a product-6.
    static <A, B, C, D, E, F$>
    Hash<P6<A,B,C,D,E,F$>>
    Hash.p6Hash(Hash<A> ha, Hash<B> hb, Hash<C> hc, Hash<D> hd, Hash<E> he, Hash<F$> hf)
    A hash instance for a product-6.
    static <A, B, C, D, E, F$>
    Show<P6<A,B,C,D,E,F$>>
    Show.p6Show(Show<A> sa, Show<B> sb, Show<C> sc, Show<D> sd, Show<E> se, Show<F$> sf)
    A show instance for the tuple-6 type.
    Methods in fj with parameters of type P6
    Modifier and Type
    Method
    Description
    final <C, D, E, F, G, H>
    P8<A,B,C,D,E,F,G,H>
    P2.append(P6<C,D,E,F,G,H> el)
    Creates a P8 by adding the given element to the current P2
  • Uses of P6 in fj.data

    Methods in fj.data that return types with arguments of type P6
    Modifier and Type
    Method
    Description
    final <B, C, D, E, F$>
    Option<P6<A,B,C,D,E,F$>>
    Option.bindProduct(Option<B> ob, Option<C> oc, Option<D> od, Option<E> oe, Option<F$> of)
     
  • Uses of P6 in fj.data.vector

    Methods in fj.data.vector that return P6
    Modifier and Type
    Method
    Description
    P6<A,A,A,A,A,A>
    V6.p()
    Returns a homogeneous product-6 equivalent to this vector.
    Methods in fj.data.vector that return types with arguments of type P6
    Modifier and Type
    Method
    Description
    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.
    Methods in fj.data.vector with parameters of type P6
    Modifier and Type
    Method
    Description
    static <A> V6<A>
    V6.p(P6<A,A,A,A,A,A> p)
    Creates a vector-6 from a homogeneous product-6.