|
definition: |
isDeclData :: Command -> Bool isDeclData cmd = case cmd of DeclareDatatype _ _ -> True DeclareDatatypes _ -> True _ -> False |
|
demand: |
argument 1 |
|
deterministic: |
deterministic operation |
|
documentation: |
Is given SMT-LIB command a declaration of an algebraic data type |
|
failfree: |
_ |
|
indeterministic: |
referentially transparent operation |
|
infix: |
no fixity defined |
|
iotype: |
{({DeclareDatatype}) |-> {True} || ({DeclareDatatypes}) |-> {True} || ({Assert}) |-> _ || ({CheckSat}) |-> _ || ({CheckSatAssuming}) |-> _ || ({DeclareConst}) |-> _ || ({DeclareFun}) |-> _ || ({DeclareSort}) |-> _ || ({DefineFun}) |-> _ || ({DefineFunRec}) |-> _ || ({DefineFunsRec}) |-> _ || ({DefineSort}) |-> _ || ({Echo}) |-> _ || ({Exit}) |-> _ || ({GetAssertions}) |-> _ || ({GetAssignment}) |-> _ || ({GetInfo}) |-> _ || ({GetModel}) |-> _ || ({GetOption}) |-> _ || ({GetProof}) |-> _ || ({GetUnsatAssumptions}) |-> _ || ({GetUnsatCore}) |-> _ || ({GetValue}) |-> _ || ({Pop}) |-> _ || ({Push}) |-> _ || ({Reset}) |-> _ || ({ResetAssertions}) |-> _ || ({SetInfo}) |-> _ || ({SetLogic}) |-> _ || ({SetOption}) |-> _ || ({Comment}) |-> _}
|
|
name: |
isDeclData |
|
precedence: |
no precedence defined |
|
result-values: |
{False,True}
|
|
signature: |
Language.SMTLIB.Types.Command -> Prelude.Bool |
|
solution-complete: |
operation might suspend on free variables |
|
terminating: |
yes |
|
totally-defined: |
reducible on all ground data terms |