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
singleton-ops is in a position to allow the refined Inference implicit rules to go "macro-less" and discard the isValid field (see fthomas/refined#755). Most of the places where these rules currently punt to isValid are numeric, and already addressable via singleton-ops, but StringInference rules require some singleton operations that do not exist (IIUC):
BeginsWith[S1, S2]
EndsWith[S1, S2]
There might be others that could be useful, like a hypothetical MatchesPattern[S, P], where P is a singleton string representing a regex.
The text was updated successfully, but these errors were encountered:
singleton-ops is in a position to allow the refined
Inference
implicit rules to go "macro-less" and discard theisValid
field (see fthomas/refined#755). Most of the places where these rules currently punt toisValid
are numeric, and already addressable via singleton-ops, butStringInference
rules require some singleton operations that do not exist (IIUC):There might be others that could be useful, like a hypothetical
MatchesPattern[S, P]
, whereP
is a singleton string representing a regex.The text was updated successfully, but these errors were encountered: