Bill Allombert on Fri, 01 Feb 2019 21:29:07 +0100 |
[Date Prev] [Date Next] [Thread Prev] [Thread Next] [Date Index] [Thread Index]
Re: Syntax question: | .. | for matdet([ ... ]) |
On Fri, Feb 01, 2019 at 05:51:57PM +0000, Jacques Gélinas wrote: > > This would be confusing with the other uses of |. > > What other uses of | does gp understand ? > > 1) || ?? There is no conflict with the current syntax: > matdet([]) > *** at top-level: matdet([]) > *** ^---------- > *** matdet: incorrect type in det (t_VEC). The expression |a|||b|||d| can be read both as (|a|) || b || (|d|) or | (a || (|b|) || d) | Cheers, Bill.