I am new to Haskell programming. I am trying to understand the syntax and semantics of this language. I'm a little curious about the semantics of a serious accent. Why does this code work when we use a serious accent?
elem' :: (Eq a) => a -> [a] -> Bool
elem' a [] = False
elem' a (x:xs)
| a == x = True
| otherwise = a `elem'` xs {-grave accent used in this line -}
source
share