factor/core/classes
Doug Coleman 3507b9bad7 classes:
- Allow methods to dispatch off union{ } and intersection{ } classes.
- Add not{ } anonymous-complement syntax.
- Define class-name for anonymous-union/intersection/complement and maybes, and clean up pprint.
- Change maybe: foo to maybe{ foo }
- Call sort-classes when making anonymous-union/anonymous-intersection classes so that they are canonicalized.
2012-05-03 19:45:30 -07:00
..
algebra classes: 2012-05-03 19:45:30 -07:00
builtin 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
intersection classes: 2012-05-03 19:45:30 -07:00
maybe classes: 2012-05-03 19:45:30 -07:00
mixin Rename lookup to lookup-word. 2011-11-06 16:00:00 -08:00
parser Refactor the lexer/parser to expose friendlier words for scanning tokens. The preferred top-level words now throw an exception on EOF. 2011-09-29 11:28:28 -07:00
predicate classes.union: Define a maybe: word that makes a tuple that acts as an anonymous union for a type and f. Updated all the places we define UNION: ?foo foo POSTPONE: f ;. Fixes #416 and lots of headaches. 2011-11-22 01:56:13 -08:00
singleton classes.union: Define a maybe: word that makes a tuple that acts as an anonymous union for a type and f. Updated all the places we define UNION: ?foo foo POSTPONE: f ;. Fixes #416 and lots of headaches. 2011-11-22 01:56:13 -08:00
tuple classes: add syntax for intersection{ and union{ anonymous classes. make classoid a mixin. 2011-11-22 18:49:42 -08:00
union classes: 2012-05-03 19:45:30 -07:00
authors.txt
classes-docs.factor Rename class to class-of 2011-10-24 06:47:42 -05:00
classes-tests.factor classes: remove fragile unit test 2010-08-21 18:10:09 -07:00
classes.factor using reverse! when possible. 2012-04-25 20:09:36 -07:00
summary.txt
tags.txt