Haskell fix for bin.gold