Skip to content

Commit

Permalink
Add some documentation for (?!) combinator
Browse files Browse the repository at this point in the history
Haddocks are automatically available from LSP
  • Loading branch information
abailly-iohk committed Oct 24, 2024
1 parent 413824f commit 2f64542
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -801,6 +801,7 @@ instance
Util
-------------------------------------------------------------------------------}

-- | Check value and raise error if it is false.
(?!) :: Bool -> e -> Except e ()
a ?! b = unless a $ throwError b

Expand Down

0 comments on commit 2f64542

Please sign in to comment.