Skip to content

Commit

Permalink
chore: Switch to DList.singleton
Browse files Browse the repository at this point in the history
  • Loading branch information
414owen committed Nov 12, 2023
1 parent 313d26a commit 0ada240
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Text/Pandoc/Builder/Monadic/Internal.hs
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ buildMany = Builder . traverse_ (tell . pure)

-- | Write a single element to a t'Builder'.
tellOne :: a -> Builder a
tellOne = Builder . tell . pure
tellOne = Builder . tell . DList.singleton

-- | Write multiple element to a t'Builder'.
tellAll :: DList a -> Builder a
Expand Down

0 comments on commit 0ada240

Please sign in to comment.