CurryInfo: currypp-3.2.0 / CPP.ICode.TransICode.formatErrors

definition: Info
 
formatErrors :: [PError] -> IO _
formatErrors [] =
  error "Internal error in 'TransICode.formatErrors': No errors in list!"
formatErrors es@(e1:_) = do
  hPutStrLn stderr $ "\nERRORS in " ++ getFilename (getPErrorPos e1) ++ ":"
                                    ++ concatMap formatErr es
  error "Failure during preprocessing of Curry source file!"
 where
  formatErr :: PError -> String
  formatErr e = "\n" ++ "Line " ++ show (getLn (getPErrorPos e))
                     ++ " Col " ++ show (getCol (getPErrorPos e))
                     ++ ": "   ++ getPErrorMsg e
demand: Info
 argument 1
deterministic: Info
 deterministic operation
documentation: Info
 
Formatting and terminating with Errors
failfree: Info
 _
indeterministic: Info
 referentially transparent operation
infix: Info
 no fixity defined
iotype: Info
 {({:}) |-> _}
name: Info
 formatErrors
precedence: Info
 no precedence defined
result-values: Info
 _
signature: Info
 [CPP.ICode.ParseError.PError] -> Prelude.IO a
solution-complete: Info
 operation might suspend on free variables
terminating: Info
 possibly non-terminating
totally-defined: Info
 possibly non-reducible on same data term