13 lines
359 B
Text
13 lines
359 B
Text
|
λ(nix : ../NixPrelude.dhall) →
|
||
|
let Bool/not =
|
||
|
https://prelude.dhall-lang.org/Bool/not.dhall
|
||
|
sha256:723df402df24377d8a853afed08d9d69a0a6d86e2e5b2bac8960b0d4756c7dc4
|
||
|
|
||
|
let warnIf = ./warnIf.dhall nix
|
||
|
|
||
|
let warnIfNot
|
||
|
: Bool → Text → ∀(a : Type) → a → a
|
||
|
= λ(cond : Bool) → warnIf (Bool/not cond)
|
||
|
|
||
|
in warnIfNot
|