lookup package:foldl

(lookup a) returns the element paired with the first matching item, or Nothing if none matches