Alright so here is my code:
defmodule Lol do
def Ha do
IO.puts "haha"
end
end
Lol.Ha()
What I'm trying to do is to define a module Lol with function Ha in it. Function Ha should print "haha"
I'm using repl.it
And here is the error
** (SyntaxError) main.exs:9: syntax error before: '('
(elixir) lib/code.ex:363: Code.require_file/2