packages feed

haskell-tools-builtin-refactorings-1.0.0.0: test/ExtensionOrganizerTest/ViewPatternsTest/InExpr.hs

{-# LANGUAGE ViewPatterns #-}

module InExpr where

{-# ANN module "HLint: ignore Redundant lambda" #-}

f g = let (g -> (a,b)) = (0,0) in a + b  {-* ViewPatterns *-}

h j = \(j -> (x,y)) -> x + y {-* ViewPatterns *-}