« Return to Thread: boo vs f#

Re: boo vs f#

by Rodrigo B. de Oliveira :: Rate this Message:

| View in Thread


On 6/17/06, gökhan <g.h.bakir@...> wrote:
> ...
> For example there is plenty of math libraries for python,
> one for f#,  but none for boo (due its lack of support of generics). Is
> this planned?
>

I've just committed my first stab at implementing generics. Only
simple things with externally defined types work for now:

    import System.Collections.Generic

    l = List[of int]()
    l.Add(21)
    print l[0]*2

Next on my list:
1) generics for internal types:
      class Person:
              [property(Name)] _name = ""

      people = List of Person()
      people.Add(Person(Name: "John Cleese"))

2) generic type references:

     people as List of Person

...
--
bamboo
*** See you at the first global db4o User Conference in London, July
10 and 11, 2006 ***
http://www.db4o.com/about/productinformation/events/duc2006/

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Boo Programming Language" group.
To post to this group, send email to boolang@...
To unsubscribe from this group, send email to boolang-unsubscribe@...
For more options, visit this group at http://groups.google.com/group/boolang
-~----------~----~----~----~------~----~------~--~---

 « Return to Thread: boo vs f#