Haskell version of SubtleOstrich