Skip to content

Commit

Permalink
Implementation of Exact rdrName allows for use of infix operators in …
Browse files Browse the repository at this point in the history
…HSX!
  • Loading branch information
Montmorency committed Sep 26, 2022
1 parent e318951 commit 79ec309
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ihp-hsx/IHP/HSX/HsExpToTH.hs
Expand Up @@ -65,8 +65,8 @@ toName :: RdrName -> TH.Name
toName n = case n of
(Unqual o) -> TH.mkName (occNameString o)
(Qual m o) -> TH.mkName (Module.moduleNameString m <> "." <> occNameString o)
(Exact name) -> TH.mkName ((occNameString . rdrNameOcc . getRdrName) name) --error "exact"
(Orig _ _) -> error "orig"
(Exact _) -> error "exact"

toFieldExp :: a
toFieldExp = undefined
Expand Down

0 comments on commit 79ec309

Please sign in to comment.