jfun.jaskell
Class Predefined

java.lang.Object
  extended byjfun.jaskell.Predefined

public final class Predefined
extends java.lang.Object

This class provides the predefined function combinators.

Author:
Ben Yu Jan 7, 2005

Constructor Summary
Predefined()
           
 
Method Summary
static Function f_comp(java.lang.String name)
          Get the compose combinator.
static Function f_const(java.lang.String name)
          Get the const combinator.
static Function f_flip(java.lang.String name)
          Get the flip combinator.
static Function f_id(java.lang.String name)
          Get the id combinator.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Predefined

public Predefined()
Method Detail

f_comp

public static Function f_comp(java.lang.String name)
Get the compose combinator.

Parameters:
name - the function name.
Returns:
the function.

f_flip

public static Function f_flip(java.lang.String name)
Get the flip combinator.

Parameters:
name - the function name.
Returns:
the function.

f_const

public static Function f_const(java.lang.String name)
Get the const combinator.

Parameters:
name - the function name.
Returns:
the function.

f_id

public static Function f_id(java.lang.String name)
Get the id combinator.

Parameters:
name - the function name.
Returns:
the function.