Skip to content

Add Relude.Extra.Tuple module with useful utilities #92

@chshersh

Description

@chshersh

The following functions might be useful sometimes:

dupe    :: a -> (a, a)
fstWith :: (a -> b) -> a -> (a, b)
sndWith :: (a -> b) -> a -> (b, a)
mapBoth :: (a -> b) -> (a, a) -> (b, b)

Metadata

Metadata

Assignees

No one assigned

    Labels

    Hacktoberfesthttps://hacktoberfest.digitalocean.com/extraRelude.Extra

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions