lfe_lib(3)
π¦ 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
- alpine 3.24: lfe-doc 2.2.0-r2 Β· Apache-2.0
- nixos 26.05: erlang27.3.4.19-lfe 2.2.0
- nixpkgs unstable: erlang27.3.4.19-lfe 2.2.2
- nixpkgs unstable: erlang28.5.0.8-lfe 2.2.2
- nixpkgs unstable: erlang29.1.2-lfe 2.2.2
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms