mirror of
https://github.com/livebook-dev/livebook.git
synced 2025-10-26 05:16:29 +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
|
end
|
||||||
```
|
```
|
||||||
|
|
||||||
The string passed to `IO.gets/1` must have the same suffix as the
|
The string passed to `IO.gets/1` must be prefixed with the name you
|
||||||
input name and the returned string is always appended with a newline.
|
assigned to the input. The returned string is always appended with
|
||||||
This is built-in on top of Erlang's IO protocol and built in a way
|
a newline. This is built-in on top of Erlang's IO protocol and built
|
||||||
that your notebooks can be exported to Elixir scripts and still work!
|
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
|
Create your own inputs to learn more about the available input types
|
||||||
and options.
|
and options.
|
||||||
|
|
@ -180,7 +181,7 @@ Bench.sum()
|
||||||
```
|
```
|
||||||
|
|
||||||
The latest cell should execute orders of magnitude faster than
|
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`
|
itself is evaluated, the one million iterations of `Enum.reduce/3`
|
||||||
happen inside a module, which is compiled.
|
happen inside a module, which is compiled.
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue