[plt-scheme] Swindle :type keyword accepts (or ...)

From: Paulo Matos (pocm at netvisao.pt)
Date: Thu May 6 23:46:21 EDT 2004

Hi,

Can I do this:
(defclass <foo> ()
	(x :type (or <number> <string>) ...)
	...)

Can I expect swindle to accept only numbers or strings as legal values
to x?

Cheers,

Paulo Matos



Posted on the users mailing list.