Skip to content

Commit b5b03c9

Browse files
committed
Compatibility fix, 2nd attempt
1 parent cc8a126 commit b5b03c9

File tree

2 files changed

+465
-465
lines changed

2 files changed

+465
-465
lines changed

RegistryProcessor/src/Main.hs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -344,7 +344,7 @@ printExtensionSupport extModules = do
344344
SI.hPutStrLn h $ ""
345345
SI.hPutStrLn h $ "-- | Is the " ++ extensionHyperlink extName ++ " extension supported?"
346346
SI.hPutStrLn h $ predNameMonad ++ " :: MonadIO m => m Bool"
347-
SI.hPutStrLn h $ predNameMonad ++ " = member " ++ show extString ++ " `fmap` getExtensions"
347+
SI.hPutStrLn h $ predNameMonad ++ " = getExtensions >>= (return . member " ++ show extString ++ ")"
348348
SI.hPutStrLn h $ ""
349349
SI.hPutStrLn h $ "-- | Is the " ++ extensionHyperlink extName ++ " extension supported?"
350350
SI.hPutStrLn h $ "-- Note that in the presence of multiple contexts with different capabilities,"

0 commit comments

Comments
 (0)