ddash.functional

Functional utilities

Functions:

ModuleFunctionsPropertiesDescription
$(DDOX_NAMED_REF ddash.functional.cond, `cond`)$(DDOX_NAMED_REF functional.cond.cond, `cond`)Simulates an if/else chain with expressions
$(DDOX_NAMED_REF ddash.functional.pred, `pred`)$(DDOX_NAMED_REF functional.pred.eq, `eq`)<br> $(DDOX_NAMED_REF functional.pred.isEq, `isEq`)<br> $(DDOX_NAMED_REF functional.pred.lt, `lt`)<br> $(DDOX_NAMED_REF functional.pred.isLt, `isLt`)<br>Used to give types to predicates with certain common functionalities
$(DDOX_NAMED_REF ddash.functional.try_, `try_`)$(DDOX_NAMED_REF functional.try_.try_, `try_`)<br> $(DDOX_NAMED_REF functional.try_.Try, `Try`)<br>Call throwing functions as expressions

Modules

cond
module ddash.functional.cond

Create a function that encapsulates if/else-if/else logic

pred
module ddash.functional.pred

Contains types that determine the semantics of predicates

try_
module ddash.functional.try_

Functional try

Meta