>> Sorry, but I wonder how you find this reference so easily?  Apparently.
Oh, that was simple, because recently I had to concatenate strings and remembered that I had already seen the

  a b

construction for string. I knew already that writing things next to each other, the Aldor compiler will throw in an 'apply' function and try to find the and basically call apply(a,b) if there is a function

  apply: (A, B)-> C

where a: A, b: B and C should match the possible result type from the context. I knew that 'apply' is called 'elt' in FriCAS with basically the same behaviour, i.e. 'syntactic sugar'.

Then I went to https://fricas.github.io, typed 'String' in the search field and then clicked on 'elt'.

You see, it is pretty easy, if one knows already. Otherwise, you did the right thing. Ask on fricas-devel.

I would actually like if more people were so brave to ask here instead of giving up FriCAS completely. We all know that our documentation is not yet perfect and it takes quite some experience to find the right thing quickly.

Greg, actually, I was quite surprised when I read your mail. You obviously seem to successfully apply githup copilot, right? I remember that I tried some AI (not sure whether it was the github thing). At that time the code looked quite like SPAD, but when looking closer, it was writing Sage code in SPAD syntax with domains and categories that did not exist in FriCAS. Maybe it improved meanwhile.

Ralf

--
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/fd147bbb-df40-483d-a6ff-4f920257276d%40hemmecke.org.

Reply via email to