Skip to content

Commit

Permalink
Add the assert builtin (#124)
Browse files Browse the repository at this point in the history
* Requires anoma/juvix#3014
  • Loading branch information
lukaszcz authored Oct 7, 2024
1 parent 615a02c commit 8c2255d
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions Stdlib/Data/Bool/Base.juvix
Original file line number Diff line number Diff line change
Expand Up @@ -36,3 +36,6 @@ or (a b : Bool) : Bool := a || b;

--- Logical conjunction.
and (a b : Bool) : Bool := a && b;

builtin assert
assert (x : Bool) : Bool := x;

0 comments on commit 8c2255d

Please sign in to comment.