CurryInfo: stylechecker-2.0.0 / Check.AST.TopLevel.BlankLines.noBlank

definition:
noBlank :: SpanInfo -> Decl a -> CSM ()
noBlank sI decl = do
  let sID = getSpanInfo decl
  unless (getEndLi sI == getEndLi sID)
          (report (Message
                    (getSpan sI)
                    ( colorizeKey "blank line(s)"
                      <+> text "at the end of"
                      <+> colorizeKey "module"
                    )
                    (text "delete superfluous blank line(s) at end of module" )
                  )
          )
demand:
no demanded arguments
deterministic:
deterministic operation
documentation:
-- Not used yet, checks for "trailing blanklines".
--
-- Because the curry frontend does not account for 
-- trailing blank lines in module spans,
-- this check seems to be unnecessary and should removed in the future.
failfree:
<FAILING>
indeterministic:
referentially transparent operation
infix:
no fixity defined
iotype:
{(_,_) |-> _}
name:
noBlank
precedence:
no precedence defined
result-values:
_
signature:
Curry.SpanInfo.SpanInfo -> Curry.Types.Decl a
-> Control.Monad.Trans.State.StateT Types.CheckState Data.Functor.Identity.Identity ()
solution-complete:
operation might suspend on free variables
terminating:
possibly non-terminating
totally-defined:
possibly non-reducible on same data term