dhall-nix-lib/Optional/all.dhall

6 lines
153 B
Text
Raw Normal View History

2022-09-02 08:10:20 +00:00
λ(nix : ../NixPrelude.dhall) →
λ(a : Type) →
λ(f : a → Bool) →
λ(xs : Optional a) →
let fold = ./fold.dhall nix in fold a xs Bool f True