Looks like my example code needed 'map' 
(defun map (f l) 
  "map function?"
  (if 
         (nullp l)
         '()
    (if (listp l)
           (if (= 1 (length l))
                  (list (funcall f (car l)))
                (if (> (length l) 1)
                     (cons (map f (car l))
                                 (map f (cdr l)))))
         (funcall f l)
         )))

** Tags added: bionic

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/508618

Title:
  Setting max-specpdl-size of 34295 allows segfaults with 'simple' elisp

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/emacs23/+bug/508618/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to