summaryrefslogtreecommitdiff
path: root/modules/language/python
diff options
context:
space:
mode:
Diffstat (limited to 'modules/language/python')
-rw-r--r--modules/language/python/module/copy.scm4
-rw-r--r--modules/language/python/module/pickle.scm8
-rw-r--r--modules/language/python/persist.scm2
3 files changed, 7 insertions, 7 deletions
diff --git a/modules/language/python/module/copy.scm b/modules/language/python/module/copy.scm
index 795fff1..9393aa0 100644
--- a/modules/language/python/module/copy.scm
+++ b/modules/language/python/module/copy.scm
@@ -8,5 +8,5 @@
(match x
((#:obj x) x)
(x x)))
-(define (copy x) (s ((@@ (logic guile-log persistance) copy) x)))
-(define (deepcopy x) (S ((@@ (logic guile-log persistance) deep-copy) x)))
+(define (copy x) (s ((@@ (persist persistance) copy) x)))
+(define (deepcopy x) (S ((@@ (persist persistance) deep-copy) x)))
diff --git a/modules/language/python/module/pickle.scm b/modules/language/python/module/pickle.scm
index 8c14e8e..8ed7f6d 100644
--- a/modules/language/python/module/pickle.scm
+++ b/modules/language/python/module/pickle.scm
@@ -3,18 +3,18 @@
#:export (dump dumps load loads name nameDeep))
(define* (dump obj file #:key (protocol #f) (fix_imports #t))
- ((@@ (logic guile-log persistance) dump) obj file))
+ ((@@ (persist persistance) dump) obj file))
(define* (dumps obj #:key (protocol #f) (fix_imports #t))
- ((@@ (logic guile-log persistance) dumps) obj))
+ ((@@ (persist persistance) dumps) obj))
(define* (load file
#:key (fix_imports #t) (encodeing "ASCII") (errors "strict"))
- ((@@ (logic guile-log persistance) load) file))
+ ((@@ (persist persistance) load) file))
(define* (loads s
#:key (fix_imports #t) (encodeing "ASCII") (errors "strict"))
- ((@@ (logic guile-log persistance) loads) s))
+ ((@@ (persist persistance) loads) s))
(define-syntax-rule (name x) (name-object x))
(define-syntax-rule (nameDeep x) (name-object-deep x))
diff --git a/modules/language/python/persist.scm b/modules/language/python/persist.scm
index 4ee46fc..1835201 100644
--- a/modules/language/python/persist.scm
+++ b/modules/language/python/persist.scm
@@ -4,7 +4,7 @@
#:use-module (ice-9 pretty-print)
#:use-module (oop goops)
#:use-module (oop pf-objects)
- #:use-module (logic guile-log persistance)
+ #:use-module (persist persistance)
#:re-export(pcopyable? deep-pcopyable? pcopy deep-pcopy name-object
name-object-deep)
#:export (reduce cp red cpit))