This is the mail archive of the
kawa@sourceware.org
mailing list for the Kawa project.
Re: use classes with/without corner brackets
- From: Per Bothner <per at bothner dot com>
- To: Yaroslav Kavenchuk <kavenchuk at gmail dot com>
- Cc: kawa <kawa at sourceware dot org>
- Date: Thu, 21 Feb 2008 10:26:39 -0800
- Subject: Re: use classes with/without corner brackets
- References: <f19ba4b50802210245m7d60df5nf3756e0f0443228f@mail.gmail.com>
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/