Skip to content

Commit dcbf67c

Browse files
authored
Merge pull request #3 from garyb/insert-lacks
Update comment example for `insert` to include `RowLacks`
2 parents 4e3281d + 0794426 commit dcbf67c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Data/Record.purs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,7 @@ modify l f r = set l (f (get l r)) r
7575
-- |
7676
-- | ```purescript
7777
-- | insert (SProxy :: SProxy "x")
78-
-- | :: forall r a. a -> { | r } -> { x :: a | r }
78+
-- | :: forall r a. RowLacks "x" r => a -> { | r } -> { x :: a | r }
7979
-- | ```
8080
insert
8181
:: forall r1 r2 l a

0 commit comments

Comments
 (0)