@J.Sallé @EriktheOutgolfer You don't even need the jot because ≠ is scalar (penetrates structure). Also, ¯1↑ is in this case the same as ⊢/: {⊢/⍵/⍨0≠⍎¨⍵}⍕∘! should work.
@Adám
Command Aliases:
⍞← -> #TIO do apl-dyalog ⎕TRAP←(0 1000)'E' '''ERROR: Use ⎕← for a full error report'''⋄⎕←%args%
⎕← -> #TIO run apl-dyalog (⎕NS⍬).⍎'⎕CY''salt''⋄⎕SE.UCMD''←box on -fns=on -trains=tree''⊣enableSALT⋄'''''⋄⎕←%args%
Language Aliases:
apl-dyalog -> [apl]
Message Aliases:
Come along to the January British APL Association meeting on Friday 26th at The Hoop And Grapes in London. For more information go to https://groups.google.com/forum/#!topic/baa-london/jM3Oa1FyK90
@Adám
line(1,0) : error AC0505: error (SYNTAX ERROR) executing line "{0::⎕←⊃⎕DM⋄⎕←{}(⎕NS⍬).⍎'⎕CY''salt''⋄⎕SE.UCMD''←box on -f=on -t=tree''⊣enableSALT⋄⍬'"
^
Complete: 1 error.
DOMAIN ERROR: There were errors processing the script
'#'⎕NS ⎕FIX'file:///home/runner/.bin.tio.dyalog'
∧
Real time: 0.021 s
User time: 0.001 s
Sys. time: 0.022 s
CPU share: 107.47 %
Exit code: 0
#tio alias message )about %handle% You can evaluate an APL expression by typing it into chat prefixed by ⍞←. Use ⎕← instead for boxed display and multi-line results. Do not use markdown. Commands: )lb for language bar, )help for table of language elements, )docs for full documentation, )ref for PDF reference card.
@Adám
Command Aliases:
⍞← -> #TIO do apl-dyalog {0::⎕←⊃⎕DM⋄⎕←%args%}⍬
⎕← -> #TIO apl {0::⎕←⊃⎕DM⋄⎕←%args%}(⎕NS⍬).⍎'⎕CY''salt''⋄⎕SE.UCMD''←box on -f=on -t=tree''⊣enableSALT⋄⍬'
Language Aliases:
apl-dyalog -> [apl]
Message Aliases:
)help -> %handle% [Dyalog APL Language Elements](help.dyalog.com/16.0/Content/Language/Introduction/…)
)ref -> %handle% [Dyalog APL Reference Card](docs.dyalog.com/16.0/ReferenceCard.pdf)
)about -> %handle% You can evaluate an APL expression by typing it into chat prefixed by ⍞←. Use ⎕← instead for boxed display and multi-line r…
Hi - I'm fairly new to APL (using Dyalog version 16). I'd like to create some simple 2d graphics such as Sierpinski triangle, Koch snowflake and basic 2d graphics. Are there any tutorials about this online, or similar.
A blog post mentioning #Dyalog and featuring the presentation given by @MorisZucca at #Dyalog17 ... https://twitter.com/rtlsdrblog/status/951664507310391296