bmjames / scala-optparse-applicative

Scala port of Paolo Capriotti's optparse-applicative library. This repository is no longer maintained; newer versions exist in this fork: https://github.com/xuwei-k/optparse-applicative
BSD 3-Clause "New" or "Revised" License
72 stars 9 forks source link

Add ReadM (and related) for other types #4

Closed adelbertc closed 9 years ago

adelbertc commented 9 years ago

e.g. Short, Long, BigInt

Should these be placed in the same place as the existing ones or in a separate place?

bmjames commented 9 years ago

This is a good idea; I'd definitely like more instances for commonly-used Scala standard types.

Let's start by adding the most useful ones to the Builder trait. If it looks like the code needs some breathing space, they can be moved to a new module later.

adelbertc commented 9 years ago

https://github.com/bmjames/scala-optparse-applicative/pull/5

bmjames commented 9 years ago

5 is now merged, thanks.