Skip to content

extend Cut #41

Closed
Closed

Description

@tangentstorm

I'd like to propose two extensions for the Cut (;.) dyad.

Some partitioned algorithms require to have position of non-complete shard at the begin of array. Current u;.3 and u;._3 implementation provides that shard at the end of array only. Following is the model of extension desired ("5" is selected randomly for example only):

   (4 ,: 3) <;.5 (i. 10)
┌───┬─────┬─────┐
│0 1│2 3 4│6 7 8│
└───┴─────┴─────┘

Sometimes there is a need to align selected shard within frame not to the left (beginning) of the frame as currently implemented, but to the right (end), too:

   (_4 ,: 3) <;.3 (i. 10)
┌─────┬─────┬───┐
│1 2 3│5 6 7│8 9│
└─────┴─────┴───┘
   (_4 ,: 3) <;.5 (i. 10)
┌───┬─────┬─────┐
│0 1│3 4 5│7 8 9│
└───┴─────┴─────┘

-- Igor Zhuravlov <2009-12-26T16:55:18Z)>

Activity

  1. jip commented on Sep 28, 2021

    @jip

    Cross-reference: [JWiki] System/Interpreter/Requests, Igor Zhuravlov, Sat Dec 26 16:55:18 UTC 2009.

  2. HenryHRich commented on Mar 29, 2026

    @HenryHRich
    Contributor

    Good idea IMO

  3. locked and limited conversation to collaborators on Mar 29, 2026
  4. converted this issue into a discussion #247 on Mar 29, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions