packages feed

tilia-0.2.0.0: corpora/vendored/expression/operator/tighter-chain-led-by-a-block-out.hs

module Kiln.Choice where

import Control.Applicative ((<|>))

-- A do block leading a tighter chain written first keeps the operators at
-- the column of its statements, even where a tighter chain follows the
-- looser operator, since a step further in would carry them onto its last
-- line.
batch :: IO [Pot]
batch = do
  pots <- load
  pure pots
  <> extras
  <|> fallback
    <> spare