mirror of
https://github.com/tfausak/witch.git
synced 2024-11-22 14:58:13 +03:00
Merge pull request #10 from tfausak/gh7-tth
Add documentation about typed Template Haskell
This commit is contained in:
commit
fcfd95bf4f
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user