This is the mail archive of the
guile@sourceware.cygnus.com
mailing list for the Guile project.
Re: Simple example program to illustrate Goops
- To: guile at sourceware dot cygnus dot com
- Subject: Re: Simple example program to illustrate Goops
- From: Neil Jerram <neil at ossau dot uklinux dot net>
- Date: Sun, 30 Jan 2000 20:51:47 GMT
- References: <20000129203708.28776.qmail@web1802.mail.yahoo.com>
Julien Rousseau writes:
While reading the tutorial it said that it was an OO
system that is like CLOS but adapted to Guile/Scheme,
do you think I could find what I am looking for in a
common Lisp program using a CLOS system? Given that my
only experience with Lisp is Scheme (by SICP and
Guile) and that my only experience in functional
programming is Scheme and Caml (a ML family language
that is quite cool I think), do you thiunk it would be
hard for me to understand a CL program (I have heard
that it is quite big)???
I'm afraid I don't really know, as I have virtually no experience in
CLOS. Others on the list should know, though...
> Ok, let me comment it to see if I have understood
> goops correctly.
>
> Thank you for the compliment!
Don't take it personally but it wasn't a compliment,
if I would have done one I would have said "Thanks,
it's a great example" or something like that ;)
Understood.
> do you mind if I keep them in my source code? ---
Not at all, and I take it as another compliment.
Thanks.
> 2. mkpath is like mkdir, except that it creates all
> the required
> intervening directories:
So it's a little bit different from mkdir -p givne
that mkdir -p just create directories (at least under
OSF1)
I didn't know about mkdir -p before. mkpath also only creates
directories, like mkdir -p, but it ignores any part of its argument
after the last occurring slash.
And I find it more easy to understand than map, just
because the name "for-each" is easier to understand
even for somebody that never saw it before (IMHO).
Yes, I agree, now that I know about it!
Regards,
Neil