Comments (7)
Personally (and as someone who is not familiar with Elixir) it seems like a fairly important part of the language's syntax. Perhaps something could be mentioned (as to the effect of option 1) in the first chapter?
From the Pipe Operator page:
"The pipe operator |> passes the result of an expression as the first parameter of another expression."
This seems like a fairly simple and intuitive explanation that could be included, perhaps then reference there is more detail in the dedicated chapter to it.
from elixirschool.
Done, thank you again @allefgomes!
from elixirschool.
@allefgomes we should backport this change to the other languages. Would you like to do that? If not I'm happy to do so.
from elixirschool.
Cheers @allefgomes
from elixirschool.
Yeah! You are right.
I saw that in guards session the pipe operator appear and don't have a previews explanation about it.
The sessions that use pipe operator are:
Guards
Default Arguments
I think that we have two options:
- We can put a simple signification like "The pipe operator
|>
is to send the result of function A to function B as the first argument. You will understood more about pipe operator in the next lesson" . - The Guards and Default Arguments sessions can be after introduction of pipe operator.
from elixirschool.
@doomspork can you close this issue?
It was finally at #2799
from elixirschool.
@allefgomes we should backport this change to the other languages. Would you like to do that? If not I'm happy to do so.
I can do it in the next week :)
from elixirschool.
Related Issues (20)
- Bug in Chrome App HOT 1
- Forbidden codepoint on zh-hans and ja locales HOT 3
- Date & Time links 404 HOT 5
- Update README to reflect repo's new role HOT 1
- Update Contributing Guide to Reflect New Publishing Workflow HOT 2
- Link in Functions lesson 500's HOT 2
- Implement a CI tool to ensure School House will build HOT 2
- HTML issue: text not in "Unicode Normalization Form C" HOT 1
- HTML issue: empty h1 in blog post
- {% raw %} {% endraw %} in Mnesia code sample HOT 2
- Titles in Lessons dropdown are not tranlasted to the current language HOT 2
- Extract examples
- cross-post of a blog HOT 4
- Merge Translated PRs Automatically After Review Period HOT 1
- Not able to understand the flow in function example HOT 1
- [JA] Merged PR is not reflected HOT 1
- Company page using Elixir link shows Heroku error HOT 1
- Website URL link down of companies using Elixir HOT 1
- [KO] translate issue in Ecto > associations > has_one
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from elixirschool.