[Top][All Lists]

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

[bug #30071] unfold isn't tail-recursive

From: Szavai Gyula
Subject: [bug #30071] unfold isn't tail-recursive
Date: Mon, 07 Jun 2010 18:30:35 +0000
User-agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv: Gecko/20100202 Firefox/3.5.8


                 Summary: unfold isn't tail-recursive
                 Project: Guile
            Submitted by: szgyg
            Submitted on: Mon 07 Jun 2010 06:30:34 PM GMT
                Category: None
                Severity: 3 - Normal
              Item Group: None
                  Status: None
                 Privacy: Public
             Assigned to: None
             Open/Closed: Open
         Discussion Lock: Any



(use-modules (srfi srfi-1))

  (let ((stack (* 0.05 (cadr (member 'stack (debug-options))))))
    (unfold (lambda (x) (> x stack)) identity 1+ 0)


Reply to this item at:


  Message sent via/by Savannah

reply via email to

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