Source/Packages

Std.Foundation

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

325 lines52 declarations11.6 KiBSHA-256 3dcbd3fa87ff

def · lines 260–269

stdResultIsSuccess

Full file
Did this result succeed?
260def stdResultIsSuccess =
261  (lambda erased errorType : Type 0 .
262    erased valueType : Type 0 .
263    unrestricted value : (family StdResult errorType valueType) .
264    eliminate
265      StdResult
266      (lambda unrestricted current : (family StdResult errorType valueType) . family StdBool)
267      value
268      (branch StdFailure held . constructor StdBool StdFalse)
269      (branch StdSuccess 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.