News for hackers. Stuff that matters.
Re:Navigating the Postmodern Python World by auvrw on Thursday July 11, 2013 @08:17PM (#6030135)
> import Data.Maybe

> let maybe_use_haskell = [ Just 2, Just 4 ]

also, in you could do your original example in a single line,

List<T> ts = new List<T>(List.fromArray({T(2),T(4)}));

even though it's still messier than something with type inference.

There are no comments on this comment yet.