packages feed

tilia-0.1.4.0: corpora/vendored/other/commented-language-pragma-repeating-an-extension.hs

{-# LANGUAGE LambdaCase #-}
{-# LANGUAGE TupleSections #-}
{-# LANGUAGE LambdaCase -- for classify
  #-}
module Kiln.Repeated where

-- A pragma that names an extension again but holds a comment stays, with
-- the comment.
classify :: Int -> String
classify = \case
  0 -> "zero"
  _ -> "other"