[erlang-questions] extend parser to allow single quotes in variable names (or: "let's confuse the text editors!")

Motiejus Jakštys <>
Sun Oct 7 18:35:44 CEST 2012


Hi,

In Haskell you can have variable names with single quotes. Imagine for a
moment you are in a perfect world:

oops() ->
    A = 1024,
    A' = math:log(A) / math:log(2),
    io:format("Wow! ~p~n", [A']).

What would you think about this extension?

Regards,
Motiejus



More information about the erlang-questions mailing list