You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In the Koka book, the following syntax is used in order to display a number following a string: println("yielded " + i.show).
It tends to be quite heavy as the number of conversions increases.
I think it would be nice to have a string interpolation syntax (maybe "yielded ${i}"?)
The text was updated successfully, but these errors were encountered:
Please don't implement it like "yielded ${i}". Typing an extra symbol before each expression is very annoying. Implement it at least like it's implemented in C#: $"yielded {i}". But the most convenient way is of course just "yielded {i}".
In the Koka book, the following syntax is used in order to display a number following a string:
println("yielded " + i.show)
.It tends to be quite heavy as the number of conversions increases.
I think it would be nice to have a string interpolation syntax (maybe
"yielded ${i}"
?)The text was updated successfully, but these errors were encountered: