Daily scala

A short daily dose of scala examples and occasionally explanations.

Showing posts with label structural types. Show all posts
Showing posts with label structural types. Show all posts
Tuesday, February 9, 2010

Structural Types: Multiple Methods and Type Aliasing

›
There are two more aspects related to structural typing that are useful to look at. Structural types with multiple methods and type aliases...
2 comments:
Monday, February 8, 2010

Dynamic calls using Structural Types

›
Using reflection can be a real pain in Java since the API is a Java API and consists of many gets and searches through collections not to me...
1 comment:
Friday, February 5, 2010

Introducing Structural Types

›
Structural types allows one to declare types based on the methods the type has. For example you could define a method that takes a class co...
6 comments:
Tuesday, December 8, 2009

Labelled Multiple Returns

›
A cool idea I found at http://stackoverflow.com/questions/1827672/is-there-a-way-to-have-tuples-with-named-fields-in-scala-similar-to-anonym...
›
Home
View web version

About Me

Unknown
View my complete profile
Powered by Blogger.