help-gnu-emacs
[Top][All Lists]
Advanced

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

Re: Virtual pet for Emacs


From: Emanuel Berg
Subject: Re: Virtual pet for Emacs
Date: Wed, 04 May 2022 20:35:20 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (gnu/linux)

Rudolf Adamkovič wrote:

> (defun points-to-evolution (total-points)
>   (dolist (points +pet-evolution-tree+)
>     (if (> (car points) total-points)
>       (return ;; <------------------- HERE
>        (nth 1
>         (assoc (car points) +pet-evolution-tree+))))))
>
> My Emacs (v29 from Git) does not define "return".
>
> Any ideas what to do?

Remove it, the return concept is moronic anyway :)

In Lisp you don't need it since everything evaluates into
something anyway.

But I think there is a return in `cl-loop' actually ... the
exception that proves the rule, right?

  - Today we have a delivery to the Forbidden Zone.
  
  - Excuse me, are we even allowed in the Forbidden Zone?
  
  - Of course! it's just a name, like the Zone of Death or
  - Zone of No Return.

Lisp World! <3

-- 
underground experts united
https://dataswamp.org/~incal




reply via email to

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