Re:Nix-Lisp: A Lisp implementation written in Nix
by hddqsb on Sunday November 20, 2022 @07:04PM
(#33686991)
Eh, that's just quibbling over the syntax. The `define` forms could be rewritten as `let` to make things look more "pure".
(The only situation where `define` might be considered "impure" is if it was used to redefine a variable that already existed in the same scope; and even, then it could still be considered "pure" as long as it created a new variable instead of mutating the original variable.)
Perhaps it is pure excepting the top level, where mutations such as define are permitted.