We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
I was reading the Blocks section of the Gleam for Elixir Users and I was surprised by this syntax — when I tried it in iex, it's not valid Elixir
iex
x = do print(1) 2 end
(code link)
Maybe there is a syntax, but I couldn't find it 🤔
(I saw 1.14 in the screenshot, but I tried 1.15 and 1.16 too: same problem)
1.14
1.15
1.16
The text was updated successfully, but these errors were encountered:
This seems to be correct?
iex(1)> x = ( ...(1)> IO.puts(1) ...(1)> 2 ...(1)> ) 1 2 iex(2)> x 2 iex(3)>
Sorry, something went wrong.
https://hexdocs.pm/elixir/1.16.1/syntax-reference.html#blocks ... same for ages https://hexdocs.pm/elixir/1.8.0/syntax-reference.html#blocks
Yep, that works 👍
Should I open a PR, or you've got it?
No branches or pull requests
I was reading the Blocks section of the Gleam for Elixir Users and I was surprised by this syntax — when I tried it in
iex
, it's not valid Elixir(code link)
Maybe there is a syntax, but I couldn't find it 🤔
(I saw
1.14
in the screenshot, but I tried1.15
and1.16
too: same problem)The text was updated successfully, but these errors were encountered: