Jacques Gélinas on Fri, 01 Feb 2019 18:52:00 +0100


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

RE: Syntax question: | .. | for matdet([ ... ])


> 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).

2) [ g(x) | x<- [...] ] ??  There is only one | between the outer [ ].

Jacques Gélinas