On Wed, Oct 14, 2009 at 8:40 PM, Naftoli Gugenheim naftoli...@gmail.comwrote:
On Wed, Oct 14, 2009 at 11:08 PM, David Pollak
feeder.of.the.be...@gmail.com wrote:
On Wed, Oct 14, 2009 at 7:45 PM, Naftoli Gugenheim
naftoli...@gmail.comwrote:
1. Why does MappedString have members such
On Wed, Oct 14, 2009 at 7:45 PM, Naftoli Gugenheim naftoli...@gmail.comwrote:
1. Why does MappedString have members such as nonNull(in: String)
which don't depend on the MappedString's state? Shouldn't they be in a
singleton somewhere?
Maybe they should be, but are they hurting anything
I've been using implicit extensions for this kind of thing, most
recently expanded error handling via Box. Like this:
implicit def mappedStringToMappedStringExtension(ms: MappedString):
MappedStringExtension = MappedStringExtension(ms)
case class MappedStringExtension(mappedString:
Good point, thanks.
On Wed, Oct 14, 2009 at 11:15 PM, Ross Mellgren dri...@gmail.com wrote:
I've been using implicit extensions for this kind of thing, most recently
expanded error handling via Box. Like this:
implicit def mappedStringToMappedStringExtension(ms: MappedString):
On Wed, Oct 14, 2009 at 11:08 PM, David Pollak
feeder.of.the.be...@gmail.com wrote:
On Wed, Oct 14, 2009 at 7:45 PM, Naftoli Gugenheim
naftoli...@gmail.comwrote:
1. Why does MappedString have members such as nonNull(in: String)
which don't depend on the MappedString's state? Shouldn't