American Citizen on Mon, 30 Jun 2025 18:14:08 +0200


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

question on encapsulating format for a gp pari function


Hello:

I write my gp pari functions as like this

{fun(a)=

my(b);

b=a;

return(b);

}

But recently I noticed that someone who I highly respect writes in this way.

fun(a)=

{

  my(b);

  b=a;

  return(b);

}

What is the preferred way of doing this? Is the second to allow the function signatures to be visible?

Randall