sm-discuss AT lists.ibiblio.org
Subject: Public SourceMage Discussion List
List archive
- From: Juuso Alasuutari <iuso AT sourcemage.org>
- To: sm-discuss AT lists.ibiblio.org
- Subject: Re: [SM-Discuss] meta spells
- Date: Sun, 17 Dec 2006 13:36:40 +0200
On Sunday 17 December 2006 03:42, seth AT swoolley.homeip.net wrote:
<snip>
> What I would do is accept your proposal for a multi_optional_* set of
> functions, but what I'd actually rather see is a single set of code for
> both single and multiple options. If we're going to split them out into
> different functions they should get split in the grimoire libraries.
>
> Note that your function api proposal as it is can't be implemented
> because the arguments are ambiguous -- there's no simple way to tell how
> many spells are specified before the non-spell arguments arrive.
>
> Perhaps having all spells in a single argument, space-delimited would be
> forward and backwards compatible, and we wouldn't need to add any
> function names.
As you said we did indeed talk about this some months ago on the ML. The
issue
arose when I noticed that optional_depends accepted a space-delimited list of
spells in a single argument. It was a bug that was promptly fixed, although I
was hoping it could've been transformed into a feature. It really only worked
by accident; some things were broken, e.g. the space-delimited list was added
on a single line in /var/state/sorcery/depends.
> Andrew might have done some thinking on this issue already and might
> even be able to summaries where we're at with past discussions, so we
> should await his reply.
He did have his say, yes, and I trust he will now, too. :)
--
Juuso Alasuutari
[[ Source Mage GNU/Linux ]]
Attachment:
pgpM0LnOXIg1E.pgp
Description: PGP signature
-
[SM-Discuss] meta spells,
Juuso Alasuutari, 12/16/2006
-
Re: [SM-Discuss] meta spells,
Andraž 'ruskie' Levstik, 12/16/2006
-
Re: [SM-Discuss] meta spells,
Juuso Alasuutari, 12/16/2006
-
Re: [SM-Discuss] meta spells,
seth, 12/16/2006
- Re: [SM-Discuss] meta spells, Juuso Alasuutari, 12/17/2006
-
Re: [SM-Discuss] meta spells,
seth, 12/16/2006
-
Re: [SM-Discuss] meta spells,
Juuso Alasuutari, 12/16/2006
-
Re: [SM-Discuss] meta spells,
Jaka Kranjc, 12/17/2006
- Re: [SM-Discuss] meta spells, Juuso Alasuutari, 12/17/2006
-
Re: [SM-Discuss] meta spells,
Andrew Stitt, 12/17/2006
- Re: [SM-Discuss] meta spells, Arwed von Merkatz, 12/20/2006
-
Re: [SM-Discuss] meta spells,
Eric Sandall, 12/21/2006
- Re: [SM-Discuss] meta spells, Juuso Alasuutari, 12/25/2006
-
Re: [SM-Discuss] meta spells,
Andraž 'ruskie' Levstik, 12/16/2006
Archive powered by MHonArc 2.6.24.