Skip to content

Commit 82c256e

Browse files
committed
Expr.Types: instance TH.lift NExpr: add docs
1 parent 6393c0b commit 82c256e

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

src/Nix/Expr/Types.hs

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -518,7 +518,10 @@ instance TH.Lift NExpr where
518518
TH.dataToExpQ
519519
(\b ->
520520
do
521-
-- Binding on constructor ensures type match and gives type inference to TH
521+
-- Binding on constructor ensures type match and gives type inference to TH.
522+
-- Reflection is the ability of a process to examine, introspect, and modify its own structure and behavior.
523+
-- Reflection is a key strategy in metaprogramming.
524+
-- <https://en.wikipedia.org/wiki/Reflective_programming>
522525
HRefl <-
523526
eqTypeRep
524527
(Reflection.typeRep @Text)

0 commit comments

Comments
 (0)