function-title.expect.txt 959 B

123456789101112131415
  1. <span class="hljs-function"><span class="hljs-keyword">def</span> <span class="hljs-title">f</span></span> <span class="hljs-keyword">do</span>
  2. <span class="hljs-symbol">:ok</span>
  3. <span class="hljs-keyword">end</span>
  4. <span class="hljs-function"><span class="hljs-keyword">def</span> <span class="hljs-title">f</span></span>(list) <span class="hljs-keyword">do</span>
  5. <span class="hljs-symbol">:ok</span>
  6. <span class="hljs-keyword">end</span>
  7. <span class="hljs-function"><span class="hljs-keyword">def</span> <span class="hljs-title">f</span></span> <span class="hljs-symbol">:clear</span>, list <span class="hljs-keyword">do</span>
  8. <span class="hljs-symbol">:ok</span>
  9. <span class="hljs-keyword">end</span>
  10. <span class="hljs-function"><span class="hljs-keyword">def</span> <span class="hljs-title">f!</span></span>, <span class="hljs-symbol">do:</span> IO.puts <span class="hljs-string">"hello world"</span>
  11. x = <span class="hljs-number">5</span>