lookupJust key = fromJust . lookup key
>>> lookup 2 [(1, "first"), (2, "second"), (3, "third")] Just "second"