APL Notes: emoticons

high 5?

   {𝕩¨ ↕𝕩}5  #q: can this be improved?
⟨ 5 5 5 5 5 ⟩
   β₯ŠΛœ5       # right: high-five!  left: low miss
⟨ 5 5 5 5 5 ⟩
   (βŠ’βŠ£Β¨β†•)5   # synthetic operator: Tie Fighter
⟨ 5 5 5 5 5 ⟩
   (β†•βŠΈβŒˆ)5    # emoticon: sad guy
⟨ 5 5 5 5 5 ⟩

The Tie Fighter is also good for observing part of an evaluation with a side effect:

   1 + 2 + 3  # what is 2+3 though???
6
   1 + (βŠ’βŠ£β€’Show) 2 + 3
5
6
   # not needed in the case of β€’Show
   1 + β€’Show 2 + 3
5
6
   # and needs more parens than before-right
   1 + β€’Show⊸⊒ 2 + 3
5
6

breakup

   @β€Ώ@  # what are you smiling about?
""
   @β‹ˆ@  # did that question anger you?
""
   @-@  # come on, aren't we in a relationship?
0

(J) The 'diamond' pseudo-operator: <>

This is a way to transform a list of boxed strings into a box of a table of characters.

   ]l =: <;._1 '/the sun/rises in/the south'
β”Œβ”€β”€β”€β”€β”€β”€β”€β”¬β”€β”€β”€β”€β”€β”€β”€β”€β”¬β”€β”€β”€β”€β”€β”€β”€β”€β”€β”
β”‚the sunβ”‚rises inβ”‚the southβ”‚
β””β”€β”€β”€β”€β”€β”€β”€β”΄β”€β”€β”€β”€β”€β”€β”€β”€β”΄β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜
   <LF joinstring l  NB. wrong!
β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”
β”‚the sun rises in the southβ”‚
β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜
   <> l
β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”
β”‚the sun  β”‚
β”‚rises in β”‚
β”‚the southβ”‚
β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜

BQN's stricter about fill elements:

   >"the sun"β€Ώ"rises in"β€Ώ"the south"
Error: >: Incompatible element shapes (encountered shapes ⟨7⟩ and ⟨8⟩)
at >"the sun"β€Ώ"rises in"β€Ώ"the south"

   {>(βŒˆΒ΄β‰ Β¨π•©)↑¨𝕩} "the sun"β€Ώ"rises in"β€Ώ"the south"
β”Œβ”€           
β•΅"the sun    
  rises in   
  the south" 
            β”˜