dhall-nix-lib/Any/negate.dhall

9 lines
199 B
Text
Raw Normal View History

2022-08-31 13:18:49 +00:00
λ(nix : ../NixPrelude.dhall) →
let Any = ./Type.dhall
let Any/toAny = ./toAny.dhall nix
2022-08-31 15:08:06 +00:00
let Any/subtract = ./subtract.dhall nix
2022-08-31 13:18:49 +00:00
2022-08-31 15:08:06 +00:00
in λ(e : Any) → Any/subtract (Any/toAny Natural 0) e