MAPABLANYEXPR(3)

πŸ“¦ version 5.1.1, in fedora 43, fedora 44

✨ MAPABLANYEXPR ✨

okay bestie, gather round, because we're talking about mapablanyexpr(3) from the ABL FUNCTIONS crew πŸ’– this is a little C function that goes absolutely feral applying your function to every single operand. no cap.


🌸 NAME 🌸

mapablanyexpr β€” applies a function to all operands. that's it, that's the whole vibe πŸ’…


πŸ¦‹ ORIGIN πŸ¦‹

bestie this software belongs to the ALLIANCE CAD SYSTEM, developed by the ASIM team at the LIP6 laboratory of UniversitΓ© Pierre et Marie CURIE, in Paris, France πŸ₯πŸ‡«πŸ‡· iconic lineage fr fr.


✨ SYNOPSIS ✨

#include "abl101.h"
int mapablanyexpr( Function, Expr )
  void      (βˆ—Function)();
  chain_list βˆ—Expr;

πŸŽ€ PARAMETERS πŸŽ€

  • Function β€” the function name to apply to all operands. your little worker bee 🐝
  • Expr β€” the expression to scan. the thing we're running through πŸ’«

πŸ’– DESCRIPTION πŸ’–

so here's the tea: mapablanyexpr applies Function to all operands of Expr. every single one. it's giving thorough. it's giving completionist. it's giving main character energy πŸ‘‘


πŸ”₯ RETURN VALUE πŸ”₯

mapablanyexpr returns the value of a logical OR applied on the results of the application of the function on the arguments of an operator expression. so like… if any of them come back truthy, you get a truthy. slay πŸ’…


🌈 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;
   ...
   mapablanyexpr( MapFunction, Expr );
   ...

πŸ‘‘ SEE ALSO πŸ‘‘

abl(1), mapablexpr(3), mapableveryexpr(3). go read those too bestie, they're part of the family 🫢


πŸ’€ BUG REPORT πŸ’€

This tool is under development at the ASIM department of the LIP6 laboratory. We need your feedback to improve documentation and tools.

no seriously, send the feedback. they're literally asking. it's giving "we're so open to notes" and honestly? we love that for them πŸ₯Ί

that's the whole page bestie, hope you ate it up ✨ this one came from ASIM/LIP6 and it's dated October 1, 1997 β€” vintage but still serving πŸ’…πŸ¦‹ mwah, go forth and map those operands πŸ’–