This is the mail archive of the
mailing list for the Guile project.
Re: more module system wishlist blathering
Jost Boekemeier <email@example.com.TU-Berlin.DE> writes:
> New #x things? I am still working with guile 1999-08-10, so
> I am not quite up to date. What is that?
not anything new. example (from ice-9/boot-9.scm):
;;; Reader code for various "#c" forms.
(read-hash-extend #\' (lambda (c port)
(read-hash-extend #\. (lambda (c port)
(eval (read port))))
sorry for muddy wording.
> > > generic functions are only a special form of generics. What we
> > > really need are generic classes.
> > what's that? any references?
> Generics in the OO sense. See Meyer's book "Object Oriented Software
> For example BinaryTree[Integer] or BinaryTree[Real] or Wheel[Number].
> You take a (abstract) class, parameterize it with one or more other
> classes and obtain "real" classes like IntegerBinaryTree, a 4 Wheels
> class and so on.
um. but you have the capability to do exactly that, since GOOPS
classes are first class values.
(make-binary-tree-class 'integer)) ; or something.
All ITS machines now have hardware for a new machine instruction --
Set to Self.
Please update your programs.