Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Trivial cleanups #28

Merged
merged 1 commit into from
Jan 9, 2025
Merged

Trivial cleanups #28

merged 1 commit into from
Jan 9, 2025

Conversation

seanmcl
Copy link
Collaborator

@seanmcl seanmcl commented Jan 9, 2025

No behavior changes.

@@ -10,14 +10,16 @@ namespace TensorLib
--! The error monad for TensorLib
abbrev Err := Except String

def impossible {a : Type} [h : Inhabited a] (msg : String := "") := @panic a h s!"Invariant violation: {msg}"
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice, I am going to use this.

@seanmcl seanmcl merged commit da42f1e into main Jan 9, 2025
1 check passed
@seanmcl seanmcl deleted the sm/01-cleanup branch January 9, 2025 20:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants