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
We have resize, a function that can truncate by throwing away bits. We also have checkedResize, a function that does the same, but throws an error in simulation if the value of the argument does not fit in the result type. Ideally, we'd also have a total function that returns a Maybe instead.
The text was updated successfully, but these errors were encountered:
We have
resize
, a function that can truncate by throwing away bits. We also havecheckedResize
, a function that does the same, but throws an error in simulation if the value of the argument does not fit in the result type. Ideally, we'd also have a total function that returns aMaybe
instead.The text was updated successfully, but these errors were encountered: