Re: Combining @ and [*] in one function call?
Chris Angelico <[email protected]>
| Newsgroups | gmane.comp.lang.pike.user |
|---|---|
| Message-ID | <CAPTjJmpQ6Ga9DskyFuGP-uEQ2kM89GUbvdqz5CRsDOpNR2mNjw@mail.gmail.com> |
On Fri, Apr 25, 2014 at 11:48 AM, Ralph Ritoch <[email protected]> wrote: > What you need is an fmap function but I don't see any. The best I can > suggest would be something like this... > > map(color_defs,Function.splice_call,GTK2.GdkColor); Ooh. Actually, that's pretty much what I needed. Thanks! colors = Function.splice_call(color_defs[*],GTK2.GdkColor); https://github.com/Rosuav/Gypsum/commit/265afc ChrisA