id x = xThis function might seem useless at first glance, but it can be very useful in a higher order context.
>>> length $ filter id [True, True, False, True] 3
>>> Just (Just 3) >>= id Just 3
>>> foldr id 0 [(^3), (*5), (+2)] 1000
id x = x
div ! id "bar" $ "Hello."Result:
<div id="bar">Hello.</div>