From: Joshua Datko <jbdatko@gmail.com>
To: guile-user@gnu.org
Subject: Change interpreter from octets to hex?
Date: Sun, 19 Aug 2018 23:54:17 -0600 [thread overview]
Message-ID: <CAC7jEXf=QH4k-d-25i=1dkoLy6GTVeu9WMq8j6A+uqg1NcwzUw@mail.gmail.com> (raw)
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
next reply other threads:[~2018-08-20 5:54 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-08-20 5:54 Joshua Datko [this message]
2018-08-21 4:32 ` Change interpreter from octets to hex? Mark H Weaver
2018-08-21 19:32 ` Joshua Datko
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://www.gnu.org/software/guile/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to='CAC7jEXf=QH4k-d-25i=1dkoLy6GTVeu9WMq8j6A+uqg1NcwzUw@mail.gmail.com' \
--to=jbdatko@gmail.com \
--cc=guile-user@gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).