[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Chicken-users] Tinyclos - a bit disappointing for an ex-stklos user
From: |
Matthew Welland |
Subject: |
[Chicken-users] Tinyclos - a bit disappointing for an ex-stklos user |
Date: |
Wed, 13 Sep 2006 22:27:47 -0700 |
User-agent: |
KMail/1.8.3 |
Is there a formal reason why tinyclos can't have its own namespace for
methods? Or, is it just an implementation limitation?
In STklos I was used to doing the following:
(define-class <foo> ()
((bar :initform '())))
(define-method length ((self <foo>))
(length (slot-ref self 'bar)))
(define a (make <foo>))
(length a) => 0
(define b '(1 2 3))
(length b) => 3
Which, IMHO was very nice. No such luck with Tinyclos.
Matt
--
- [Chicken-users] Tinyclos - a bit disappointing for an ex-stklos user,
Matthew Welland <=