From 660e9cece07ea02c4def4003aeb39657f9f35bd7 Mon Sep 17 00:00:00 2001 From: Yota Toyama Date: Sat, 6 Aug 2022 11:19:54 -0700 Subject: [PATCH] Bump version (#1277) * Refactor documentation * Update * Bump version --- Cargo.lock | 2 +- cmd/pen/Cargo.toml | 2 +- doc/src/guides/concurrency-and-parallelism.md | 4 ++-- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index ef1127eb99..d54313355a 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -984,7 +984,7 @@ dependencies = [ [[package]] name = "pen" -version = "0.4.7" +version = "0.4.8" dependencies = [ "app", "clap 3.2.16", diff --git a/cmd/pen/Cargo.toml b/cmd/pen/Cargo.toml index 6d51a0284e..9e7762f76d 100644 --- a/cmd/pen/Cargo.toml +++ b/cmd/pen/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "pen" -version = "0.4.7" +version = "0.4.8" authors = ["Yota Toyama "] edition = "2021" diff --git a/doc/src/guides/concurrency-and-parallelism.md b/doc/src/guides/concurrency-and-parallelism.md index 23bd6f24e8..4e808a591e 100644 --- a/doc/src/guides/concurrency-and-parallelism.md +++ b/doc/src/guides/concurrency-and-parallelism.md @@ -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 { @@ -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] {