concept lookupIP in category haskell
appears as: lookupIP, lookupIP

This is an excerpt from Manning's book Haskell in Depth.
Let’s also formulate two properties for the
lookupIPpredicate (a function returningBool):
We also need an environment to benchmark the
lookupIPfunction.
simulate iprdb ips = (yes, no) where yes = length $ filter id $ map (lookupIP iprdb) ips no = length ips - yes