all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Hartmut Goebel <h.goebel@crazy-compilers.com>
To: guix-devel@gnu.org
Subject: Re: question regarding substitute* and #t
Date: Wed, 24 Jan 2018 15:45:38 +0100	[thread overview]
Message-ID: <72d8803f-0a3d-4d31-e8c8-a5e4be9f45e3@crazy-compilers.com> (raw)
In-Reply-To: <87372v8ndd.fsf_-_@igalia.com>

Am 24.01.2018 um 13:14 schrieb Andy Wingo:
> On Wed 24 Jan 2018 13:06, Mark H Weaver <mhw@netris.org> writes:
>
>> +             ;; Install to the right directory
>> +             (substitute* '("Makefile"
>> +                            "Qsci/Makefile")
>> +               (("\\$\\(INSTALL_ROOT\\)/gnu/store/[^/]+")
>> +                (assoc-ref outputs "out")))
>> +             #t)))))
> I guess once we switch over all instances of "system" and "system*" to
> use invoke, does that mean we will also be able to remove these
> vestigial "#t" returns?
I wonder why substitute* not simply returns #t?!

-- 
Regards
Hartmut Goebel

| Hartmut Goebel          | h.goebel@crazy-compilers.com               |
| www.crazy-compilers.com | compilers which you thought are impossible |

  parent reply	other threads:[~2018-01-24 14:45 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <20180124010802.18874.3012@vcs0.savannah.gnu.org>
     [not found] ` <20180124010803.590AF2068F@vcs0.savannah.gnu.org>
2018-01-24 12:06   ` Simplifications enabled by switching to 'invoke' Mark H Weaver
2018-01-24 12:14     ` question regarding substitute* and #t (was: Simplifications enabled by switching to 'invoke') Andy Wingo
2018-01-24 13:28       ` question regarding substitute* and #t Mark H Weaver
2018-01-24 15:20         ` Andy Wingo
2018-01-24 21:09           ` Kei Kebreau
2018-01-25  5:31           ` Maxim Cournoyer
2018-01-25  7:51             ` Andy Wingo
2018-01-26  3:53               ` Maxim Cournoyer
2018-01-25  8:31         ` Arun Isaac
2018-01-25 20:02           ` Mark H Weaver
2018-01-24 14:45       ` Hartmut Goebel [this message]
2018-01-24 15:27         ` Andy Wingo
2018-01-24 22:10           ` Ricardo Wurmus

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

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=72d8803f-0a3d-4d31-e8c8-a5e4be9f45e3@crazy-compilers.com \
    --to=h.goebel@crazy-compilers.com \
    --cc=guix-devel@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.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/guix.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.