Skip to content

table auto-flipping, undocumented 'feature' or bug? #121

@benlubas

Description

@benlubas
.p.eval["print"] t:([] a: 1 2; b: 1 2)
.p.eval["print"] flip t

both print:

{'a': array([1, 1]), 'b': array([2, 2])}

As far as I can tell, this isn't documented. It feels like a bug given .j.j behaves the way I'd expect:

.j.j t

prints (with formatted quotes so it's readable):

'[{"a":1,"b":1},{"a":2,"b":2}]'

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions