packages feed

fourmolu-0.0.6.0: data/examples/declaration/value/function/pattern/splice-pattern-out.hs

{-# LANGUAGE TemplateHaskell #-}

singleLine = case () of
  $x -> ()
  $(y "something") -> ()

multiline = case () of
  $( x
       + y
   ) -> ()
  $( y
       "something"
   ) -> ()