MAPABLEXPR(3)

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

okay bestie, welcome to MAPABLEXPR(3) from the ABL FUNCTIONS manual β€” yes, the manual name is folded in right here because we're cute like that πŸ’–

✨ NAME ✨

mapablexpr β€” applies a function to all operands. That's the tagline, and it ate πŸ’…

🌸 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, Paris πŸ₯βœ¨

πŸŽ€ SYNOPSIS πŸŽ€

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

πŸ’… PARAMETERS πŸ’…

  • Function β€” function name to apply to all operands.
  • Expr β€” expression to scan.

πŸ¦‹ DESCRIPTION πŸ¦‹

mapablexpr applies Function to all operands of Expr. That's the whole vibe: one function, every operand, no drama ✨

⭐ RETURN VALUE ⭐

mapablexpr returns nothing. Literally nothing, bestie πŸ’€

🌈 EXAMPLE 🌈

#include "abl101.h"
   void MapFunction( MapExpr )
     chain_list βˆ—MapExpr;
   {
     if ( ABL_ATOM( MapExpr ) )
     {
       printf( stdout, "%s", ABL_ATOM_VALUE( MapExpr ) );
     }
     else
     {
       mapablexpr( MapFunction, MapExpr );
     }
   }
   ...
   chain_list βˆ—Expr;
   ...
   mapablexpr( MapFunction, Expr );
   ...

πŸ”₯ SEE ALSO πŸ”₯

abl(1) β€” go peek, bestie πŸ‘€

πŸ’œ BUG REPORT πŸ’œ

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

signed, sealed, and slayed by ASIM/LIP6 on October 1, 1997, for MAPABLEXPR(3) β€” periodt πŸ’Œ

πŸ“¦ where this page comes from