Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Why does list get converted into iterable? #684

Closed
@OliverJAsh

Description

@OliverJAsh

This might be a silly question.

How come when I map over a list it gets converted into an iterable? This means I have to litter my code with toList everywhere, like so:

List([1,2]).map(x => x+1).toList().interpose('foo');

Thanks again for the awesome work!

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