mirror of
https://github.com/github/semantic.git
synced 2024-12-24 23:42:31 +03:00
Derive the RightModule instance for Ann.
This commit is contained in:
parent
904b79b462
commit
8d751c1dbc
@ -52,4 +52,4 @@ source-repository-package
|
||||
source-repository-package
|
||||
type: git
|
||||
location: https://github.com/antitypical/fused-syntax.git
|
||||
tag: d4ca0910d2b73f7686f57229557018973c2adc4a
|
||||
tag: cb3dce1ec4b1197032da8e0c7f4fab20f9bf36b2
|
||||
|
@ -233,9 +233,7 @@ data Ann ann f a
|
||||
|
||||
instance HFunctor (Ann ann)
|
||||
instance Effect Functor (Ann ann)
|
||||
|
||||
instance RightModule (Ann ann) where
|
||||
Ann l b >>=* f = Ann l (b >>= f)
|
||||
instance RightModule (Ann ann)
|
||||
|
||||
|
||||
ann :: Has (Ann Span) sig m => HasCallStack => m a -> m a
|
||||
|
Loading…
Reference in New Issue
Block a user