mirror of
https://codeberg.org/hako/Rosenthal.git
synced 2026-11-29 22:58:06 +00:00
Compare commits
2
Commits
ed43a49877
...
08b1980f22
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
08b1980f22 | ||
|
|
9454089804 |
No files matched your search
@@ -241,8 +241,9 @@ b3
|
||||
(define* (make-blame source value build-name positive negative original?
|
||||
#:key (context-limit #f))
|
||||
(define build/memo-name
|
||||
(let ((name (delay (build-name))))
|
||||
(lambda ()
|
||||
(build-name)))
|
||||
(force name))))
|
||||
|
||||
(define all-the-info
|
||||
(make-all-the-info
|
||||
|
||||
@@ -36,7 +36,7 @@ Enforcers are "late neg projections" in Racket, which look like the following:
|
||||
(lambda (val neg-party)
|
||||
...))
|
||||
|
||||
This allows a contract to be partially evaluated when it's constructed and
|
||||
This allows a contract to be partially applied when it's constructed and
|
||||
attached, before the value is actually checked.
|
||||
|
||||
See also (rosenthal utils contract combinators) for more examples, and
|
||||
|
||||
Reference in new issue
Block a user