case defaultOffset of Just o -> offset o Nothing -> return () case defaultLimit of Just l -> limit (min 10000 l) Nothing -> return ()