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
In the scheme runtime, the builtin for converting to the URL variant of base 64 doesn't actually use the URL variant. It uses / instead of _ for index 63.
See the difference between run and run.native below:
``` ucm
fresh/main> builtins.merge
Done.
```
``` unison
main = do
fromUtf8.impl (toBase64UrlUnpadded 0xsfc)
```
``` ucm :added-by-ucm
Loading changes detected in scratch.u.
I found and typechecked these definitions in scratch.u. If you
do an `add` or `update`, here's how your codebase would
change:
⍟ These new definitions are ok to `add`:
main : 'Either Failure Text
```
``` ucm
fresh/main> run main
Right "_A"
```
``` ucm
fresh/main> run.native main
Right "/A"
```
Screenshots
If applicable, add screenshots to help explain your problem.
Environment (please complete the following information):
ucm --version 0.5.29
OS/Architecture: x86 linux
The text was updated successfully, but these errors were encountered:
Describe and demonstrate the bug
In the scheme runtime, the builtin for converting to the URL variant of base 64 doesn't actually use the URL variant. It uses
/
instead of_
for index 63.See the difference between
run
andrun.native
below:Screenshots
If applicable, add screenshots to help explain your problem.
Environment (please complete the following information):
ucm --version
0.5.29The text was updated successfully, but these errors were encountered: