Skip to content

Commit

Permalink
Bump version (#1277)
Browse files Browse the repository at this point in the history
* Refactor documentation

* Update

* Bump version
  • Loading branch information
raviqqe authored Aug 6, 2022
1 parent 5340c4a commit 660e9ce
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion cmd/pen/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "pen"
version = "0.4.7"
version = "0.4.8"
authors = ["Yota Toyama <[email protected]>"]
edition = "2021"

Expand Down
4 changes: 2 additions & 2 deletions doc/src/guides/concurrency-and-parallelism.md
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ This functionality is similar to concurrent queues in other imperative languages

### Task parallelism

You can use the `go` function to run different codes concurrently. For example, the following code runs the functions, `computeA` and `computeB` concurrently. Runtimes of applications might execute those functions even in parallel if their system packages allow that,
The `go` function can run different codes concurrently. For example, the following code runs the functions, `computeA` and `computeB` concurrently. Runtimes of applications might execute those functions even in parallel if their system packages allow that.

```pen
compute = \(x number, y number) number {
Expand All @@ -49,7 +49,7 @@ compute = \(x number, y number) number {

### Data parallelism

To run the same computation against many pieces of the same kind of data, you can use recursion and the `go` function.
To run the same computation against many values of the same type, you can use recursion and the `go` function.

```pen
computeMany = \(xs [number]) [number] {
Expand Down

0 comments on commit 660e9ce

Please sign in to comment.