CurryInfo: abstract-curry-4.0.0 / AbstractCurry.Build.simpleInstanceDecl

definition:
 
simpleInstanceDecl :: QName -> CTypeExpr -> [CFuncDecl] -> CInstanceDecl
simpleInstanceDecl qc te fdecls = CInstance qc (CContext []) [te] fdecls
demand:
 no demanded arguments
deterministic:
 deterministic operation
documentation:
 
Constructs a simple class instance for a given type and
without a class constraint. Thus, the instance definition has the form

    instance c ty where { ...;fundecl;... }
failfree:
 (_, _, _)
indeterministic:
 referentially transparent operation
infix:
 no fixity defined
iotype:
 {(_,_,_) |-> {CInstance}}
name:
 simpleInstanceDecl
precedence:
 no precedence defined
result-values:
 {CInstance}
signature:
 (String, String) -> AbstractCurry.Types.CTypeExpr
-> [AbstractCurry.Types.CFuncDecl] -> AbstractCurry.Types.CInstanceDecl
solution-complete:
 operationally complete operation
terminating:
 yes
totally-defined:
 reducible on all ground data terms