Logo

Programming-Idioms

This language bar is your friend. Select your favorite languages!
  • Haskell
x `elem` list
find _ [] = False
find n (x:xs)
  | x == n = True
  | otherwise = find n xs
with Ada.Containers.Vectors;
Result := List.Contains (X);

New implementation...