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
It seems that we can seamlessly integrate tools such as beartype or typeguard into truelearn, since we have already typed all the parameters of the public API.
By using these tools, we can
be more robust (ensure that all the given parameters are of the expected type)
avoid repeating ourselves (can potentially remove the TypeConstraint)
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
-
Inspired by this article.
It seems that we can seamlessly integrate tools such as beartype or typeguard into truelearn, since we have already typed all the parameters of the public API.
By using these tools, we can
TypeConstraint
)Beta Was this translation helpful? Give feedback.
All reactions