Skip to content
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

./gradlew runAnk is failing #65

Open
lgtout opened this issue Jun 13, 2020 · 0 comments
Open

./gradlew runAnk is failing #65

lgtout opened this issue Jun 13, 2020 · 0 comments

Comments

@lgtout
Copy link

lgtout commented Jun 13, 2020

./gradlew runAnk is failing.
When I rerun with --info, this is the output:

[✗ /Users/xxxx/dev/Category-Theory-for-Programmers.kt/build/site/2.4-representable-functors.md [2]
Exception in thread "main" 
----------------------------------------------------------------

 File located at: /Users/xxxx/dev/Category-Theory-for-Programmers.kt/build/site/2.4-representable-functors.md

```
import arrow.core.Id
import arrow.core.andThen

fun <D, A> fmap(run: (D) -> A): Reader<D, A> = Kleisli(run.andThen { Id(it) })
```
error: type inference failed. Expected type mismatch: inferred type is Kleisli<D, ForId, A> but Line_1.Reader<D, A> /* = Kleisli<ForId, D, A> */ was expected
fun <D, A> fmap(run: (D) -> A): Reader<D, A> = Kleisli(run.andThen { Id(it) })
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant