-
Notifications
You must be signed in to change notification settings - Fork 1
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
every literal Double produces 'Not in scope: fromRational' #3
Comments
I don't see this in the changelog, where does it say this? Anyway, this is because of RebindableSyntax, from the GHC docs:
We should export |
Oh I randomly found some more info about this: faylang/fay-base#21 |
To clarify the comments I made there, I think you can work around this for now by defining
This is just a phony function that won't be called (unless you call it explicitly in which case it won't do what you expect ;) ). Hacky hack, but you can try it out. Can't think right now it seems so i don't know what |
Ok, thanks for the help; I will get on this shortly. The changelog I mentioned. |
The only mention of fromRational i see there is for the server-side type transcoding, which has no relation to this, am I missing something? |
No, it's just that that was the only mention I saw; I should have looked in fay-base and not fay, but I'm stupid. |
Ok, no worries :) |
Every Double literal in the examples produces the above error, w/ nothing further. I see in the Fay changelog that fromRational was taken out last week, but I'm unclear on why it affects doubles. I'll dig in further if noone knows offhand, but I'm hoping it's something trivial that one of you guys knows about before I wade in. Cheers.
The text was updated successfully, but these errors were encountered: