strange error - possibly a regression

17 views
Skip to first unread message

Martin R

unread,
Mar 16, 2026, 3:15:23 AM (3 days ago) Mar 16
to FriCAS - computer algebra system
In current FriCAS, on my computer, I have

[i fo83r i in 0..17]

>> System error:

invalid number of arguments: 2
Before, the error was

            RuntimeError: An error occurred when FriCAS evaluated '[i fo83r i in 0..17]':
              Line   1: x:=[i fo83r i in 0..17];
                       ...A..........B
              Error  A: Missing mate.
              Error  B: syntax error at top level
              Error  B: Possibly missing a ]
               3 error(s) parsing

Is this intentional?

Best wishes,

Martin

Ralf Hemmecke

unread,
Mar 16, 2026, 3:53:50 AM (3 days ago) Mar 16
to fricas...@googlegroups.com
On my computer I simply get:

%%% (311) -> x:=[i fo83r i in 0..17]

>> System error:
invalid number of arguments: 2

Given that there is a "fo83r" instead of "for", I would even expect an
error.

Otherwise:

(1) -> x:=[i for i in 0..17]

(1) [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17]
Type: List(NonNegativeInteger)


Ralf

Martin R

unread,
Mar 16, 2026, 4:47:57 AM (3 days ago) Mar 16
to FriCAS - computer algebra system
Ralf, that's what I am saying!?

I was expecting a parser error (as in previous versions), but now I get the system error.

Waldek Hebisch

unread,
Mar 16, 2026, 7:59:09 AM (3 days ago) Mar 16
to 'Martin R' via FriCAS - computer algebra system
No, that is a regression. Thanks for reporting it.

--
Waldek Hebisch

Waldek Hebisch

unread,
Mar 16, 2026, 12:10:00 PM (3 days ago) Mar 16
to 'Martin R' via FriCAS - computer algebra system
On Mon, Mar 16, 2026 at 12:15:23AM -0700, 'Martin R' via FriCAS - computer algebra system wrote:
Now fixed in the trunk

--
Waldek Hebisch
Reply all
Reply to author
Forward
0 new messages