fix compilation with older GHC versions

This commit is contained in:
Krasimir Angelov
2022-11-10 19:19:19 +01:00
parent 5ca00ded84
commit 9214f2a074
2 changed files with 9 additions and 1 deletions

View File

@@ -43,7 +43,7 @@ instance (Monad m,HasPGF m,Fail.MonadFail m) => TypeCheckArg m where
(inferExpr pgf e)
Nothing -> fail "Import a grammar before using this command"
pgfCommands :: (HasPGF m, MonadFail m) => Map.Map String (CommandInfo m)
pgfCommands :: (HasPGF m, Fail.MonadFail m) => Map.Map String (CommandInfo m)
pgfCommands = Map.fromList [
("aw", emptyCommandInfo {
longname = "align_words",