packages feed

tilia-0.2.0.0: corpora/vendored/expression/block/block-before-a-signature-as-a-statement-out.hs

{-# LANGUAGE BlockArguments #-}

-- A signature after a block standing as a statement goes a step in from
-- the statement, where at its column it would begin another one, and the
-- block's items a step further in, so that the signature ends the block.
module App.Main where

main = do
  liftIO $ do
      connect
      serve
    :: App ()
  case mode of
      Quiet -> pure ()
      Loud -> announce
    :: IO ()
  shutdown

start = do
  port <-
    do
      lookupPort
    :: IO Int
  listen port