Skip to content

Update `Data.List.singleton` doc comment

konsumlamm requested to merge konsumlamm/ghc:singleton-doc into master

Improve the doc comment for Data.List.singleton.

The previous version was missing an "a" (it should have been "Produce a singleton list."), but also not really useful ("singleton list" isn't very informative for someone not already used to that terminology), so I replaced it by the formulation from Data.List.NonEmpty.singleton, which is clearer.

Merge request reports