Expr-option
Fixtype of optional expressions.
This is an option type introduced by fty::defoption.
Note that defoption is just a wrapper for fty::defflexsum, so there are :none and :some member
types, a case macro, and so forth.
Member Types
- :none → expr-option-none
- Represents that no expr-option is available, i.e., Nothing or None.
- :some → expr-option-some
- An available expr-option, i.e., Just val or Some val.
Expressions are defined in expr.
Subtopics
- Expr-option-case
- Case macro for the different kinds of expr-option structures.
- Expr-option-equiv
- Basic equivalence relation for expr-option structures.
- Expr-optionp
- Recognizer for expr-option structures.
- Expr-option-some
- An available expr-option, i.e., Just val or Some val.
- Expr-option-none
- Represents that no expr-option is available, i.e., Nothing or None.
- Expr-option-fix
- Fixing function for expr-option structures.
- Expr-option-count
- Measure for recurring over expr-option structures.