Data update
This commit is contained in:
parent
81fd053722
commit
52a6ef48dd
10248 changed files with 63654 additions and 6775 deletions
11
Task/Here-document/Elixir/here-document-3.ex
Normal file
11
Task/Here-document/Elixir/here-document-3.ex
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