LINUX.ORG.RU

История изменений

Исправление balsoft, (текущая версия) :

Some people, when confronted with a problem, think «I know, I’ll use regular expressions.» Now they have two problems.

reverse2 (x:y:xs) = y : x : reverse2 xs
reverse2 (x:xs) = [x]
reverse2 = id

Исходная версия balsoft, :

Some people, when confronted with a problem, think «I know, I’ll use regular expressions.» Now they have two problems.