We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 2a623d9 commit 0250459Copy full SHA for 0250459
Data/Vinyl/Core.hs
@@ -108,7 +108,16 @@ instance TestCoercion f => TestCoercion (Rec f) where
108
Just Coercion
109
testCoercion _ _ = Nothing
110
111
--- | Two records may be pasted together.
+{- |
112
+Two records may be pasted together.
113
+
114
+>>> :set -XScopedTypeVariables
115
+>>> testRec1 :: Rec Maybe '[Int, String] = Just 3 :& Just "Hi" :& RNil
116
+>>> testRec2 :: Rec Maybe '[Double, [Double]] = Nothing :& Just [3.0, 2.2] :& RNil
117
+>>> appendedTestRec = rappend testRec1 testRec2
118
+>>> :t appendedTestRec
119
+appendedTestRec :: Rec Maybe '[Int, [Char], Double, [Double]]
120
+-}
121
rappend
122
:: Rec f as
123
-> Rec f bs
0 commit comments