6 lines
179 B
Text
6 lines
179 B
Text
λ(nix : ../NixPrelude.dhall) →
|
|
let fold = ./fold.dhall nix
|
|
|
|
in λ(a : Type) →
|
|
λ(o : Optional a) →
|
|
fold a o (List a) (λ(v : a) → [ v ]) ([] : List a)
|