Derive a custom Validate from an existing one
Open
- Dominant language
- Scala
- Stars
- 1.7k
- Forks
- 152
- Avg merge
- 1h 20m
- Merged PRs (30d)
- 6
Description
First let me apologize for creating an issue for a simple question, but I haven't found another channel.
So, let's say I would like to refine `scala.concurrent.duration.FiniteDuration`, e.g. with `Positive`. My first idea was to simply use `Positive` and (contra)map it over a function extracting the `length` from the `FiniteDuration` which is a `Long`. But I haven't found a way to do that, i.e. no public (contra)map method on `Validate`.
Any help would be highly appreciated.
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.