Open rebolek opened 4 years ago
form help text says:
form
Returns a user-friendly string representation of a value.
However form on binary! returns molded string:
binary!
>> form #{deadcafe} == "#{DEADCAFE}"
If you want to have user-friendly representation, you need to use enbase/base 16:
enbase/base 16
>> enbase/base #{deadcafe} == "DEADCAFE"
It would be nice if form switched to this form (pun intended).
Duplicate of https://github.com/red/red/issues/3133 which is already addressed https://github.com/red/red/pull/4148.
So let's hope it gets merged soon.
form
help text says:However
form
onbinary!
returns molded string:If you want to have user-friendly representation, you need to use
enbase/base 16
:It would be nice if
form
switched to this form (pun intended).