Hi Olaf,
I must say you haven't convinced me that there is no use for a spreadsheet functional language. Nor have you convinced that important, mission critical work is not done in spreadsheets.
However, what you want certainly seems worthwhile. Where can I see an example of what Mathematica does. It costs the Earth, and I've never played with it.
For simplicity I will assume serial code, not parallel.
Code is linear in almost all programming models. Code flows left to right and down the page (screen, at least in English).
So what I imagine you want is something like a persistent code tracer, that by default reruns the code as changes are made.
| Input | Code | Result | Comment | LaTeX | Etc | Many Possible Columns
----------------------------------------------------------------------------
0001 | input1 | expression1 | result1 | comment1 | formula1 | etc1 |
-----------------------------------------------------------------------
And so on to the end of the program.
Like so?
A tabular view of the program and it's execution. You can program in the table. The table auto-updates when you change stuff. Works best with LOTS of screen real estate.
That would be kinda cool.
You might want to refine your idea and start another thread about that. It's cool, but it's not a functional spreadsheet like in
https://www.microsoft.com/en-us/research/publication/a-user-centred-approach-to-functions-in-excel/ and some of the article's citations, which is very much what I'm talking about. It looks like I could have plagiarized most of my ideas from that article, even though I've never read it before. (I was aware of comparisons of spreadsheets to functional programming before.)