Tweaks to README
This commit is contained in:
parent
fa9389ee7f
commit
4bb6dc3c71
22
README.md
22
README.md
|
@ -24,25 +24,27 @@ Getting started
|
||||||
|
|
||||||
Install cur via `raco pkg install cur`.
|
Install cur via `raco pkg install cur`.
|
||||||
|
|
||||||
Try it out. Save the following to `test.rkt`, then run `racket test.rkt`.
|
Try it out: open up DrRacket and put the following in the definition area:
|
||||||
|
|
||||||
```racket
|
```racket
|
||||||
#lang cur
|
#lang cur
|
||||||
(require cur/stdlib/bool)
|
(require
|
||||||
|
cur/stdlib/bool
|
||||||
|
cur/stdlib/nat)
|
||||||
|
|
||||||
(if btrue
|
(if true
|
||||||
bfalse
|
false
|
||||||
btrue)
|
true)
|
||||||
|
```
|
||||||
|
|
||||||
(data True : Type
|
Try entering the following in the interaction area:
|
||||||
(I : True))
|
```racket
|
||||||
|
(sub1 (s (s z)))
|
||||||
I
|
|
||||||
```
|
```
|
||||||
|
|
||||||
See the docs: `raco docs cur`.
|
See the docs: `raco docs cur`.
|
||||||
|
|
||||||
The standard library is currently undocumented, so just see the source.
|
Most of the standard library is currently undocumented, so just see the source.
|
||||||
|
|
||||||
Going further
|
Going further
|
||||||
=============
|
=============
|
||||||
|
|
Loading…
Reference in New Issue
Block a user