, 23 2021 . 10:49
+
applegame:
korvin @ , , .
: + return. . : .
korvin @ ? , ?
main, : .
korvin @ .
, . . . .
D_KEY @ ? , ?
: .
D_KEY @ .
?

C/++/D . , int .
D_KEY @ - , , ?
. . Elixir , .
korvin @ applegame, :
bool contains(T)(const T[] arr, const T e) pure {
foreach(const x; arr) if(x == e) return true;
return false;
}
contains [] e = False
contains (x:xs) e = x == e || contains xs e
?
, .
, .
. , . .
. .
Excel: - . . , .
, . .
https://forum.sources.ru/index.php?showtopic=421266&view=findpost&p=3846706
:
Holy Wars