Skip to content

Commit

Permalink
never-true required and allowed now have o's on the end
Browse files Browse the repository at this point in the history
  • Loading branch information
calvis committed Jan 20, 2012
1 parent 638f6a7 commit c54ae96
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions never-true.scm
@@ -1,6 +1,6 @@
(library
(never-true)
(export never-true never-pairo required allowed)
(export never-trueo never-pairo requiredo allowedo)
(import (rnrs) (ck))

(define never-true-c
Expand All @@ -11,15 +11,15 @@
((pred? x) #f)
(else ((update-c (build-oc never-true-c pred? x)) a)))))))

(define never-true
(define never-trueo
(lambda (pred? x)
(goal-construct (never-true-c pred? x))))

(define never-pairo
(lambda (x)
(never-true pair? x)))

(define required
(define requiredo
(lambda (pred? x)
(goal-construct (required-c pred? x))))

Expand All @@ -40,7 +40,7 @@
(and (not (find (lambda (oc) (eq? 'required-c (oc->rator oc))) c))
a)))

(define allowed
(define allowedo
(lambda (u v)
(goal-construct (allowed-c pred? x))))

Expand Down

0 comments on commit c54ae96

Please sign in to comment.