|
definition: |
parseTarget :: String -> Maybe PPTarget
parseTarget t | t == "foreigncode" = Just ForeignCode
| t == "defaultrules" = Just DefaultRules
| t == "contracts" = Just Contracts
| otherwise = Nothing
|
|
demand: |
argument 1 |
|
deterministic: |
deterministic operation |
|
indeterministic: |
referentially transparent operation |
|
infix: |
no fixity defined |
|
iotype: |
{(_) |-> {Just,Nothing}}
|
|
name: |
parseTarget |
|
precedence: |
no precedence defined |
|
result-values: |
{Just,Nothing}
|
|
signature: |
String -> Prelude.Maybe PPTarget |
|
solution-complete: |
operation might suspend on free variables |
|
terminating: |
possibly non-terminating |
|
totally-defined: |
possibly non-reducible on same data term |