Module aermicioi.util.traits.partial

Functions

NameDescription
curry(func, args)

Templates

NameDescription
applyArgs Instantiate a template with Args, and apply them to pred.
chain Chain a set of templates, and apply Args as input.
eq Instantiate a template that will check equality of first with second
get
gt Instantiate a template that will check if first is greater than second
gte Instantiate a template that will check if first is greater or equal than second
if_ Execute trueBranch or falseBranch depending on pred!Args bool result.
lt Instantiate a template that will check if first is less than second
lte Instantiate a template that will check if first is less or equal than second
partial Apply to Preds a set of Args.
staticAssert

Manifest constants

NameTypeDescription
allSatisfied
anySatisfied

Aliases

NameTypeDescription
failable if_!(partialPrefixed!(compiles,pred),pred,response) Execute pred, if it does not have any compiler errors.
onFail if_!(isTrue,isTrue,chain!(get!0,partialPrefixed!(tee,pred)))
onFailPrint onFail!(partialSuffixed!(pragmaMsg,error))
partialPrefixed
partialPrefixed
partialSuffixed
partialSuffixed
reverse AliasSeq!(args[__dollar-1],reverse!(args[0..__dollar-2])) Reverse the order of arguments.
tee args