;;; ;;; Time-stamp: <06/03/11 12:09:11 noel> ;;; ;;; Copyright (C) 2005 by Noel Welsh. ;;; ;;; This library is free software; you can redistribute it ;;; and/or modify it under the terms of the GNU Lesser ;;; General Public License as published by the Free Software ;;; Foundation; either version 2.1 of the License, or (at ;;; your option) any later version. ;;; This library is distributed in the hope that it will be ;;; useful, but WITHOUT ANY WARRANTY; without even the ;;; implied warranty of MERCHANTABILITY or FITNESS FOR A ;;; PARTICULAR PURPOSE. See the GNU Lesser General Public ;;; License for more details. ;;; You should have received a copy of the GNU Lesser ;;; General Public License along with this library; if not, ;;; write to the Free Software Foundation, Inc., 59 Temple ;;; Place, Suite 330, Boston, MA 02111-1307 USA ;;; Author: Noel Welsh <noelwelsh@yahoo.com> ;; ;; ;; Commentary: ;; struct check-info : symbol any (define-struct check-info (name value)) (define (make-check-name name) (make-check-info 'name name)) (define (make-check-params params) (make-check-info 'params params)) (define (make-check-location stx) (make-check-info 'location stx)) (define (make-check-expression msg) (make-check-info 'expression msg)) (define (make-check-message msg) (make-check-info 'message msg)) (define (check-name? info) (eq? (check-info-name info) 'name)) (define (check-params? info) (eq? (check-info-name info) 'params)) (define (check-location? info) (eq? (check-info-name info) 'location)) (define (check-expression? info) (eq? (check-info-name info) 'expression)) (define (check-message? info) (eq? (check-info-name info) 'message))