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

Compile to scala-native target #64

Open
schrepfler opened this issue Sep 2, 2017 · 5 comments
Open

Compile to scala-native target #64

schrepfler opened this issue Sep 2, 2017 · 5 comments

Comments

@schrepfler
Copy link

It would be nice if iota would compile to scala-native as well.

@andyscott
Copy link
Member

Yep! This really just depends on cats compiling to native. Or Iota getting cross compilation for Scalaz, which already supports native!

@schrepfler
Copy link
Author

schrepfler commented Sep 3, 2017

Iota uses full cats? Let's hope it won't take too long.

@andyscott
Copy link
Member

andyscott commented Sep 3, 2017

Iota uses the core FP abstractions from cats as well as Cofree from the cat's free module. Additionally, Iota uses generalized recursion schemes based on Matryoshka.

@schrepfler
Copy link
Author

I was looking at using coproduct for case-app to declare many fields which are mutually exclusive (XorK?) and it would be nice if there's support for iota, until then shapeless seems to be the easiest to support as it already has a scala-native port.

@andyscott
Copy link
Member

I will have Scala Native support coming soon. It will be for the build of Iota that uses Scalaz instead of Cats, as Scalaz already supports Scala Native.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants