I am trying to learn Erlang and had gotten no further than operators when I ran into a problem:
5> TheList = [2,4,6,8].
[2,4,6,8]
6>
6> [N || N <- TheList, N rem 3 =:= 0].
[6]
7>
7> TheList.
[2,4,6,8]
8>
8> [2*N || N <- TheList, N rem 3 =:= 0].
"\f"
9>
Why do I get "\f"
in the last operation? Shouldn't it be [12]
? What does "\f"
mean? Thanks.