Closed adelbertc closed 9 years ago
Hi, thanks for this.
I'm not keen on the overloading, but I'm not sure which route I'd prefer to take to avoid that. Options that spring to mind so far:
readInt
, readChar
etc.ReadM
instances somewhere else, for example the ReadM
companion object, and not have them imported by default from net.bmjames.opts._
Does either sound sensible to you, or are they both potentially annoying?
I think prefixing with read
sounds OK and less intrusive than having them not imported from net.bmjames.opts
- thoughts?
@adelbertc let's go with the read
prefixes for now, then. I'll merge this as I've renamed them on my copy. Thanks!
Note: There is currently overloading on
short
andlong
for theReadM[Short]
andReadM[Long]
- the names were chosen to match the existingstr
andint
names. Let me know if you'd like me to name them differently.