peg: define-module cleanup
authorAndy Wingo <wingo@pobox.com>
Thu, 17 Feb 2011 12:38:14 +0000 (13:38 +0100)
committerAndy Wingo <wingo@pobox.com>
Wed, 16 Jan 2013 09:11:35 +0000 (10:11 +0100)
* module/ice-9/peg.scm: Fix up define-module block.

module/ice-9/peg.scm

index d0914cd..fa7cb3e 100644 (file)
 ;;;;
 
 (define-module (ice-9 peg)
-  :export (peg-sexp-compile peg-string-compile context-flatten peg-parse define-nonterm define-nonterm-f peg-match get-code define-grammar define-grammar-f peg:start peg:end peg:string peg:tree peg:substring peg-record? keyword-flatten)
-  :autoload (ice-9 pretty-print) (peg-sexp-compile peg-string-compile context-flatten peg-parse define-nonterm define-nonterm-f peg-match get-code define-grammar define-grammar-f keyword-flatten)
-  :use-module (ice-9 pretty-print))
-
-(use-modules (ice-9 pretty-print))
+  #:export (peg-sexp-compile
+            peg-string-compile
+            context-flatten
+            peg-parse
+            define-nonterm
+            define-nonterm-f
+            peg-match
+            get-code
+            define-grammar
+            define-grammar-f
+            peg:start
+            peg:end
+            peg:string
+            peg:tree
+            peg:substring
+            peg-record?
+            keyword-flatten)
+  #:use-module (ice-9 pretty-print))
 
 (eval-when (compile load eval)