1 -- Checks that the types of the old binder and the binder
2 -- implicitly introduced by grouping are linked
4 {-# OPTIONS_GHC -XMonadComprehensions -XTransformListComp #-}
6 module ShouldFail
where
9 | x
<- ["Hello", "World"]
10 , then group using
take 5