mirror of
https://github.com/livebook-dev/livebook.git
synced 2024-12-25 17:02:23 +08:00
Fix minor typos in the elixir and livebook livebook (#390)
This commit is contained in:
parent
0500ad5c62
commit
ed072198d1
1 changed files with 6 additions and 5 deletions
|
@ -133,10 +133,11 @@ case Date.from_iso8601(trimmed) do
|
|||
end
|
||||
```
|
||||
|
||||
The string passed to `IO.gets/1` must have the same suffix as the
|
||||
input name and the returned string is always appended with a newline.
|
||||
This is built-in on top of Erlang's IO protocol and built in a way
|
||||
that your notebooks can be exported to Elixir scripts and still work!
|
||||
The string passed to `IO.gets/1` must be prefixed with the name you
|
||||
assigned to the input. The returned string is always appended with
|
||||
a newline. This is built-in on top of Erlang's IO protocol and built
|
||||
in a way that your notebooks can be exported to Elixir scripts and
|
||||
still work!
|
||||
|
||||
Create your own inputs to learn more about the available input types
|
||||
and options.
|
||||
|
@ -180,7 +181,7 @@ Bench.sum()
|
|||
```
|
||||
|
||||
The latest cell should execute orders of magnitude faster than
|
||||
the previous `Enum.reduce/3` call. While the call `Bench.example()`
|
||||
the previous `Enum.reduce/3` call. While the call `Bench.sum()`
|
||||
itself is evaluated, the one million iterations of `Enum.reduce/3`
|
||||
happen inside a module, which is compiled.
|
||||
|
||||
|
|
Loading…
Reference in a new issue