[plt-scheme] Using constructors

From: Paulo Jorge O. C. Matos (pocm at mega.ist.utl.pt)
Date: Sat Oct 19 17:18:42 EDT 2002

Hi all,

How can I make a constructor for a given class?
I mean, I need to make a method/function that will show up a GUI 
(depends on object to create), receives input from user and returns a 
new object.

I could use a normal function but then I would not be able to use 
polymorphism.

Any ideas?

Best regards,

-- 
Paulo J. Matos : pocm(_at_)mega.ist.utl.pt
Instituto Superior Tecnico - Lisbon
Software & Computer Engineering - A.I.
  - > http://mega.ist.utl.pt/~pocm
  ---	
	Yes, God had a deadline...
		So, He wrote it all in Lisp!



Posted on the users mailing list.