{-# htermination elemIndex :: (Eq a, Eq k) => (Either a k) -> [(Either a k)] -> Maybe Int #-} import List