Skip to content

$spread signature should require an object as anything else is nonsensical #313

@wnm3

Description

@wnm3

The signature for spread is <x-:a> which allows for odd returns like:
$spread("a") -> "a"
$spread(1) -> 1
$spread([]) -> null
$spread([1]) -> [1]
I think the initial parameter should be o for object and reject any of these cases as a bad arg1...
e.g.,:

 <(oa<o>)-:a<o>>

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions