summaryrefslogtreecommitdiff
path: root/testsuite/tests/ghci/scripts/T11208.hs
blob: b6ddd167d500f9ba105bcf366a3ea848437e1a14 (plain)
1
2
3
4
5
6
7
8
module T11208 where

import qualified Prelude as P

f n = n P.+ 1

g h (P.Just x) = P.Just (h x)
g _ P.Nothing  = P.Nothing