emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Is there any easy way to fork in elisp? Why not?


From: Richard Stallman
Subject: Re: Is there any easy way to fork in elisp? Why not?
Date: Mon, 01 Nov 2021 23:55:18 -0400

[[[ To any NSA and FBI agents reading my email: please consider    ]]]
[[[ whether defending the US Constitution against all enemies,     ]]]
[[[ foreign or domestic, requires you to follow Snowden's example. ]]]

    > The fork API could be:
    > ```
    > (let-fork ((some_val (expensive_compute)) ...)  
    >  (lambda()
    >    (message "Computed: %s" some_val)))

I don't see why this needs to do a fork at all.
If `expensive_compute' does not set any free variables
and does not modify preexisting data structures,
it should work to define `let-fork' as equivalent to `let'.

-- 
Dr Richard Stallman (https://stallman.org)
Chief GNUisance of the GNU Project (https://gnu.org)
Founder, Free Software Foundation (https://fsf.org)
Internet Hall-of-Famer (https://internethalloffame.org)





reply via email to

[Prev in Thread] Current Thread [Next in Thread]