This post originated from an RSS feed registered with Ruby Buzz
by Eric Hodel.
Original Post: Static Typing for Ruby
Feed Title: Segment7
Feed URL: http://blog.segment7.net/articles.rss
Feed Description: Posts about and around Ruby, MetaRuby, ruby2c, ZenTest and work at The Robot Co-op.
Type inference is fed a prebuilt set of type annotations derived from the core library that look very similar to rdoc. The annotation system can handle variable arguments to methods, type intersections and type unions. Basically, this means it’s expressive enough to handle String#slice which can be called six different ways.
For details on the type inferencing itself, you should read