MAPABLEVERYEXPR(3)

πŸ“¦ version 5.1.1-unstable-2025-02, in nixos 26.05, nixpkgs unstable

πŸ’– NAME πŸ’–

Okay bestie, welcome to mapableveryexpr(3) from the ABL FUNCTIONS manual β€” it applies a function to all operands. That’s the whole assignment, and it slay. periodt. πŸ’…


πŸ¦‹ 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. ✨


🌸 SYNOPSIS 🌸

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

πŸŽ€ PARAMETERS πŸŽ€

  • Function β€” the function name you’re applying to all the operands. πŸ’–
  • Expr β€” the expression to scan. πŸ”

✨ DESCRIPTION ✨

mapableveryexpr applies Function to all operands of Expr. That’s it, that’s the vibe. πŸ¦‹


πŸ‘‘ 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 it’s the AND of all those results, no cap. πŸ’«


πŸ’œ EXAMPLE πŸ’œ

Here’s the example, exactly as the page gives it β€” no edits, bestie: 🫢

       #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 );
          ...

πŸ”₯ SEE ALSO πŸ”₯

Go peek at these too, iykyk:


πŸ“ BUG REPORT πŸ“

This tool is under development at the ASIM department of the LIP6 laboratory. They need your feedback to improve documentation and tools. fr fr, send the feedback. πŸ’Œ


xoxo, ASIM/LIP6 🫢 October 1, 1997 ✨ β€” later, bestie! (MAPABLEVERYEXPR(3)) πŸ’–

πŸ“¦ where this page comes from