it: Result Nat Void = success 90
check: Nat = case it of
success \val => val
failure \_fail impossible ;;; could've been left off
Undecided: Name of the keyword or syntax in general.
Alt syntax:
it: Result Nat Void = success 90
check: Nat = case it of
success \val => val
@impossible (failure \_fail) ;;; no body + attribute analogously to foreign decls etc.
Meta: Expand.
Example
Undecided: Name of the keyword or syntax in general.
Alt syntax: