Skip to content
This repository has been archived by the owner on Jan 5, 2025. It is now read-only.

Commit

Permalink
Merge pull request #13 from lean-ja/fix-typo
Browse files Browse the repository at this point in the history
誤訳を修正
  • Loading branch information
Seasawher authored Jan 25, 2024
2 parents 6a87e8f + b309464 commit 02c17ef
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -226,7 +226,7 @@ The next part of the `do` block is responsible for asking the user for their nam
The first line writes the question to `stdout`, the second line requests input from `stdin`, and the third line removes the trailing newline (plus any other trailing whitespace) from the input line.
The definition of `name` uses `:=`, rather than `←`, because `String.dropRightWhile` is an ordinary function on strings, rather than an `IO` action.
-->
最初の行は質問を `stdout` に書き込み,2番目の行は `stdin` から入力をリクエストし,3番目の行は入力行から末尾の改行(および末尾の空白)を削除します.`name` の定義では,`String.dropRightWhile` は IO アクションではなく,通常の文字列関数であるため,`:=` ではなく `` を使用しています.
最初の行は質問を `stdout` に書き込み,2番目の行は `stdin` から入力をリクエストし,3番目の行は入力行から末尾の改行(および末尾の空白)を削除します.`name` の定義では,`String.dropRightWhile` は IO アクションではなく,通常の文字列関数であるため,`` ではなく `:=` を使用しています.

<!--
Finally, the last line in the program is:
Expand Down

0 comments on commit 02c17ef

Please sign in to comment.