Skip to content

foldxt type unstableΒ #27

@MasonProtter

Description

@MasonProtter

Filed in JuliaFolds/Transducers.jl#569 by @atbug

const grid = [[i, j] for i in -4:4, j in -4:4]

foldxt(+, Map(i -> grid[i]), 1:length(grid))

seems to be type unstable, while foldl works well.

I plan to fix this with https://github.com/MasonProtter/StableTasks.jl once it is registered

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