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
I have a (seemingly) unusual use-case with refined:
I would like to define a combination of refinements.
Here is a simple example:
importeu.timepit.refined.predicates.all._typeHostname=NonEmptyStringtypePort=PortNumbertypeHostAddress=???// I would like this to be (NonEmptyString + ":" + PortNumber)
I don't think there is a way to do this in refined.
Any thoughts?
The text was updated successfully, but these errors were encountered:
But I guess your HostAddress would be more like a String Refined P where P is a combination of NonEmpty, Equal[:], and Interval.Closed[0, 65535]. I don't see a way how this could work.
I have a (seemingly) unusual use-case with refined:
I would like to define a combination of refinements.
Here is a simple example:
I don't think there is a way to do this in refined.
Any thoughts?
The text was updated successfully, but these errors were encountered: