Skip to content

Swap/change superclass relationships #165

@treeowl

Description

@treeowl

Currently,

class Functor f => Semialign f
class Semialign f => Zip f
class Zip f => Unzip f

But this makes no sense! Every Functor can unzipWith (perhaps badly), but not every Functor can zipWith. I would recommend doing something like this instead:

class Functor f => Unzip f
class Unzip f => Semialign f
class Semialign f => Zip f

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions