« first day (2621 days earlier)      last day (39 days later) » 

2:35 PM
0
Q: Widget APL Touch Component Advice

Brian WI’m trying to create an APL document (for an Alexa widget) that contains a background image, several text components, and a footer action button.  I would like for the user to be able to touch anywhere on the widget (outside of the footer action button) to open the corresponding Alexa skill.  I a...

 
 
3 hours later…
5:25 PM
ls = [1, 2, 3]
s = "str"
map (\x -> s ++ show x) ls
["str1","str2","str3"]
anyone know who to cat a string with a list of number in APL?
the code is in Haskell
s ← 'abc'
      ls ← 1 2 3
      s,¨ls
 a 1  b 2  c 3
this is not what I want
 
5:45 PM
does (⊂'abc'),∘⍕¨1 2 3 do what you want?
 
 
4 hours later…
9:57 PM
work, nice, I always forgot to make 'abc' as unit, I thought I could use ('abc') would do the trick
 
@1234 Alternative: 'abc'∘,∘⍕¨1 2 3
 
@Adám, this is what in my mind, but it need two compose operators
does APL interpret (∘,∘⍕) as one operator?
 
 
1 hour later…
11:11 PM
not quite - it's more operators have long left scope so A∘,∘⍕ becomes (A∘,)∘⍕
tacit.help link might help
 

« first day (2621 days earlier)      last day (39 days later) »