lfe_lib(3)

πŸ“¦ version 2.2.0, in alpine 3.24, nixos 26.05, nixpkgs unstable

πŸ¦‹ NAME πŸ¦‹

Okay bestie, welcome to lfe_lib(3) β€” the manual page for lfe_lib, aka the Lisp Flavoured Erlang (LFE) library module. This is literally the page for it, and it’s giving β€œbehind-the-scenes infrastructure” energy. πŸ’–

✨ SYNOPSIS ✨

So lfe_lib is a collection of library functions for implementing LFE. Plot twist: they are generally not called by the user. Like, this is internal bestie territory β€” not your everyday call-it-yourself situation. 🫢

πŸ’… EXPORTS πŸ’…

🌸 new_env() -> Env. 🌸

Creates a new environment for the evaluator. Fresh env, no cap. ✨

πŸŽ€ add_env(Env1, Env2) -> Env. πŸŽ€

Adds environment Env1 to Env2 such that Env1 shadows Env2. The way Env1 just slides in and takes over the visibility? Iconic. πŸ’…

πŸ¦‹ is_erl_bif(Name, Arity) -> bool(). πŸ¦‹

πŸ¦‹ is_guard_bif(Name, Arity) -> bool(). πŸ¦‹

These test whether a Name/Arity is a BIF or guard BIF. And yes, this works for functions and operators too. Slay. πŸ”₯

⭐ is_core_form(Name) -> bool(). ⭐

Tests whether Name is one of the LFE core forms. Core form vibe check: passed or not. πŸ‘‘

πŸ‘‘ AUTHORS πŸ‘‘

Robert Virding. That’s the author. Respect the icon. 🫑


That’s the whole lfe_lib(3) tea, bestie πŸ“ β€” dated 2008-2016, and it’s the lfe_lib(3) manual page. Periodt. πŸ’…

πŸ“¦ where this page comes from