Better error message for Context mempty
This commit is contained in:
parent
a8182c9fc9
commit
0e925e71e1
1 changed files with 1 additions and 1 deletions
|
@ -51,7 +51,7 @@ newtype Context a = Context
|
|||
|
||||
--------------------------------------------------------------------------------
|
||||
instance Monoid (Context a) where
|
||||
mempty = Context $ \_ _ -> empty
|
||||
mempty = missingField
|
||||
mappend (Context f) (Context g) = Context $ \k i -> f k i <|> g k i
|
||||
|
||||
|
||||
|
|
Loading…
Reference in a new issue