Murat Kasimov

More about me

Я language (β)

/Я language (β)/Primitives/Shifter/

Defines a range of directions you can shift these data structures: Scrolling List, Scrolling Tree, Sliding List.

We can visually represent shifting Scrolling List and Sliding List either horizontally (Aback/Ahead) or vertically (Below/Above):

: ( Shifter List ) ~ ( Unit `S` Unit ) > Aback , Above : Unit `AR_` Shifter List > Ahead , Below : Unit `AR_` Shifter List

For Scrolling Tree only one representation is avaialable: we can move both horizontally (Aside - switching to a sibling Tree) and vertically (Pitch - climbing up/down through hierarchy levels):

: ( Shifter Tree ) ~ ( Unit `S` Unit `S__` Unit `S` Unit ) > Aside `ha` Aback : Unit `AR_` Shifter Tree > Aside `ha` Ahead : Unit `AR_` Shifter Tree > Pitch `ha` Below : Unit `AR_` Shifter Tree > Pitch `ha` Above : Unit `AR_` Shifter Tree