ghcide/test/manual/lhs/Test.lhs
Alexander Diemand 67b4d40af4
added unlit stage for literate Haskell source files
Signed-off-by: Alexander Diemand <codieplusplus@apax.net>
2019-09-11 11:56:26 +02:00

37 lines
457 B
Plaintext

-- Copyright (c) 2019 The DAML Authors. All rights reserved.
-- SPDX-License-Identifier: Apache-2.0
\subsection{Testing LHS}
\begin{code}
{-# LANGUAGE CPP #-}
module Test
(
main
) where
import Bird
\end{code}
for this file, \emph{hlint} should be turned off.
\begin{code}
{-# ANN module ("HLint: ignore" :: String) #-}
\end{code}
our main procedure
\begin{code}
main :: IO ()
main = do
putStrLn "hello world."
fly
\end{code}