mirror of
https://github.com/GrammaticalFramework/gf-core.git
synced 2026-10-28 17:33:18 -06:00
add missing MonadFail constraint for newer GHC
This commit is contained in:
1 parent
6c0e4bc08e
commit
3bdd9dc022
1 file changed
+1
-1
@@ -43,7 +43,7 @@ instance (Monad m,HasPGF m,Fail.MonadFail m) => TypeCheckArg m where
|
|||||||
(inferExpr pgf e)
|
(inferExpr pgf e)
|
||||||
Nothing -> fail "Import a grammar before using this command"
|
Nothing -> fail "Import a grammar before using this command"
|
||||||
|
|
||||||
pgfCommands :: HasPGF m => Map.Map String (CommandInfo m)
|
pgfCommands :: (HasPGF m, MonadFail m) => Map.Map String (CommandInfo m)
|
||||||
pgfCommands = Map.fromList [
|
pgfCommands = Map.fromList [
|
||||||
("aw", emptyCommandInfo {
|
("aw", emptyCommandInfo {
|
||||||
longname = "align_words",
|
longname = "align_words",
|
||||||
|
|||||||
Reference in new issue
Block a user