IOscheme filtering in haskell interface