Open
Description
As noted by @cason, it would be nice to have string manipulation to produce debugging output:
Example: to debug a model I have a "lastAction" string field keeping track of... what its name says. I would really like to be able to do something like that:
state.with("lastAction", "addPeer ".concat(peer.ID))
where peer.ID in this case is already a string (to be honest, is a type alias to a string).
In general we would like to avoid hard-to-verify string manipulation expressions. Perhaps, we could introduce a special IO
type that allows for string output and recognition, while not allowing it to be mixed in the specification itself.
This is also related to #779.