CurryInfo: wl-pprint-3.0.0 / Text.Pretty.isEmpty

definition:
 
isEmpty :: Doc -> Bool
isEmpty (Doc d) = isEmptyText (d EOD)
 where isEmptyText t = case t of Empty EOD -> True
                                 _         -> False
demand:
 argument 1
deterministic:
 deterministic operation
documentation:
 
Is the document empty?
failfree:
 _
indeterministic:
 referentially transparent operation
infix:
 no fixity defined
iotype:
 {({Doc}) |-> {False,True}}
name:
 isEmpty
precedence:
 no precedence defined
result-values:
 {False,True}
signature:
 Text.PrettyImpl.Doc -> Prelude.Bool
solution-complete:
 operation might suspend on free variables
terminating:
 yes
totally-defined:
 reducible on all ground data terms