Bill Allombert on Mon, 16 May 2011 22:51:53 +0200


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

Re: Bug in apply?


On Mon, May 16, 2011 at 01:30:18PM -0400, Charles Greathouse wrote:
> Ah, it makes sense now.
> 
> Is there another way to force evaluation in a closure context, or should I
> just write n->Str(n)?

Just write n->Str(n).

Strictly speaking there is no notion of "closure context" in GP. Either an expression
evaluate to a t_CLOSURE or it does not.

Cheers,
Bill.