Doug Coleman
|
64bbd248d5
|
classes.maybe: Change the type of maybe's class slot. As a result, maybe: maybe: integer is valid now, so fix the unit tests and its prettyprinting.
|
2011-11-23 01:43:02 -08:00 |
Doug Coleman
|
0700dca792
|
classes.maybe: make maybe's slot type a classoid so you can do maybe: union{ }. Fix prettyprinting of anonymous-union/intersection. Fixes #427, fixes #428.
|
2011-11-23 01:19:09 -08:00 |
Doug Coleman
|
f90bc5cdb6
|
classes: optimize instance? for classoids
|
2011-11-22 20:38:07 -08:00 |
Doug Coleman
|
82c5388f68
|
classes: add syntax for intersection{ and union{ anonymous classes. make classoid a mixin.
|
2011-11-22 18:49:42 -08:00 |
Doug Coleman
|
cab0369fec
|
classes: Make methods dispatch on maybes. Fix a couple bugs in the implementation of maybe. classoid? is now a dumb test if an object could be a well-formed classoid; valid-classoid? tests for well-formedness. Move maybe tests. Make pprint* work better on methods.
|
2011-11-22 15:12:20 -08:00 |
Doug Coleman
|
fac17c10ba
|
classes.maybe: move maybe definition from classes.union to classes.maybe
|
2011-11-22 02:46:36 -08:00 |