File tree Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -47,8 +47,8 @@ qDynPure qe = do
47
47
_ -> gmapM f d
48
48
(e', exprsReversed) <- runStateT (gmapM f e) []
49
49
let exprs = reverse exprsReversed
50
- arg = foldr (\ a b -> ConE 'FHCons `AppE ` a `AppE ` b) (ConE 'FHNil) $ map snd exprs
51
- param = foldr (\ a b -> ConP 'HCons [VarP a , b]) (ConP 'HNil [] ) $ map fst exprs
50
+ arg = foldr (\ a b -> ConE 'FHCons `AppE ` snd a `AppE ` b) (ConE 'FHNil) exprs
51
+ param = foldr (\ a b -> ConP 'HCons [VarP ( fst a) , b]) (ConP 'HNil [] ) exprs
52
52
[| $ (return $ LamE [param] e') <$> distributeFHListOverDynPure $ (return arg) | ]
53
53
54
54
-- | Antiquote a 'Dynamic' expression. This can /only/ be used inside of a
Original file line number Diff line number Diff line change @@ -28,6 +28,6 @@ class FunctorMaybe f where
28
28
instance FunctorMaybe Maybe where
29
29
fmapMaybe = (=<<)
30
30
31
- -- | @fmapMaybe f = catMaybes . fmap f @
31
+ -- | @fmapMaybe = mapMaybe @
32
32
instance FunctorMaybe [] where
33
- fmapMaybe f = catMaybes . fmap f
33
+ fmapMaybe = mapMaybe
You can’t perform that action at this time.
0 commit comments