
Created split packages: cur, cur-lib, cur-test, cur-doc, similar to other Racket packages, e.g., redex. * Moved tests out of core and into cur-test * Moved docs into cur-doc * Moved cur implementation and libraries into cur-lib * Added cur meta-pacakge that installs all of the above
19 lines
427 B
Racket
19 lines
427 B
Racket
#lang cur
|
|
(require
|
|
rackunit
|
|
cur/stdlib/bool
|
|
cur/stdlib/sugar)
|
|
|
|
(check-equal? (not true) false)
|
|
(check-equal? (not false) true)
|
|
|
|
(check-equal? (and true false) false)
|
|
(check-equal? (and false false) true)
|
|
(check-equal? (and false true) false)
|
|
(check-equal? (and true true) true)
|
|
|
|
(check-equal? (or true false) true)
|
|
(check-equal? (or false false) false)
|
|
(check-equal? (or false true) true)
|
|
(check-equal? (or true true) true)
|