packages feed

fourmolu-0.7.0.0: data/examples/declaration/value/function/unboxed-sums-out.hs

{-# LANGUAGE UnboxedSums #-}

foo :: (# Int | Bool #)
foo = (# 1 | #)

bar :: (# Int | Int | Int | Int #)
bar = (# | | 2 | #)

baz ::
  (#
    Int |
    Int |
    Int |
    Int |
    Int |
    Int |
    Int |
    Int |
    Int
  #)
baz =
  (#
    | | | 10 | | | | |
  #)