Skip to content

Extend w/fn, let to support destructuring #126

@holyjak

Description

@holyjak

Now I must do

(w/fn [latLon]
               [(w/Part latLon 1)
                (w/Part latLon 2)])

In Wolfram, this would be {#[1],#[2]}&.

It would be lovely to be able to write

(w/fn [[lat lon]] [lat lon])

At least for vectors. Maps/Associations might be nice too, not sure how often they are used.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions