Email list hosting service & mailing list manager


Re: propositions, oppositions, and some minor details Andre van Tonder 14 Sep 2004 23:42 UTC

On Mon, 13 Sep 2004, Andre van Tonder wrote:

> (define-record-type node make-node #f (left #f #f) (right #f #f))

Another perhaps less ugly possibility would be to use the
placeholder symbol _, though it is an atom.  E.g. instead of

   (define-record-type point2          #f #f (x #f #f) (y #f #f))
   (define-record-type (point3 point2) #f #f (x #f #f) (y #f #f) (z #f #f))

we would write

   (define-record-type point2          _ _ (x _ _) (y _ _))
   (define-record-type (point3 point2) _ _ (x _ _) (y _ _) (z _ _))

Any votes?