« first day (359 days earlier)      last day (2288 days later) » 

9:41 AM
@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.
 
10:04 AM
TIOBot logged in!
 
 
1 hour later…
11:11 AM
@Adám (it was after midnight and I was trying to sleep...) sure
 
11:29 AM
#tio alias view
 
@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:
 
)about
#tio alias command ⍞← #TIO do apl-dyalog ⎕TRAP←(0 1000)'E' '⊃⎕DM'⋄⎕←%args
 
@Adám Added alias for ⍞←
 
⍞←...
 
@Adám DOMAIN ERROR
 
11:33 AM
@DyalogAPL Nice!
 
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
 
⍞←(20/1)⍴1
 
@Adám DOMAIN ERROR
 
#tio alias command ⍞← #TIO do apl-dyalog ⎕TRAP←(0 1000)'E' '⊃⎕DM'⋄⎕←%args%
 
@Adám Added alias for ⍞←
 
11:36 AM
⍞←(20/1)⍴1
 
@Adám DOMAIN ERROR
 
#tio alias command ⍞← #TIO do apl-dyalog {0::⎕←⊃⎕DM⋄⎕←%args%}⍬
 
@Adám Added alias for ⍞←
 
⍞←(20/1)⍴1
 
@Adám LIMIT ERROR
 
11:39 AM
⍞←...
 
@Adám SYNTAX ERROR
 
#tio alias command ⎕← run apl-dyalog (⎕NS⍬).⍎'⎕CY''salt''⋄⎕SE.UCMD''←box on -f=on -t=tree''⊣enableSALT⋄'''''⋄{0::⎕←↑(0 6 6↑¨' '),¨0 ¯2 0↓¨0 149 149↓¨⎕DM⋄⎕←%args%}⍬
 
@Adám Added alias for ⎕←
 
⎕←'a'+1
#tio alias view
 
@Adám
Command Aliases:
⍞← -> #TIO do apl-dyalog {0::⎕←⊃⎕DM⋄⎕←%args%}⍬
⎕← -> run apl-dyalog (⎕NS⍬).⍎'⎕CY''salt''⋄⎕SE.UCMD''←box on -f=on -t=tree''⊣enableSALT⋄'''''⋄{0::⎕←↑(0 6 6↑¨' '),¨0 ¯2 0↓¨0 149 149↓¨⎕DM⋄⎕←%args%}⍬

Language Aliases:
apl-dyalog -> [apl]

Message Aliases:
 
11:48 AM
⎕←42
#tio apl ⎕←42
 
@Adám
42
 
#tio alias command #TIO apl {0::⎕←⊃⎕DM⋄⎕←%args%}(⎕NS⍬).⍎'⎕CY''salt''⋄⎕SE.UCMD''←box on -f=on -t=tree''⊣enableSALT⋄⍬'
 
@Adám Added alias for #tio
 
⎕←42
⍞←42
 
@Adám 42
 
11:52 AM
#tio alias command ⎕← #TIO apl (⎕NS⍬).⍎'⎕CY''salt''⋄⎕SE.UCMD''←box on -fns=on -trains=tree''⊣enableSALT⋄'''''⋄⎕←%args%
 
@Adám Added alias for ⎕←
 
⎕←42
 
@Adám
42
 
#tio alias command ⎕← #TIO apl (⎕NS⍬).⍎'⎕CY''salt''⋄⎕SE.UCMD''←box on -fns=on -trains=tree''⊣enableSALT⋄'''''⋄{0::⎕←⊃⎕DM⋄⎕←%args%}⍬
 
@Adám Added alias for ⎕←
 
11:53 AM
⎕←42
 
@Adám
42
 
⎕←42+
 
@Adám
SYNTAX ERROR
 
#tio alias command ⎕← #TIO apl {0::⎕←⊃⎕DM⋄⎕←%args%}(⎕NS⍬).⍎'⎕CY''salt''⋄⎕SE.UCMD''←box on -fns=on -trains=tree''⊣enableSALT⋄⍬'
 
@Adám Added alias for ⎕←
 
11:57 AM
#tio alias command ⎕← #TIO apl {0::⎕←⊃⎕DM⋄⎕←%args%}(⎕NS⍬).⍎'⎕CY''salt''⋄⎕SE.UCMD''←box on -f=on -t=tree''⊣enableSALT⋄⍬'
#tio alias view
 
@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⋄⍬'
#tio -> apl {0::⎕←⊃⎕DM⋄⎕←%args%}(⎕NS⍬).⍎'⎕CY''salt''⋄⎕SE.UCMD''←box on -f=on -t=tree''⊣enableSALT⋄⍬'

