-

   rss_forum_sources_ru

 - e-mail

 

 -

 LiveInternet.ru:
: 29.07.2007
:
:
: 80

:


, 23 2021 . 01:03 +
korvin:
D_KEY @
? , ?

.

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

?

https://forum.sources.ru/index.php?showtopic=421266&view=findpost&p=3846690

:  

: [1] []
 

:
: 

: ( )

:

  URL