9 lines
225 B
Text
9 lines
225 B
Text
|
λ(nix : ../NixPrelude.dhall) →
|
||
|
let default = ./default.dhall nix
|
||
|
|
||
|
let Misc/throw = ../Misc/throw.dhall nix
|
||
|
|
||
|
in λ(t : Type) →
|
||
|
λ(o : Optional t) →
|
||
|
default t (Misc/throw t "Tried to unwrap None") o
|