12 lines
400 B
Text
12 lines
400 B
Text
λ(nix : ../NixPrelude.dhall) →
|
|
let Bool/not =
|
|
https://raw.githubusercontent.com/dhall-lang/dhall-lang/v22.0.0/Prelude/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
|