tilia-0.1.0.0: corpora/vendored/other/cpp/triple-dash-under-a-haddock-out.hs
{-# LANGUAGE CPP #-}
module Data.Window where
#if MIN_VERSION_base(4,8,0)
import Data.List (sort)
#endif
-- | Give a window over a list. GHC ends it at a line beginning with three
-- dashes, so nothing needs to hold the lines from there on off it.
--
-- @
-- window4
--- :: [Int]
-- -> [Int]
-- window4 = window
-- @
window :: [Int] -> [Int]
window = id
-- | All the windows.
---------------------------------------------------------------------------
windows :: [[Int]]
windows = []