Download Firefox: WindowsMac OS X
logo       
Google Custom Search
    AddThis Social Bookmark Button

[ sisc-Bugs-1477206 ] Working example of using oo library: msg#00017

Subject: [ sisc-Bugs-1477206 ] Working example of using oo library
Bugs item #1477206, was opened at 2006-04-27 00:18
Message generated for change (Tracker Item Submitted) made by Item Submitter
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=379534&aid=1477206&group_id=23735

Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: None
Group: None
Status: Open
Resolution: None
Priority: 5
Submitted By: Denys Rtveliashvili (rtvd)
Assigned to: Nobody/Anonymous (nobody)
Summary: Working example of using oo library

Initial Comment:
I tried to work with Scheme's classes and objects but I
can't find a way to do that properly. Yes, there is a
documentation, but it looks like either there is a
bug(s) or I am doing something wrong.

For example, the following:

(import oo)

(define-generics :animal :animal!)

Leads to this error:

   Error: undefined variable 'define-generics'.


Also, the following:

(import oo)
  
(define-class (<pet>) (animal :animal :animal!) (name))

Leads to this error:

Error: undefined variable ':animal'.

While

(import oo)
  
(define-class (<pet>) (animal) (name))

Works fine.

I do not see why :(

If somebody writes a simple working example of
declaration of a class, creating an instance and
modifying and accessing it, I think that would be very
useful.

Thank you,
Denys

P.S. The SISC version I use is 1.13.4.

----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=379534&aid=1477206&group_id=23735


-------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642


<Prev in Thread] Current Thread [Next in Thread>