![]() This caused me some trouble. In my first approach, I ended up having multiple traces because nested values would be evaluated twice; once as condition, and once as part of the continuation. To prevent this, we can simply evaluate the condition once, and return plain True / False boolean as outcome. So this effectively transforms any expression: ``` expr ``` as ``` if expr { True } else { trace("...", False) } ``` |
||
---|---|---|
.. | ||
aiken | ||
aiken-lang | ||
aiken-lsp | ||
aiken-project | ||
flat-rs | ||
uplc |