MAPABLEVERYEXPR(3)
π MAPABLEVERYEXPR π
okay bestie, gather round, we're doing mapableveryexpr from the ABL FUNCTIONS corner of the manual, and honestly? she's a little workhorse. sit with me π«Ά
β¨ NAME β¨
mapableveryexpr β applies a function to all operands. that's it, that's the whole vibe, she scans and she applies π
πΈ ORIGIN πΈ
This software belongs to the ALLIANCE CAD SYSTEM, developed by the ASIM team at LIP6 laboratory of UniversitΓ© Pierre et Marie CURIE, in Paris, France. oui oui, trΓ¨s iconique π«π·
- Web :
http://asim.lip6.fr/recherche/alliance/ - E-mail :
alliance-users@asim.lip6.fr
π SYNOPSIS π
#include "abl101.h"
int mapableveryexpr( Function, Expr )
void (βFunction)();
chain_list βExpr;
look at her, so small, so powerful β
π¦ PARAMETERS π¦
Functionβ Function name to apply to all operands. yes bestie, you're passing in a function, it's giving higher-order, it's giving main character energy πExprβ Expression to scan. the thing we're going through, top to bottom, no skips π
π DESCRIPTION π
mapableveryexpr applies Function to all operands of Expr. that's the tea. every single operand gets the function treatment, no one is left out, everybody eats π₯
π RETURN VALUE π
mapableveryexpr returns the value of a logical AND applied on the results of the application of the function on the arguments of the expression Expr.
so basically: everything has to come back truthy for the whole thing to be truthy. one hater in the group chat and the AND says no π
β EXAMPLE β
#include "abl101.h"
int MapFunction( MapExpr )
chain_list βMapExpr;
{
if ( ABL_ATOM( MapExpr ) )
{
if ( ABL_ATOM_VALUE( MapExpr ) == getablatomzero() )
{
return( 1 );
}
}
return( 0 );
}
...
chain_list βExpr;
...
mapableveryexpr( MapFunction, Expr );
...
copy it exactly, don't freestyle the syntax bestie, the compiler will clock you π
πΈ SEE ALSO πΈ
(the whole friend group, go read them too, iykyk π«Ά)
π§ BUG REPORT π§
This tool is under development at the ASIM department of the LIP6 laboratory.
We need your feedback to improve documentation and tools.
fr fr, if something's weird, tell them. documentation glow-ups only happen when people speak up π
and that's the whole page, bestie β¨ this one came from ASIM/LIP6, dated October 1, 1997, and the manual tag on the bottom was MAPABLEVERYEXPR(3) β like, she's been slaying since the nineties and she's still serving ππ
π¦ where this page comes from
- fedora 43: alliance-devel 5.1.1-35.20160506gitd8c05cd.fc42 Β· GPL-2.0-only
- fedora 43: alliance-devel 5.1.1-35.20160506gitd8c05cd.fc42 Β· GPL-2.0-only
- fedora 44: alliance-devel 5.1.1-35.20160506gitd8c05cd.fc42 Β· GPL-2.0-only
- fedora 44: alliance-devel 5.1.1-35.20160506gitd8c05cd.fc42 Β· GPL-2.0-only
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms