String representation of If

There is no string representation for If-expressions given in the project specification.

I would assume it to be something similar to

If[condition, consequence, alternative?]
1 Like

Yes, that is correct.

Same goes for the return statement. Is


the correct way to stringify it?


with the notation from above.

1 Like

The correct way to figure out all of these answers is to write tests against the reference. More on this in the project description on Monday