Support calling ToString
on an arbitrary value
#450
Labels
kind: enhancement
Enhancements, feature requests, etc. These are NOT bugs, but ways we can improve Dafny
part: language definition
Relating to the Dafny language definition itself
This functionality is already indirectly exposed through the
print
statement, which is documented as using "the System.Object.ToString() method to convert the values to printable strings" (dafny/Docs/DafnyRef/DafnyRef.mdk
Lines 5939 to 5941 in 14d0af1
It would be useful to be able to call this with a similar built-in function that returns a
string
, for building strings from values without necessarily printing them to the console.The text was updated successfully, but these errors were encountered: