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

Arithmetic interface requires type annotations on references #2

Open
doyougnu opened this issue Sep 15, 2020 · 0 comments
Open

Arithmetic interface requires type annotations on references #2

doyougnu opened this issue Sep 15, 2020 · 0 comments

Comments

@doyougnu
Copy link
Owner

The interface to the numeric tower is too abstract and so haskell complains that it cannot solve the IsString a constraint on iLit:

twoVars :: IO Result
twoVars = flip sat Nothing $ iRef "x" + 2 .== iRef ("y" :: Text)

hence these annotations.

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