You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
gap> Display( x -> ([1]{[1]}){[1]} );
function ( x )
return[1]{[1]}{[1]};
end
Expected behaviour
gap> Display( x -> ([1]{[1]}){[1]} );
function ( x )
return ([1]{[1]}){[1]};
end
The brackets are important because [ 1 ]{[ 1 ]}{[ 1 ]} is interpreted as a submatrix access (which seems to be undocumented).
Copy and paste GAP banner (to tell us about your setup)
┌───────┐ GAP 4.13dev-45-g9f1d31c-dirty built on 2022-09-26 11:44:24+0200
│ GAP │ https://www.gap-system.org
└───────┘ Architecture: x86_64-pc-linux-gnu-default64-kv8
Configuration: gmp 6.2.1, GASMAN, readline
Loading the library and packages ...
Packages: GAPDoc 1.dev, IO 4.7.0dev, PrimGrp 3.4.0, SmallGrp 1.4.1, TransGrp 2.0.5
Try '??help' for help. See also '?copyright', '?cite' and '?authors'
The text was updated successfully, but these errors were encountered:
I think fixing this may be quite tricky. At the same time, it doesn't seem very important -- AFAIK we don't make any promises that functions can be round tripped by parsing their printed version (and indeed, in general this is not possible due to closures). I realize it may be important to you, all I want to convey here is that I wouldn't hold my breath for this to be fixed.
Observed behaviour
Expected behaviour
The brackets are important because
[ 1 ]{[ 1 ]}{[ 1 ]}
is interpreted as a submatrix access (which seems to be undocumented).Copy and paste GAP banner (to tell us about your setup)
The text was updated successfully, but these errors were encountered: