conversations
listlengths
2
3
source
stringclasses
1 value
stack
stringclasses
1 value
[ { "from": "system", "value": "Rename of SelectByText to SelectItemText\n" }, { "from": "human", "value": " msg←SelectAdvanced;result;output;sel;froot;prev\n⍝ Test /Examples/DC/SelectAdvanced\n\n⍝ Ensure 'multi' (the selection list) is there:\n msg←'selection list not there'\n :If 0≢sel←Find'mul...
apl
chosen
[ { "from": "system", "value": "Add missing '=' in MS3/Examples/DC/EditFieldSample\n" }, { "from": "human", "value": ":Class EditFieldSimple : MiPageSample\n⍝ Control:: _DC.EditField _DC.Button _html.label\n⍝ Description:: Collect input and echo it on a button press\n\n ∇ Compose;btn;F1;label;...
apl
chosen
[ { "from": "system", "value": "Upgrade message inculdes note of 15.0+ being free.\n" }, { "from": "human", "value": ":Class MS3Server : MiServer\n⍝ This is an example of a customized MiServer\n⍝ The MiServer class exposes several overridable methods that can be customized by the user\n⍝ In this ...
apl
chosen
[ { "from": "system", "value": "Fix to new ParseAttr syntax\n" }, { "from": "human", "value": ":class aSimple : MiPageSample\n⍝ Control:: _html.a \n⍝ Description:: Insert a hyperlink\n\n ∇ Compose\n :Access public \n Add 'Click '\n 'href' 'http://www.dyalog.com/meet-team-dyalog...
apl
chosen
[ { "from": "system", "value": "Trim fat on apl nr 1\n" }, { "from": "human", "value": "#!/usr/local/bin/apl -s\n\n'Day 3: Perfectly Spherical Houses in a Vacuum'\n\ni ← (0 0)\ncmds ← ('<' '>' '^' 'v')\ndirs ← ((¯1 0) (1 0) (0 ¯1) (0 1))\nhouses ← ∪ (0 0) , i { ++\\⍵ } { dirs[ti] ⊣ ti ← cmds ⍳ ⍵ }...
apl
chosen
[ { "from": "system", "value": "Remove empty comment that messes up the index page\n" }, { "from": "human", "value": ":class abbrsample: MiPage\n⍝ Control:: HTML.abbr \n⍝ Description:: this is an example of use of abbr which allows you to display text when hovering over an area\n⍝ \n⍝ This is ...
apl
chosen
[ { "from": "human", "value": "Add boilerplate APL script to serve CGI webpages\n\nI can no longer tell if I've gone insane, or I've just become bored with\nweb development. Probably a collusion of both.\n\nEither way, getting this script working required some changes in the GNU\nAPL preferences file (interpr...
apl
chosen