1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556 |
- ; Part of Scheme 48 1.9. See file COPYING for notices and license.
- ; Authors: Richard Kelsey, Jonathan Rees
- ; The types.
- (define :syntax
- (loophole :type syntax-type))
- (define :values
- (loophole :type any-values-type))
- (define :arguments
- (loophole :type any-arguments-type))
- (define :value
- (loophole :type value-type))
- (define procedure
- (loophole (proc (:type :type) :type)
- (lambda (dom cod) (procedure-type dom cod #t))))
- ; Use the definitions of PROC and SOME-VALUES from the meta-types module
- ; Various base types
- (define :boolean (loophole :type boolean-type))
- (define :char (loophole :type char-type))
- (define :null (loophole :type null-type))
- (define :unspecific (loophole :type unspecific-type))
- (define :number (loophole :type number-type))
- (define :complex (loophole :type complex-type))
- (define :real (loophole :type real-type))
- (define :rational (loophole :type rational-type))
- (define :integer (loophole :type integer-type))
- (define :exact-integer (loophole :type exact-integer-type))
- (define :pair (loophole :type pair-type))
- (define :string (loophole :type string-type))
- (define :symbol (loophole :type symbol-type))
- (define :vector (loophole :type vector-type))
- (define :procedure (loophole :type any-procedure-type))
- ; Temporary
- (define :input-port :value)
- (define :output-port :value)
- (define :error (loophole :type error-type))
- (define :escape (loophole :type escape-type))
- (define :structure (loophole :type structure-type))
- (define :type (loophole :type value-type))
|