This is the mail archive of the kawa@sourceware.org mailing list for the Kawa project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: use classes with/without corner brackets


Yaroslav Kavenchuk wrote:
I found no difference for REPL/compiler:

#|kawa:1|# (define s1 :: String "sss")
#|kawa:2|# (define s2 :: <String> "sss")

or any other use of a class.

They are present?

The <string> syntax is basically an older syntax. The plain non-angle-bracket syntax works better with colon-notation.

Note in both cases we're talking about identifiers - it's just
the default binding if no other binding is in scope.
--
	--Per Bothner
per@bothner.com   http://per.bothner.com/


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