{-| This is a test multiline
module haddock
-}
module Foo where

-- | This is a singleline function haddock
single1 :: Int

-- | This is a singleline function haddock
single2 :: Int

-- | This is a multiline
-- function haddock
multi1 :: Int

-- |
-- This is a multiline
-- function haddock
multi2 :: Int

-- | This is a multiline haddock
--      with indentation
multi_indentation :: Int

-- | This is a haddock
--
  with two consecutive newlines
--
--
  
foo :: Int
foo = 42

-- | This is a haddock containing another haddock
--
-- > {-# LANGUAGE ScopedTypeVariables #-}
haddock_in_haddock :: Int

| This is a test multiline
module haddock

 | This is a singleline function haddock
 | This is a singleline function haddock
 | This is a multiline
 function haddock
 |
 This is a multiline
 function haddock
 | This is a multiline haddock
      with indentation
 | This is a haddock



 | This is a haddock containing another haddock

 > {-# LANGUAGE ScopedTypeVariables #-}
module Foo where

single1 :: Int

single2 :: Int

multi1 :: Int

multi2 :: Int

multi_indentation :: Int

  with two consecutive newlines
  
foo :: Int
foo = 42

haddock_in_haddock :: Int
