This is the mail archive of the guile@sourceware.cygnus.com mailing list for the Guile project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: GOOPS: New syntax for `define-method'?


Ole Myren Rohne <ole.rohne@cern.ch> writes:

> Initial idea: 
> No way, you cannot use anything but a single symbol for "name"!
> 
> Check before screaming:
> guile> (define ((test x) y) (* x y))
> guile> ((test 3) 4)
> 12

Buh-link?!

I had no idea this worked. And I was really talking about
-application- evaluation.

As in, ((lambda (x) x) 4) -> 4

-- 
How to eff the ineffable?

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]