red / REP

Red Enhancement Process
BSD 3-Clause "New" or "Revised" License
11 stars 4 forks source link

WISH: FORM binary! should use ENBASE/BASE 16 #62

Open rebolek opened 4 years ago

rebolek commented 4 years ago

form help text says:

Returns a user-friendly string representation of a value.

However form on binary! returns molded string:

>> form #{deadcafe}
== "#{DEADCAFE}"

If you want to have user-friendly representation, you need to use enbase/base 16:

>> enbase/base #{deadcafe}
== "DEADCAFE"

It would be nice if form switched to this form (pun intended).

9214 commented 4 years ago

Duplicate of https://github.com/red/red/issues/3133 which is already addressed https://github.com/red/red/pull/4148.

rebolek commented 4 years ago

So let's hope it gets merged soon.