tilia-0.2.0.0: corpora/vendored/lexical/label-after-an-opening-parenthesis-out.hs
{-# LANGUAGE OverloadedLabels #-}
{-# LANGUAGE UnboxedTuples #-}
-- With unboxed tuples on, a label right after an opening parenthesis keeps
-- the space before it, in brackets and in a tuple alike, so that the two do
-- not read as the opening of an unboxed tuple.
module Form.Fields where
name = view ( #name) form
pair = ( #first, #last)
fallback = view ( #nickname `orElse` #name) form
age = ( #age form :: Int)