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
I find attest's type serialisation capabilities extremely reliable, and I use (abuse) them often to debug, explore new code or help to write documentation. Right now, I'm using the following snippet to get the full string representation of a runtime value:
Is there a way to tap inside attest to only use the serialisation part? I tried to find it myself, but I'm struggling to fully understand the assertion-chaining code and its relationship to type inference.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
-
Hi,
I find attest's type serialisation capabilities extremely reliable, and I use (abuse) them often to debug, explore new code or help to write documentation. Right now, I'm using the following snippet to get the full string representation of a runtime value:
Is there a way to tap inside attest to only use the serialisation part? I tried to find it myself, but I'm struggling to fully understand the assertion-chaining code and its relationship to type inference.
Beta Was this translation helpful? Give feedback.
All reactions