Bill Allombert on Sun, 02 Sep 2018 14:51:40 +0200


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

Re: "intrinsic <return>" could be interpreted as "?intrinsic <return>"


On Wed, Aug 29, 2018 at 12:46:22AM +0000, Jacques Gélinas wrote:
> Example of current parsing:
> 
> # primes
> Thus we could havi %1 = primes
> 
> Instead of returning the input, why not give the help string 
> (and leave the line count unchanged ?

It seems you are missing something: 'primes' is actually a value
(of type t_CLOSURE):

? primes
%1 = primes
? %1(10)
%2 = [2,3,5,7,11,13,17,19,23,29]

Cheers,
Bill.