-
Notifications
You must be signed in to change notification settings - Fork 5
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Weaken monad to applicative #206
Conversation
@@ -40,7 +40,7 @@ | |||
|
|||
def apply[F[_]](implicit parser: XmlParser[F]): XmlParser[F] = parser | |||
|
|||
def fromSAXParser[F[_]: MonadThrow]( | |||
def fromSAXParser[F[_]: ApplicativeThrow]( |
Check notice
Code scanning / Codacy-scalameta-pro (reported by Codacy)
Enforces type parameters naming convention Note
@@ -97,7 +97,7 @@ | |||
} | |||
}.liftTo[F] | |||
|
|||
implicit def defaultXmlSAXParser[F[_]: MonadThrow]: XmlParser[F] = | |||
implicit def defaultXmlSAXParser[F[_]: ApplicativeThrow]: XmlParser[F] = |
Check notice
Code scanning / Codacy-scalameta-pro (reported by Codacy)
Enforces type parameters naming convention Note
Nice spot! Thanks! |
Monad properties not used in this particular case