Saturday, February 26, 2011

Studying F# : Type Extension #2

In phosphorescence: Studying F# : Type Extension, I mentioned about Type Extension compared with ruby's Open Class. But, there are difference obviously. F#'s Type Extension cannot allow overload with same signature and override.

Wednesday, February 23, 2011

Studying F# : Type Extension

Ruby's Open Class is the one of cool features.
irb(main):001:0> class String
irb(main):002:1>   def say_hello
irb(main):003:2>     "Hello #{self}"
irb(main):004:2>   end
irb(main):005:1> end
=> nil
irb(main):006:0> "World".say_hello
=> "Hello World"

In F#, there is Type Extension. This is also cool code.
> type System.String with
-     member s.sayHello = "Hello " + s;;

type String with
  member sayHello : string

> "World".sayHello;;
val it : string = "Hello World"
to be continued...

Monday, February 21, 2011

Ruby 1.9.2 p180 was released

3 days ago, Ruby 1.9.2 p180 was released. So I download from here, and re-install it like this entry. Let's check.
> /opt/ruby-1.9.1/bin/ruby --version
ruby 1.9.2p180 (2011-02-18 revision 30909) [i686-linux]
The goodest news in this release is the version of RubyGems. It becomes 1.5.x!

Friday, February 18, 2011

Mono 2.10 has three more languages out-of-the-box

In two days ago, Mono 2.10 had been released. The most notable change is "three more languages out-of-the-box". These are F#,:
and IronRuby.:

Tuesday, February 15, 2011

IronRuby 1.1.2 is released

One week ago, IronRuby 1.1.2 has been released. This release fixes many bugs related with RubyGems... here is also about RubyGems!

Saturday, February 12, 2011

Where will Qt go?

In yesterday, Nokia and Microsoft announce "Strategic Partnership". There are many news sources. The main topic of its pertnership is, of course, Nokia decides to adopt Windows Phone OS for Nokia's smart devices. But, one more notable topic for me is coming at the last of Q&A on Nokia's briefing webcast - Where (How) will Qt go?

Thursday, February 10, 2011

Studying F# : Discriminated Union #3

In phosphorescence: Studying F#: Discriminated Union #2, I mentioned about another similarity between "Discriminated Union" in F# and Java's enum. But there are many different paradigms in there. So I write about two advanced features of "Discriminated Union" in this article.

Monday, February 7, 2011

Studying F# : Discriminated Union #2

In phosphorescence: Studying F# : Discriminated Union, I mentioned that "Discriminated Union" in F# is similar to Java's enum. Java's enum can define any members(method, property and so on). Of course, "Discriminated Union" can do too.

Friday, February 4, 2011

RubyGems 1.5.0 is ready for Ruby 1.9.2

A few days ago, RubyGems 1.5.0 is released. And this release one supports finally Ruby 1.9.2 (previous version one was not. check this article) .

Tuesday, February 1, 2011

Studying F# : Discriminated Union

The enum of C# works as halfway between C++'s one and Java's one.