Skip to content

Fusion isn't reliable #31

@kvanbere

Description

@kvanbere

When investigating fusion triggering in my own library I tried the following line:

recieve ep2 >-> PBS.map (+1) >-> PBS.map (+1) >-> P.print

Using -ddump-rule-firings nothing for-related ever fired.

On the other hand, this seemed to fire many for-related rules:

recieve ep2 >-> P.map (BS.append "foo") >-> P.map (BS.append "bar") >-> P.print

This fired rules correctly too:

recieve ep2 >-> P.map (BS.map succ) >-> P.map (BS.map succ) >-> P.print

I don't think map from Pipes.ByteString is firing rules correctly at all ...

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