Package fj.function


package fj.function
A prelude of commonly used first-class functions
  • Class
    Description
    Curried functions over Integers.
    Curried logical functions.
    First-class functions on Characters.
    Curried functions over Doubles.
     
     
    Effect2<A,B>
     
    Effect3<A,B,C>
     
    Effect4<A,B,C,D>
     
    Effect5<A,B,C,D,E>
     
    Effect6<A,B,C,D,E,F>
     
    Effect7<A,B,C,D,E,F,G>
     
    Effect8<A,B,C,D,E,F,G,H>
     
    Curried functions over Integers.
    Curried functions over Longs.
    Curried string functions.
    Try0<A,Z extends Exception>
    A product of A which may throw an Exception.
    Try1<A,B,Z extends Exception>
    A transformation function from A to B that may throw an Exception.
    Try2<A,B,C,Z extends Exception>
    A transformation function of arity-2 from A and B to C that may throw an Exception.
    Try3<A,B,C,D,Z extends Exception>
    A transformation function of arity-3 from A, B and C to D that may throw an Exception.
    Try4<A,B,C,D,E,Z extends Exception>
    A transformation function of arity-4 from A, B, C and D to E that may throw an Exception.
    Try5<A,B,C,D,E,F,Z extends Exception>
    A transformation function of arity-5 from A, B, C, D and E to F that may throw an Exception.
    Try6<A,B,C,D,E,F,G,Z extends Exception>
    A transformation function of arity-6 from A, B, C, D, E and F to G that may throw an Exception.
    Try7<A,B,C,D,E,F,G,H,Z extends Exception>
    A transformation function of arity-7 from A, B, C, D, E, F and G to H that may throw an Exception.
    Try8<A,B,C,D,E,F,G,H,I,Z extends Exception>
    A transformation function of arity-8 from A, B, C, D, E, F, G and H to I that may throw an Exception.
     
    TryEffect1<A,Z extends Exception>
     
    TryEffect2<A,B,Z extends Exception>
     
    TryEffect3<A,B,C,Z extends Exception>
     
    TryEffect4<A,B,C,D,Z extends Exception>
     
    TryEffect5<A,B,C,D,E,Z extends Exception>
     
    TryEffect6<A,B,C,D,E,F,Z extends Exception>
     
    TryEffect7<A,B,C,D,E,F,G,Z extends Exception>
     
    TryEffect8<A,B,C,D,E,F,G,H,Z extends Exception>
     
    The essence of the visitor design pattern expressed polymorphically.