error-util.scm 394 B

1234567891011121314
  1. ; Copyright (c) 1993-2007 by Richard Kelsey and Jonathan Rees. See file COPYING.
  2. (define (error? status)
  3. (not (eq? status (enum errors no-errors))))
  4. (define (write-error-string string)
  5. (write-string string (current-error-port)))
  6. (define (write-error-integer integer)
  7. (write-integer integer (current-error-port)))
  8. (define (error-newline)
  9. (write-char #\newline (current-error-port)))