mirror of
https://github.com/Kindelia/Kind2.git
synced 2024-09-11 07:15:45 +03:00
fix: readme and added rust-toolchain
This commit is contained in:
parent
023369a1c8
commit
53f82b4f66
@ -25,7 +25,7 @@ map a b Nil f = Nil
|
|||||||
map a b (Cons head tail) f = Cons (f head) (map tail f)
|
map a b (Cons head tail) f = Cons (f head) (map tail f)
|
||||||
```
|
```
|
||||||
|
|
||||||
Side-effective programs are written via monadic monads, resembling [Rust](https://www.rust-lang.org/) and [TypeScript](https://www.typescriptlang.org/):
|
Side-effective programs are written via monads, resembling [Rust](https://www.rust-lang.org/) and [TypeScript](https://www.typescriptlang.org/):
|
||||||
|
|
||||||
```javascript
|
```javascript
|
||||||
// Prints the double of every number up to a limit
|
// Prints the double of every number up to a limit
|
||||||
@ -58,6 +58,13 @@ First, install [Rust](https://www.rust-lang.org/tools/install) first, then enter
|
|||||||
cargo install kind2
|
cargo install kind2
|
||||||
```
|
```
|
||||||
|
|
||||||
|
### Warning:
|
||||||
|
New versions probably are not in `cargo`, so you can install the current version of kind2 by following these instructions:
|
||||||
|
|
||||||
|
1. Install Rust Nightly Toolchain
|
||||||
|
2. Clone the repository
|
||||||
|
3. `cargo install --path crates/kind-cli --force`
|
||||||
|
|
||||||
Then, use any of the commands below:
|
Then, use any of the commands below:
|
||||||
|
|
||||||
Command | Usage | Note
|
Command | Usage | Note
|
||||||
|
1
rust-toolchain
Normal file
1
rust-toolchain
Normal file
@ -0,0 +1 @@
|
|||||||
|
nightly
|
Loading…
Reference in New Issue
Block a user