Language Aliases:
apl-dyalog -> [apl]

Message Aliases:
 
#tio alias rcommand #tio
 
@Adám expected more arguments...
 
#tio alias rcommand #tio
 
@Adám removed alias for "#tio"
 
11:58 AM
#tio alias view
 
@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:
 
⎕←{
 
@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 )help %handle% Dyalog APL Language Elements
 
@Adám Added alias for )help
 
12:01 PM
#tio alias message )ref %handle% Dyalog APL Reference Card
 
@Adám Added alias for )ref
 
#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 Added alias for )about
 
#tio alias message )lb %handle% ← +-×÷*⍟⌹○!? |⌈⌊⊥⊤⊣⊢ =≠≤<>≥≡≢ ∨∧⍲⍱ ↑↓⊂⊃⊆⌷⍋⍒ ⍳⍸∊⍷∪∩~ /\⌿⍀ ,⍪⍴⌽⊖⍉ ¨⍨⍣.∘⍤@ ⍞⎕⍠⌸⌺⌶⍎⍕ ⋄⍝→⍵⍺∇& ¯⍬∆⍙Install…
 
@Adám Added alias for )lb
 
12:05 PM
#tio alias message )docs %handle% Dyalog APL Documentation
 
@Adám Added alias for )docs
 
#tio alias view
 
@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
 
@J.Sallé Bot is back! Now with better error handling, not flooding with huge messages except for the most severe syntax error.
 
12:20 PM
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
 
12:44 PM
@awyr_agored I'll be delighted to help you. First, which platform are you on? If you are on Windows, then this is the obvious place to start.
 
1:32 PM
@Adám oh nice. Could you tell me why is ⊢/ equivalent to ¯1↑ in this case?
 
1:54 PM
@J.Sallé ⊢/ is right-reduction: ⊢/a b c d is a⊢b⊢c⊢d which is d.
 
2:05 PM
@Adám ah, that makes sense.
 
2:58 PM
f←{↑(0≠t)/t←⌽⍎¨⍕!⍵}
⎕←f¨1 2 3 4 5 6 7 8 9 10
⎕←{↑(0≠t)/t←⌽⍎¨⍕!⍵}¨1 2 3 4 5 6 7 8 9 10
 
@RosLuP
┌─┬─┬─┬───┬───┬───┬───┬─────┬─────────┬─────────┐
│1│2│6│4 2│2 1│2 7│4 5│2 3 4│8 8 2 6 3│8 8 2 6 3│
└─┴─┴─┴───┴───┴───┴───┴─────┴─────────┴─────────┘
 
Why ↑ not return just one number but one array?
⎕←⌽⍎¨⍕!9
 
@RosLuP
0 8 8 2 6 3
 
⎕←≠t←⌽⍎¨⍕!9
 
@RosLuP
SYNTAX ERROR
 
3:10 PM
⎕←0≠t←⌽⍎¨⍕!9
 
@RosLuP
0 1 1 1 1 1
 
⎕←(0≠t)/t←⌽⍎¨⍕!9
 
@RosLuP
8 8 2 6 3
 
⎕←↑(0≠t)/t←⌽⍎¨⍕!9
 
@RosLuP
8 8 2 6 3
 
3:14 PM
Why ↑ not return the first of the array 8 8 2 6 3? Perhaps that array is enclosed? So I have to use something to discose it?
⎕←↑⊂(0≠t)/t←⌽⍎¨⍕!9
 
@RosLuP
8 8 2 6 3
 
⎕←↑⊃(0≠t)/t←⌽⍎¨⍕!9
 
@RosLuP
8
 
But Apl Nars seems consider it disclose...
 
3:30 PM
@RosLuP NARS and Dyalog have swapped definitions of monadic and . You can swap Dyalog's definitions (to match NARS's) with ⎕ML←3:
⎕←↑(0≠t)/t←⌽⍎¨⍕!9
 
@Adám
8 8 2 6 3
 
⎕←↑(0≠t)/t←⌽⍎¨⍕!9⊣⎕ML←3
 
@Adám
8
 
4:01 PM
⎕←↑⊃9 2 3 4 5 6
 
@RosLuP
9
 
⎕←↑9 2 3 4 5 6
 
@RosLuP
9 2 3 4 5 6
 
⎕←(↑9 2 3 4 5 6)
 
@RosLuP
9 2 3 4 5 6
 
4:03 PM
⎕←1↑9 2 3 4 5 6
 
@RosLuP
9
 
⎕←⊃9 2 3 4 5 6
 
@RosLuP
9
 
Ok thank you
 

« first day (359 days earlier)      last day (2288 days later) »