Package | Description |
---|---|
jfun.jaskell |
Provides classes and interfaces for compiling and running jaskell code.
|
jfun.jaskell.function |
Provides classes and interfaces for jaskell function object.
|
jfun.jaskell.shell |
Provides shell for interactive and batch interpretation.
|
jfun.jaskell.sql |
Modifier and Type | Class and Description |
---|---|
class |
StrictFunction1
extend this class to provide a strict function implementation.
|
class |
StrictFunction2
extend this class to provide a strict function implementation.
|
class |
StrictFunction3
extend this class to provide a strict function implementation.
|
class |
StrictFunction4
extend this class to provide a strict function implementation.
|
class |
StrictFunction5
extend this class to provide a strict function implementation.
|
Modifier and Type | Method and Description |
---|---|
static Function |
Predefined.f_comp(java.lang.String name)
Get the compose combinator.
|
static Function |
Predefined.f_const(java.lang.String name)
Get the const combinator.
|
static Function |
Predefined.f_flip(java.lang.String name)
Get the flip combinator.
|
static Function |
Predefined.f_id(java.lang.String name)
Get the id combinator.
|
Modifier and Type | Method and Description |
---|---|
Jaskell |
Jaskell.addMethod(java.lang.Class type,
java.lang.String name,
Function f)
Add a function whose name is local to a certain object type.
|
Tuple |
Tuple.addStrictFunction(java.lang.Object name,
Function f)
Add a strict function to this tuple as a member.
|
Jaskell |
Jaskell.importStrictFunction(java.lang.String fullname,
Function f)
Import a Java Function.
|
Modifier and Type | Class and Description |
---|---|
class |
DelegatingFunction |
class |
Function1
Default implementation of Function.
|
class |
Function2
Default implementation of Function.
|
class |
Function3
Default implementation of Function.
|
class |
Function4
Default implementation of Function.
|
class |
Function5
Default implementation of Function.
|
class |
FunctionN
Provide function implementation with n parameters.
|
Modifier and Type | Method and Description |
---|---|
Function |
DelegatingFunction.alone() |
static Function |
FunctionN.getFunction(int total,
LamdaN lamdan)
adapt a LamdaN object to a Function object by providing currying
(partial application).
|
Constructor and Description |
---|
DelegatingFunction(Function f) |
Modifier and Type | Method and Description |
---|---|
static Function |
ShellFunctions.fork(java.io.PrintStream out,
java.io.PrintStream err,
java.lang.String name)
Create a function that can run an operating system command in a sub-process.
|
static Function |
ShellFunctions.fork(java.io.PrintStream out,
java.lang.String name)
Create a function that can run an operating system command in a sub-process.
|
static Function |
ShellFunctions.fork(java.io.PrintWriter out,
java.io.PrintWriter err,
java.lang.String name)
Create a function that can run an operating system command in a sub-process.
|
static Function |
ShellFunctions.fork(java.io.PrintWriter out,
java.lang.String name)
Create a function that can run an operating system command in a sub-process.
|
Modifier and Type | Method and Description |
---|---|
static Function |
Sql.f_sql(java.lang.String name) |