tilia-0.2.0.0: corpora/vendored/expression/pattern/brackets-around-bracketed-patterns-out.hs
module Ledger.Total where total :: ([Int], Int) -> Int total ((items, carried)) = sum items + carried single :: [Int] -> Maybe Int single (([x])) = Just x single _ = Nothing