Skip to content

Caret Interpolation with justVarInterpolation #242

@akazik

Description

@akazik

Using ^{..} in an QuasiQuoter with justVarInterpolation fails because the url renderer is used (even though it shouldn't).

To fix this replace contentsToShakespeare's contentToBuilder ContentMix case with:

return $
  if justVarInterpolation rs
    then derefToExp [] d
    else derefToExp [] d `AppE` VarE r

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions