As far as I can tell, both versions are syntactically correct.
I would agree, though, that adding a comma, looks more pleasing.
Maybe the following sessing helps to understand.

There is an elt function call, if there is no comma.

https://fricas.github.io/api/StringAggregate.html#l537472696e67416767726567617465-656c74

Ralf

%%% (1) -> concat ["a", "b" "c"]

   (1)  "abc"
                                       Type: String
%%% (2) -> concat ["a", "b", "c"]

   (2)  "abc"
                                       Type: String
%%% (3) -> # ["a", "b" "c"]

   (3)  2
                                       Type: PositiveInteger
%%% (4) -> # ["a", "b", "c"]

   (4)  3
                                       Type: PositiveInteger
%%% (5) -> ["a", "b" "c"]

   (5)  ["a", "bc"]
                                       Type: List(String)
%%% (6) -> ["a", "b", "c"]

   (6)  ["a", "b", "c"]
                                       Type: List(String)
%%% (7) -> ["a", "b""c"]

   (7)  ["a", "bc"]
                                       Type: List(String)

--
You received this message because you are subscribed to the Google Groups "FriCAS - 
computer algebra system" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion visit 
https://groups.google.com/d/msgid/fricas-devel/57b68a11-a641-4684-ab2b-d37100bf0c7e%40hemmecke.org.

Reply via email to