You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It seems like `fromIronType` was combined with `apply` in
`RefinedTypeOps`, but there are a few lingering references in the
Scaladoc to the removed API member. This PR removes those references.
Close#248
Related: #130#139#140
Currently, given this code:
We should use
apply
to create anAge
from anInt
andfromIronType
to get anAge
from a refined type likeInt :| Positive
.If we change the
RefinedTypeOps#apply
method definition to:where:
A
is the "raw" type (e.gInt
)C
is the constraint (e.gPositive
)T
is the opaque type (e.gAge
)This code would compile:
Here are two concerns:
apply
andfromIronType
? (I think so)apply
-fromIronType
separation?Since you made the current
RefinedTypeOps
implementation @antonkw, what do you think?The text was updated successfully, but these errors were encountered: