Skip to content

Commit

Permalink
Merge pull request #429 from Kindelia/experimental
Browse files Browse the repository at this point in the history
Fixed README and kind binary
  • Loading branch information
algebraic-dev authored Dec 1, 2022
2 parents da2b235 + 53f82b4 commit a25a1a0
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 2 deletions.
9 changes: 8 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ map a b Nil f = Nil
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
// Prints the double of every number up to a limit
Expand Down Expand Up @@ -58,6 +58,13 @@ First, install [Rust](https://www.rust-lang.org/tools/install) first, then enter
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:

Command | Usage | Note
Expand Down
2 changes: 1 addition & 1 deletion crates/kind-cli/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ license = "MIT"
keywords = ["functional", "language", "type-theory", "proof-assistant"]

[[bin]]
name = "kind"
name = "kind2"
path = "src/main.rs"

# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
Expand Down
1 change: 1 addition & 0 deletions rust-toolchain
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
nightly

0 comments on commit a25a1a0

Please sign in to comment.