formally deprecate `app'
authorAndy Wingo <wingo@pobox.com>
Tue, 20 Apr 2010 11:41:41 +0000 (13:41 +0200)
committerAndy Wingo <wingo@pobox.com>
Thu, 22 Apr 2010 13:31:02 +0000 (15:31 +0200)
* module/ice-9/deprecated.scm (app): Deprecate.
* module/ice-9/boot-9.scm: Remove app definition.

module/ice-9/boot-9.scm
module/ice-9/deprecated.scm

index bb73912..ff9fa9f 100644 (file)
@@ -2338,7 +2338,6 @@ If there is no handler at all, Guile prints an error and then exits."
 
 (define %app (make-module 31))
 (set-module-name! %app '(%app))
-(define app %app) ;; for backwards compatability
 
 (let ((m (make-module 31)))
   (set-module-name! m '())
index 02ba537..0e00633 100644 (file)
@@ -38,7 +38,8 @@
             $tanh
             closure?
             %nil
-            @bind))
+            @bind
+            app))
 
 ;;;; Deprecated definitions.
 
                    (lambda () b0 b1 ...)
                    (lambda ()
                      (set! id old-v) ...)))))))))
+
+(define app %app)