Skip to content

Commit

Permalink
Fix rsafe quasiquoter
Browse files Browse the repository at this point in the history
  • Loading branch information
facundominguez committed Mar 20, 2024
1 parent 96e8497 commit 655015b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion inline-r/src/Language/R/QQ.hs
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ r = QuasiQuoter
-- TODO some of the above invariants can be checked statically. Do so.
rsafe :: QuasiQuoter
rsafe = QuasiQuoter
{ quoteExp = \txt -> [| unsafePerformIO $ runRegion $ automaticSome =<< eval =<< $(expQQ txt) |]
{ quoteExp = \txt -> [| unsafePerformIO $ runRegion $ automatic =<< eval =<< $(expQQ txt) |]
, quotePat = unimplemented "quotePat"
, quoteType = unimplemented "quoteType"
, quoteDec = unimplemented "quoteDec"
Expand Down

0 comments on commit 655015b

Please sign in to comment.