[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: guile-gnome changes
From: |
Andreas Rottmann |
Subject: |
Re: guile-gnome changes |
Date: |
Wed, 11 Feb 2004 19:06:06 +0100 |
User-agent: |
Gnus/5.1006 (Gnus v5.10.6) Emacs/21.3 (gnu/linux) |
Andy Wingo <address@hidden> writes:
> A brief note of changes in CVS:
>
> * You can define new enums and flags types by subclassing <genum> or
> <gflags>.
>
> (define-class <foo-enum> (<genum>)
> #:vtable #((one "One" 1) (two "Two" 2)))
>
Nice!
> * Documentation for guile-gnome is now done in texinfo. I haven't tried
> making info files yet, I just use a script to make the docs in
> http://ambient.2y.net/tmp/guile-gnome/docs/tutorial/. Info sucks ;)
>
Well, I like it, since it nicely integrates into Emacs ;-)
> * You can pass either <gtype> or <gtype-class> instances to make a
> closure. Together with the enum fixes, this pretty much banishes the
> need for GType from the non-primitive API. Some work needs to happen
> on signals to finish this out.
>
> Interpreted languages don't need types and classes; the classes are the
> types. This realization could lead to a rethinking of our confused
> primitives/nonprimitives distinction. Dunno, though.
>
Yes, I always wondered what is so primitive about our primitives
;-). Do you know the rationale between the distinction? I never quite
got it.
Cheers, Rotty
--
Andreas Rottmann | address@hidden | address@hidden | address@hidden
http://yi.org/rotty | GnuPG Key: http://yi.org/rotty/gpg.asc
Fingerprint | DFB4 4EB4 78A4 5EEE 6219 F228 F92F CFC5 01FD 5B62
Make free software, not war!