dhall-nix-lib/Any/equal.dhall

9 lines
255 B
Text
Raw Normal View History

2022-08-31 13:18:49 +00:00
λ(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)