12 lines
185 B
Text
12 lines
185 B
Text
|
|
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)>
|