Skip to content

Arithmetic interface requires type annotations on references #2

Description

@doyougnu

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.

Activity

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions