I was looking at https://fricas.github.io/book.pdf and on page 149 it
gives examples of what it calls pile programming
if h > 3.1 then
1.0
else
z := cos (h)
max (z ,0.5)
So there is no *end if* in Fricas? Similar thing I noticed in other
constructs. There is no explicit end.
It seems Fricas is similar to Python in this, in that it uses spaces and
indentations for when a construct end.
I do not like this myself. I think having an explicit *end* make the code
and the algorithm more clear, instead of just depending on using spaces.
I know very little about programming in Fricas. Is this the only mode of
programming in Fricas? Why not have an explicit end? Was this a choice
made long time ago for the Fricas language?
--
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 on the web visit
https://groups.google.com/d/msgid/fricas-devel/332ed800-a052-40d4-aa7b-5d3fa70dd362n%40googlegroups.com.