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'd argue it should be String -> Maybe String, to account for the possibility of the exception, with an Unsafe twin that pretends String -> String is accurate (like with Regex vs Regex.Unsafe).
(I came across this while generating strings with String.fromCharArray <<< Jack.boundedChar; boundedChar is defined here, but is basically any character.)
encodeURIComponentis encoded asString -> String.This is a counter-example to that type:
I'd argue it should be
String -> Maybe String, to account for the possibility of the exception, with an Unsafe twin that pretendsString -> Stringis accurate (like withRegexvsRegex.Unsafe).(I came across this while generating strings with
String.fromCharArray <<< Jack.boundedChar;boundedCharis defined here, but is basically any character.)