guix-devel
[Top][All Lists]
Advanced

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

Re: Using #true and #false everywhere?


From: Ludovic Courtès
Subject: Re: Using #true and #false everywhere?
Date: Wed, 21 Oct 2020 11:56:21 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/27.1 (gnu/linux)

Hi,

zimoun <zimon.toutoune@gmail.com> skribis:

> I do not have a strong opinion but I am still perplex if it really
> simplifies because all the material around about Scheme and especially
> the Guile manual still uses #t/#f and not #true/#false.  For example,
>
> $ guix repl
> GNU Guile 3.0.4
> Copyright (C) 1995-2020 Free Software Foundation, Inc.
>
> Guile comes with ABSOLUTELY NO WARRANTY; for details type `,show w'.
> This program is free software, and you are welcome to redistribute it
> under certain conditions; type `,show c' for details.
>
> Enter `,help' for help.
> scheme@(guix-user)> ,use(gnu packages base)
> scheme@(guix-user)> (eq? hello coreutils)
> $1 = #f
>
> Is it possible to display #false instead?  If not, I am not convinced
> it is really easier to read #true/#false in the Guix code, then #t/#f
> in the REPL or Guile documentation.

Currently it’s not possible to tell ‘write’ to write #true/#false.  It
would be nice to have a way to enable this, optionally.

Ludo’.



reply via email to

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