[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH] gnu: Add erlang.
From: |
Ludovic Courtès |
Subject: |
Re: [PATCH] gnu: Add erlang. |
Date: |
Sun, 21 Feb 2016 21:54:45 +0100 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/24.5 (gnu/linux) |
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’.