mirror of
https://github.com/livebook-dev/livebook.git
synced 2025-12-18 22:21:32 +08:00
Fix minor typos in the distributed portals livebook (#386)
This commit is contained in:
parent
4b84a8176d
commit
b5b99ea6e3
1 changed files with 4 additions and 4 deletions
|
|
@ -7,7 +7,7 @@ programming language. We will explore both basic and advanced
|
||||||
concepts to implement our own version of [the Portal
|
concepts to implement our own version of [the Portal
|
||||||
game](http://en.wikipedia.org/wiki/Portal_(video_game)) to
|
game](http://en.wikipedia.org/wiki/Portal_(video_game)) to
|
||||||
transfer data across notebooks using Elixir's distribution
|
transfer data across notebooks using Elixir's distribution
|
||||||
capabalities.
|
capabilities.
|
||||||
|
|
||||||
For a more structured introduction to the language, see [Elixir's
|
For a more structured introduction to the language, see [Elixir's
|
||||||
Getting Started guide](https://elixir-lang.org/getting-started/introduction.html)
|
Getting Started guide](https://elixir-lang.org/getting-started/introduction.html)
|
||||||
|
|
@ -558,7 +558,7 @@ Portal.close(portal)
|
||||||
```
|
```
|
||||||
|
|
||||||
We have made some good progress in our implementation, so now let's work
|
We have made some good progress in our implementation, so now let's work
|
||||||
a bit on the presentation. Currently the Portal being printed as a struct:
|
a bit on the presentation. Currently, the Portal is printed as a struct:
|
||||||
`%Portal{left: :orange, right: :blue}`. It would be nice if we actually
|
`%Portal{left: :orange, right: :blue}`. It would be nice if we actually
|
||||||
had a printed representation of the portal transfer, allowing us to see
|
had a printed representation of the portal transfer, allowing us to see
|
||||||
the portal processes as we push data.
|
the portal processes as we push data.
|
||||||
|
|
@ -778,8 +778,8 @@ blue = {:blue, other_node}
|
||||||
Portal.Door.get(blue)
|
Portal.Door.get(blue)
|
||||||
```
|
```
|
||||||
|
|
||||||
It works! We could successlly read something from the other node. Now,
|
It works! We could successfully read something from the other node. Now,
|
||||||
let's shoot a yellow port on this node and start a transfer between them:
|
let's shoot a yellow portal on this node and start a transfer between them:
|
||||||
|
|
||||||
```elixir
|
```elixir
|
||||||
Portal.shoot(:yellow)
|
Portal.shoot(:yellow)
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue