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

Skip to content

Functions evaluated via the 'dot' operation only retain the top-most value on the local stack when returning #15

Description

@dm9de

Example:

{
  :f \o [ 1 2 ]
} = a_form

a_form.f

Stack contains: 2

{
  :f \o [ 1 2 ]
} = a_form

a_form,f !

Stack contains: 1 2

I'm not sure whether this is by design, as I didn't find any mention of it in the documentation, but this wasn't the behaviour I was expecting.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions