guix-devel
[Top][All Lists]
Advanced

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

Re: [PATCH] gnu: Add erlang.


From: Steve Sprang
Subject: Re: [PATCH] gnu: Add erlang.
Date: Wed, 16 Mar 2016 17:18:57 -0700

Oops, I didn't follow up on this. I made the suggested changes to the
patch. I also bumped the version to 18.3, which has subsequently
become available.

-Steve



On Sun, Feb 21, 2016 at 12:54 PM, Ludovic Courtès <address@hidden> wrote:
> Efraim Flashner <address@hidden> skribis:
>
>> On Fri, 12 Feb 2016 19:44:46 -0500
>> Leo Famulari <address@hidden> wrote:
>>
>>> On Sat, Feb 06, 2016 at 12:45:39PM -0800, Steve Sprang wrote:
>>> > It looks like downloading the tarball from erlang.org works now.
>>> > Here's an improved patch.
>>> > +     (lambda* _
>>> > +       (let ((escripts
>>> > +              (append
>>> > +               (find-files "." "\\.escript")
>>> > +               (find-files "lib/stdlib/test/escript_SUITE_data/")
>>> > +               '("erts/lib_src/utils/make_atomics_api"
>>> > +                 "erts/preloaded/src/add_abstract_code"
>>> > +                 "lib/diameter/bin/diameterc"
>>> > +                 "lib/reltool/examples/display_args"
>>> > +                 "lib/reltool/examples/mnesia_core_dump_viewer"
>>> > +                 "lib/snmp/src/compile/snmpc.src"
>>> > +                 "make/verify_runtime_dependencies"
>>> > +                 "make/emd2exml.in"))))
>>> > +         (substitute* escripts
>>> > +           (("/usr/bin/env") (which "env"))))))
>>> > +         (add-before
>>> > +             'configure 'set-erl-top
>>> > +           (lambda* _
>>> > +             (setenv "ERL_TOP" (getcwd)))))
>>>
>>> I _think_ that 'lambda _' would be appropriate here. I need a real
>>> Schemer to weigh in ;)
>>>
>>
>> I'm definately not a "real schemer," but since the lambda only leads into the
>> let (ie. one item), I'm pretty sure 'lambda _' should be sufficient.
>
> Correct.  ‘lambda*’ is for when one wants to use optional or keyword
> arguments (info "(guile) lambda* and define*").
>
> Ludo’.
>

Attachment: erlang.patch
Description: Text Data


reply via email to

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