glob.hs: improve code according to David McBride's suggestions. Thanks!