8000 Deduplicate LoopCat and TracedCat · Issue #95 · compiling-to-categories/concat · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content
Deduplicate LoopCat and TracedCat #95
Open
@sellout

Description

@sellout

It was pointed out on the FP slack that both of these classes exist in ConCat.Category, but are defined identically.

It seems like either the difference should be documented or one should be removed. Considering that the implementation of TracedCat (->) is the same as ArrowLoop (->), I'm assuming they're actually the same, in which case the preferred name just needs to be decided. I'm partial to TracedCat, as it's from CT and has better implementations already, but LoopCat matches the Haskell naming (ArrowLoop) and, judging by them being added in the same commit, perhaps has some relationship to DelayCat?

There's also a missing TracedCat (Constrained con k) instance which should be added.

I'm happy to do the work once I know which name is preferred.

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

      0