Skip to content

Doesn't build with dlist 1.0 #4

@felixonmars

Description

@felixonmars
[ 6 of 21] Compiling Data.ListLike.DList ( src/Data/ListLike/DList.hs, dist/build/Data/ListLike/DList.dyn_o )

src/Data/ListLike/DList.hs:37:10: error:
    • Couldn't match type ‘[a]’ with ‘DList a’
      Expected type: DList a -> DList a
        Actual type: DList a -> [a]
    • In the expression: D.tail
      In an equation for ‘tail’: tail = D.tail
      In the instance declaration for ‘ListLike (DList a) a’
    • Relevant bindings include
        tail :: DList a -> DList a
          (bound at src/Data/ListLike/DList.hs:37:3)
   |
37 |   tail = D.tail
   |          ^^^^^^

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions