8000 doctest issue of ListZipper.moveLeftN' · Issue #116 · system-f/fp-course · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content
doctest issue of ListZipper.moveLeftN'  #116
Open
@realli

Description

@realli

in the file src/Course/ListZipper.hs, at line 412

-- If the focus cannot be moved, the given number of times, return the value by which it can be moved instead.
-- >>> moveLeftN' (-4) (zipper [5,4,3,2,1] 6 [7,8,9])
-- Left 3

I think the excepted result should be Left -3, what do you think? the Same for moveRightN'

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