Skip to content

Arithmetic interface requires type annotations on references #2

@doyougnu

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.

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