For the record: I really like the chaining idea. I don't know if it would work,
but I like it.
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Orion Edwards
Sent: Wednesday, November 26, 2008 4:10 PM
To: ironruby-core@rubyforge.org
Subject: Re: [Ironruby-core] IronRuby and XNA. Sup
Ah I see. Completely agree with the reasoning behind 'stuff appears
when you require mscorlib' too.
Possible idea - make 'of' a proc rather than a method, so it uses
square brackets instead of round ones.
d = Dictionary.of[String, String]
t = Load of[Texture2d], "sometexture" # awesome, but
It's like:
Sub Foo(Of T)(ByVal a As T)
End Sub
Sub Main()
Foo(Of Integer)(1)
End Sub
Tomas
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Orion Edwards
Sent: Wednesday, November 26, 2008 3:27 PM
To: ironruby-core@rubyforge.org
Subject: Re: [Ironruby-core]
That makes sense.
Dictionary.of(T1, T2) looks good, but how do they handle invoking
generic methods?
I don't have VB.net installed, and all the samples I can find all rely
on type inference rather than explicitly specifying the type
Do they do Load( of(Texture2d), "blah" ) ??
Thanks.
Tomas
VB.NET has (Of T) syntax for generic parameters, so it would be familiar to VB
programmers :)
I don't see a strong connection between "of" and "typeof".
"T" is interesting, though we already use "of" for generic types (e.g.
Dictionary.of(String, String)) so it might be better to stick with one c
Looks good.
-Original Message-
From: Tomas Matousek
Sent: Wednesday, November 26, 2008 9:29 AM
To: IronRuby External Code Reviewers
Cc: ironruby-core@rubyforge.org
Subject: Code Review: NoStaticSites4
tfpt review "/shelveset:NoStaticSites4;REDMOND\tomat"
Adds support for SiteLocalStorage
While I can certainly see the elegance of the 'of' suggestion, it can't
help but to trip my "code smell" warning, because 'of' implies
'typeof', and it treats the types as method arguments.
I can't help but think that every new programmer, seeing this:
myTexture = content.load( of(Texture2D),
What if the method has signature m(object x, ... T...). How do we know you
don't want to pass the value of constant Texture2D as x? "of" would wrap it
into an internal class that would be known as carrying generic parameter types
and always unwrapped.
load_Texture2D clashes with name mangling a
On Wed, Nov 26, 2008 at 12:04 PM, Tomas Matousek <
[EMAIL PROTECTED]> wrote:
> I'm thinking of something like:
>
> myTexture = content.load of(Texture2D), "mytexture"
>
> I.e. we would add Kernel#of method that takes a list of classes/modules and
> returns a special object representing generic par
For those of us that don't work for microsoft, what are Merlin, Nessie,
etc anyway?
Jim Deville wrote:
Well,
the first step is done. The IronRuby Git repository is
live at http://github.com/ironruby/ironruby.
You can start working against it, but to compile, you will have to se
I'm thinking of something like:
myTexture = content.load of(Texture2D), "mytexture"
I.e. we would add Kernel#of method that takes a list of classes/modules and
returns a special object representing generic parameters that binder would use
for selecting the right method.
We are open for more id
Hi Curt!
Unfortunatelly it does not work. The error returned is the same. :(
2008/11/26 Curt Hagenlocher <[EMAIL PROTECTED]>:
> For the first problem, does it work if you just use "super" without any
> arguments?
>
> -Original Message-
> From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
Well, the first step is done. The IronRuby Git repository is live at
http://github.com/ironruby/ironruby. You can start working against it, but to
compile, you will have to set the MERLIN_ROOT environment variable to <>/merlin/main. This will be part of rake eventually, but right now
it's a work
Thanks John!
I will do that.
Just for curiosity, what will be the syntax to call generic methods? :)
2008/11/26 John Lam (IRONRUBY) <[EMAIL PROTECTED]>:
> We can't consume generic methods today. It's on the list of things to do
> though.
>
> You can work around this by defining a concrete meth
There were some missing files in 176, so I've just redone that as 177.
JD
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Jim Deville
Sent: Tuesday, November 25, 2008 4:45 PM
To: ironruby-core@rubyforge.org
Subject: [Ironruby-core] SVN Revision 176 pushed out
Enjoy!
JD
http
For the first problem, does it work if you just use "super" without any
arguments?
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Dudu Baião
Sent: Tuesday, November 25, 2008 6:26 PM
To: ironruby-core@rubyforge.org
Subject: [Ironruby-core] IronRuby and XN
16 matches
Mail list logo