Skip to content

Commit

Permalink
Updated documentation
Browse files Browse the repository at this point in the history
  • Loading branch information
j-mie6 committed Jun 10, 2021
1 parent b7c6e66 commit 818c3e0
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/Parsley/OverloadedQuotesPlugin.hs
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ will transform every UTH quote in a file so that it represents a value of
> -- goes to:
> qsucc qx = makeQ (_val qx + 1) [||$$(_code qx) + 1||]
Values of @Parsley.Defunctionalized.Defunc@ can also be spliced in directly:
Values of `Parsley.Defunctionalized.Defunc` can also be spliced in directly:
> diffcons :: Defunc a -> Defunc ([a] -> [a]) -> Defunc ([a] -> [a])
> diffcons qx qdxs = [| $(COMPOSE) ($(CONS) $(qx)) $(qdxs) |]
Expand Down
2 changes: 1 addition & 1 deletion src/Parsley/OverloadedQuotesPlugin/Plugin.hs
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ type Expr = Expr.LHsExpr GHC.GhcRn

{-|
This plugin repurposes /Untyped/ Template Haskell quotes (and splices within them)
to be @Parsley.Quapplicative@ values.
to be `Parsley.Quapplicative` values.
-}
plugin :: Plugin
plugin = defaultPlugin { renamedResultAction = overloadedQuotes, pluginRecompile = purePlugin }
Expand Down

0 comments on commit 818c3e0

Please sign in to comment.