dhall-nix-lib/Any/equal.dhall

8 lines
255 B
Text

λ(nix : ../NixPrelude.dhall) →
let Any = ./Type.dhall
let Any/toTypeUnchecked = ./toTypeUnchecked.dhall nix
let eqFile = nix.builtins.toFile "eq.nix" "a: b: a == b"
in Any/toTypeUnchecked (Any → Any → Bool) (nix.builtins.import eqFile)