|
definition: |
preloadedFuncDecls :: [FuncDecl]
preloadedFuncDecls =
[Func (pre "id") 1 Public
(FuncType (TVar 0) (TVar 0))
(Rule [1] (Var 1)),
Func (pre "not") 1 Public
(FuncType fcBool fcBool)
(Rule [1] (Case Flex (Var 1)
[Branch (Pattern (pre "True") [] ) fcFalse,
Branch (Pattern (pre "False") []) fcTrue])),
Func (pre "null") 1 Public
(FuncType (fcList (TVar 0)) fcBool)
(Rule [1] (Case Flex (Var 1)
[Branch (Pattern (pre "[]") []) fcTrue,
Branch (Pattern (pre ":") [2,3]) fcFalse]))
]
|
|
demand: |
no demanded arguments |
|
deterministic: |
deterministic operation |
|
documentation: |
Pre-loaded operations from the prelude to avoid reading the prelude for simple operations. |
|
failfree: |
() |
|
indeterministic: |
referentially transparent operation |
|
infix: |
no fixity defined |
|
iotype: |
{() |-> {:}}
|
|
name: |
preloadedFuncDecls |
|
precedence: |
no precedence defined |
|
result-values: |
{:}
|
|
signature: |
[FlatCurry.Types.FuncDecl] |
|
solution-complete: |
operationally complete operation |
|
terminating: |
yes |
|
totally-defined: |
reducible on all ground data terms |