packages feed

aihc-parser-1.0.0.2: test/Test/Fixtures/oracle/PatternGuards/pattern-guard-let-in-expression.hs

{- ORACLE_TEST pass -}
{-# LANGUAGE PatternGuards #-}

module PatternGuardLetInExpression where

guardLetInExpr :: Int -> Int
guardLetInExpr n
  | let x = 1 in x > 0 = n
  | otherwise = 0