[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Parameterized packages
From: |
Pierre Neidhardt |
Subject: |
Re: Parameterized packages |
Date: |
Mon, 27 Jan 2020 11:04:33 +0100 |
ison <address@hidden> writes:
> My understanding of the global definitions they're talking about is that
> they would just be meta objects, not global preferences.
> For example (maybe it won't look like this, but just a guess):
> Instead of passing the arguments "mpv" and "3.7" into your function you'd
> give the parameters:
> '((video-player . "mpv")
> (python-version . "3.7"))
> to the package.
> video-player and python-version would be globally defined meta objects
> that just give descriptions about what these parameters should be used for
> and such (so users can read more information about package parameters when
> looking up packages). But the actual values that get used by the package
> are not global, they're passed into the package just like your function
> example.
>
> I hope I'm not missing something here, but this is how I was reading the
> conversation.
You are correct, this is precisely what I meant.
Does that make more sense, Simon?
--
Pierre Neidhardt
https://ambrevar.xyz/
signature.asc
Description: PGP signature
- Re: Parameterized packages, (continued)
- Re: Parameterized packages, Pierre Neidhardt, 2020/01/21
- Re: Parameterized packages, zimoun, 2020/01/21
- Re: Parameterized packages, Pierre Neidhardt, 2020/01/22
- Re: Parameterized packages, zimoun, 2020/01/22
- Re: Parameterized packages, ison, 2020/01/24
- Re: Parameterized packages, zimoun, 2020/01/26
- Re: Parameterized packages, Pierre Neidhardt, 2020/01/27
- Re: Parameterized packages, zimoun, 2020/01/27
- Re: Parameterized packages, Pierre Neidhardt, 2020/01/27
- Re: Parameterized packages, zimoun, 2020/01/27
- Re: Parameterized packages,
Pierre Neidhardt <=
- Re: Parameterized packages, John Soo, 2020/01/25
- Re: Parameterized packages, Pierre Neidhardt, 2020/01/27
- Re: Parameterized packages, zimoun, 2020/01/20
- Re: Parameterized packages, Pierre Neidhardt, 2020/01/17
- Re: Parameterized packages, Pierre Neidhardt, 2020/01/15
Re: Parameterized packages, Pierre Neidhardt, 2020/01/15