Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- @higherkind
- data class ParserK<A>(val f: (String) -> Option<A>): ParserKOf<A> {
- companion object
- }
- @extension
- interface ParserKFunctor : Functor<ForParserK> {
- override fun <A, B> Kind<ForParserK, A>.map(f: (A) -> B): Kind<ForParserK, B> {
- ...
- }
- }
- error: "Arrow's annotations can only be used on Kotlin classes". Not valid for error.NonExistentClass
- > Task :app:kaptGenerateStubsKotlin
- > Task :app:kaptKotlin FAILED
- e: error: Arrow's annotations can only be used on Kotlin classes. Not valid for error.NonExistentClass
- FAILURE: Build failed with an exception.
- * What went wrong:
- Execution failed for task ':app:kaptKotlin'.
- > Compilation error. See log for more details
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement