CurryInfo: ertools-3.0.0 / Database.ERD.Goodies.hasDefault

definition:
hasDefault :: Domain -> Bool
hasDefault (IntDom    d) = isJust d
hasDefault (FloatDom  d) = isJust d
hasDefault (StringDom d) = isJust d
hasDefault (BoolDom   d) = isJust d
hasDefault (DateDom   d) = isJust d
hasDefault (UserDefined _ d) = isJust d
demand:
argument 1
deterministic:
deterministic operation
documentation:
--- Has an attribute domain a default value?
failfree:
{BoolDom,DateDom,FloatDom,IntDom,StringDom,UserDefined}
indeterministic:
referentially transparent operation
infix:
no fixity defined
iotype:
{({IntDom}) |-> {False,True} || ({FloatDom}) |-> {False,True} || ({StringDom}) |-> {False,True} || ({BoolDom}) |-> {False,True} || ({DateDom}) |-> {False,True} || ({UserDefined}) |-> {False,True}}
name:
hasDefault
precedence:
no precedence defined
result-values:
{False,True}
signature:
Database.ERD.Domain -> Prelude.Bool
solution-complete:
operation might suspend on free variables
terminating:
yes
totally-defined:
possibly non-reducible on same data term