Array is of one element. Aka, equality without equ

Run Settings
LanguageErlang
Language Version
Run Command
% escript will ignore the first line main(_) -> io:format("~p~n", [same([1,1,1,1,1,1])]). same([H|[H|T]]) -> same([H|T]); same([_]) -> true; same(_) -> false.
Editor Settings
Theme
Key bindings
Full width
Lines