haddock curly braces are a pain