inline haskell-style declaration