Merge pull request #10 from tfausak/gh7-tth

Add documentation about typed Template Haskell
This commit is contained in:
Taylor Fausak 2021-04-22 22:12:08 -04:00 committed by GitHub
commit fcfd95bf4f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -148,6 +148,12 @@ module Witch
, Witch.Utility.unsafeInto
-- ** Template Haskell
-- | This library uses /typed/ Template Haskell, which may be a little
-- different than what you're used to. Normally Template Haskell uses the
-- @$(...)@ syntax for splicing in things to run at compile time. The typed
-- variant uses the @$$(...)@ syntax for splices, doubling up on the dollar
-- signs. Other than that, using typed Template Haskell should be pretty
-- much the same as using regular Template Haskell.
, Witch.Lift.liftedCast
, Witch.Lift.liftedFrom
, Witch.Lift.liftedInto