Added redex-lib dep and install instructions
This commit is contained in:
parent
740aaee756
commit
1e3994d388
27
README.md
27
README.md
|
@ -15,9 +15,30 @@ cur (plural curs)
|
||||||
Getting started
|
Getting started
|
||||||
===============
|
===============
|
||||||
|
|
||||||
Requires redex-lib version 1.6 if you want answers in a reasonable amount
|
Install cur via `raco pkg install git://github.com/wilbowma/cur.git`.
|
||||||
of time. Otherwise, the type-checker may require exponential time
|
Setup will likely result in a ton of errors that are safe to ignore.
|
||||||
or worse.
|
|
||||||
|
Try it out. Save the following to `test.rkt`, then run `racket test.rkt`.
|
||||||
|
|
||||||
|
```racket
|
||||||
|
#lang cur
|
||||||
|
(require cur/stdlib/bool)
|
||||||
|
|
||||||
|
(if btrue
|
||||||
|
bfalse
|
||||||
|
btrue)
|
||||||
|
|
||||||
|
(data True : Type
|
||||||
|
(I : True))
|
||||||
|
|
||||||
|
I
|
||||||
|
```
|
||||||
|
|
||||||
|
There is currently little documentation, so your best bet is to look at
|
||||||
|
the source code in the `stdlib` for examples.
|
||||||
|
|
||||||
|
Going further
|
||||||
|
=============
|
||||||
|
|
||||||
Open up `examples/example.rkt` to see a tour of Cur's features.
|
Open up `examples/example.rkt` to see a tour of Cur's features.
|
||||||
|
|
||||||
|
|
2
info.rkt
2
info.rkt
|
@ -1,6 +1,6 @@
|
||||||
#lang info
|
#lang info
|
||||||
(define collection "cur")
|
(define collection "cur")
|
||||||
(define deps '("base" "rackunit-lib"))
|
(define deps '("base" "rackunit-lib" ("redex-lib" #:version "1.6")))
|
||||||
(define build-deps '("scribble-lib" "racket-doc"))
|
(define build-deps '("scribble-lib" "racket-doc"))
|
||||||
(define scribblings '(("scribblings/cur.scrbl" ())))
|
(define scribblings '(("scribblings/cur.scrbl" ())))
|
||||||
(define pkg-desc "Dependent types with parenthesis and meta-programming.")
|
(define pkg-desc "Dependent types with parenthesis and meta-programming.")
|
||||||
|
|
Loading…
Reference in New Issue
Block a user