Closed Alex-At-Home closed 8 years ago
String
is final
. There's no way to alias it that I can think of :(
er yes, actually Int/Double/etc are the more common uses in scala (eg Double
-> Weight
), of course they have the same final
issue though a more tractable interface you could simply re-implement. Anyway the main cases were the various collections implementations, String
was just a throw-out-there thought
I should probably override the parent constructors.
Also, per #24 - when wrapping methods that return the parent type, wrap in the aliased type.
Currently can only type alias interfaces
eg Common concrete cases include
String
,LinkedList
,fj.data.List