guix-devel
[Top][All Lists]
Advanced

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

Re: question regarding substitute* and #t


From: Hartmut Goebel
Subject: Re: question regarding substitute* and #t
Date: Wed, 24 Jan 2018 15:45:38 +0100
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.5.2

Am 24.01.2018 um 13:14 schrieb Andy Wingo:
> On Wed 24 Jan 2018 13:06, Mark H Weaver <address@hidden> 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          | address@hidden               |
| www.crazy-compilers.com | compilers which you thought are impossible |




reply via email to

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