|
definition: |
infoOfCons :: [(QName,ConsInfo)] -> QName -> ConsInfo
infoOfCons consinfos qc@(mn,cn) =
maybe (error $ "No info for constructor '" ++ mn ++ "." ++ cn ++ "' found!")
id
(lookup qc consinfos)
|
|
demand: |
arguments 1 2 |
|
deterministic: |
deterministic operation |
|
documentation: |
Gets the the information about a given constructor name. |
|
failfree: |
(_, _) |
|
indeterministic: |
referentially transparent operation |
|
infix: |
no fixity defined |
|
iotype: |
{(_,{(,)}) |-> _}
|
|
name: |
infoOfCons |
|
precedence: |
no precedence defined |
|
result-values: |
_ |
|
signature: |
[((String, String), (Prelude.Int, ConsType, [((String, String), Prelude.Int)]))] -> (String, String) -> (Prelude.Int, ConsType, [((String, String), Prelude.Int)]) |
|
solution-complete: |
operation might suspend on free variables |
|
terminating: |
possibly non-terminating |
|
totally-defined: |
possibly non-reducible on same data term |