Port of Bravo to Haskell