Initial data commit
This commit is contained in:
parent
72d218235f
commit
f23f22d71c
199087 changed files with 3378941 additions and 0 deletions
4
Task/Here-document/Elixir/here-document-1.elixir
Normal file
4
Task/Here-document/Elixir/here-document-1.elixir
Normal file
|
|
@ -0,0 +1,4 @@
|
|||
IO.puts """
|
||||
привет
|
||||
мир
|
||||
"""
|
||||
2
Task/Here-document/Elixir/here-document-2.elixir
Normal file
2
Task/Here-document/Elixir/here-document-2.elixir
Normal file
|
|
@ -0,0 +1,2 @@
|
|||
привет
|
||||
мир
|
||||
11
Task/Here-document/Elixir/here-document-3.elixir
Normal file
11
Task/Here-document/Elixir/here-document-3.elixir
Normal file
|
|
@ -0,0 +1,11 @@
|
|||
iex(1)> a=2
|
||||
2
|
||||
iex(2)> '''
|
||||
...(2)> 1 + 1 = #{a}
|
||||
...(2)> '''
|
||||
'1 + 1 = 2\n'
|
||||
iex(3)>
|
||||
iex(3)> '''2'''
|
||||
** (SyntaxError) iex:3: heredoc start must be followed by a new line after '''
|
||||
|
||||
iex(3)>
|
||||
Loading…
Add table
Add a link
Reference in a new issue