guile-user
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Change interpreter from octets to hex?


From: Joshua Datko
Subject: Change interpreter from octets to hex?
Date: Sun, 19 Aug 2018 23:54:17 -0600

Hello,

Is it possible to change the default interpreter behavior to display
hex instead of octets for bytevectors and u8-lists? And if so, how to
do so?

The default, as y'all know is:

scheme@(guile-user)> #vu8(#x0a #xaa)
$6 = #vu8(10 170)

But I would like instead the output to be:
$6 = #vu8(#x0a #xaa)

It's easy enough to make a format function but it'd be more convenient
if this was the default for me.

Thanks,

Josh



reply via email to

[Prev in Thread] Current Thread [Next in Thread]