Source/Packages

Std.Foundation

packages/foundation/standard/src/Std/Foundation.alpha

329 lines52 declarations12.3 KiBSHA-256 7818c29d5c7c

def · lines 243–251

stdOptionIsSome

Full file
Does this option hold a value?
243def stdOptionIsSome =
244  (lambda erased element : Type 0 .
245    (lambda unrestricted value : (family StdOption element) .
246      (eliminate
247        StdOption
248        (lambda unrestricted current : (family StdOption element) . (family StdBool))
249        value
250        (branch StdNone . (constructor StdBool StdFalse))
251        (branch StdSome held . (constructor StdBool StdTrue)))))

The compiler supplied declaration spans and resolved links from this source snapshot. This page does not assert that this file belongs to a checked closure.