procgen  fail.scm at [c572c01910]

File lib/fail.scm artifact 112daec7b2 part of check-in c572c01910


; [ʞ] fail.scm
; generates pretty error messages

(define (fail . msg)
	(display (string-append "\x1b[1;31m - err.\x1b[0m " 
							(apply string-append msg)))
	(exit 1))
(define (fail:sym s)
  (fail "bad form \x1b[3;36m'" (symbol->string s) "\x1b[0m"))