Changeset 269


Ignore:
Timestamp:
Jan 13, 2004, 4:43:58 PM (21 years ago)
Author:
Gary Byers
Message:

New CTYPEs for negation, intersection.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/ccl/library/lispequ.lisp

    r171 r269  
    445445)
    446446
    447 ;;; The Hairy-ctype represents anything too wierd to be described reasonably or
    448 ;;; to be useful, such as AND, NOT and SATISFIES and unknown types.  We just
    449 ;;; remember the original type spec.
     447;;; The Hairy-ctype represents anything too wierd to be described
     448;;; reasonably or to be useful, such as SATISFIES.  We just remember
     449;;; the original type spec.
    450450;;;
    451451
     
    542542  union-ctype-types
    543543)
     544
     545; INTERSECTION-ctype is a direct subclass of CTYPE.
     546(def-accessors (intersection-ctype) %svref
     547  nil                                   ; 'intersection-ctype
     548  nil                                   ; ctype-class-info           
     549  nil                                   ; ctype-enumerable
     550  ;;
     551  ;; The types in the intersection
     552  intersection-ctype-types
     553)
     554
     555(def-accessors (negation-ctype) %svref
     556  nil                                   ; 'negation-ctype
     557  nil                                   ; ctype-class-info           
     558  nil                                   ; ctype-enumerable
     559  ;; The type of what we're not:
     560  negation-ctype-type
     561  )
     562 
     563
     564
    544565
    545566; It'd be nice to integrate "foreign" types into the type system
Note: See TracChangeset for help on using the changeset viewer.