haskell-hvr / missingh

Utility library [Haskell]
https://hackage.haskell.org/package/MissingH
Other
87 stars 40 forks source link

Create 'dupl' tuple util function: a -> (a,a) #27

Closed atlaua closed 2 years ago

atlaua commented 9 years ago

After having defined this in quite some of my projects, I felt it ought to be included here.

andreasabel commented 2 years ago

There is now https://github.com/haskell-hvr/missingh/blob/c1eba533b80ee03c2bf984c505e1240b67b4ba6b/src/Data/Tuple/Utils.hs#L30-L34