Skip to content

ListT.scanl broken? #72

Closed
Closed
@DanielGronau

Description

@DanielGronau

I didn't try it out, just "translated" it, but it looks like line 218 in https://github.com/purescript/purescript-transformers/blob/v1.0.0/src/Control/Monad/List/Trans.purs should read

h (Yield a s) = let b'' = f b' a in Just $ Tuple (Tuple b'' (force s)) b''

Note the use of b' instead of b, which make IMHO no sense in this context.

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