Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions tests/HttpServer.dyalog
Original file line number Diff line number Diff line change
Expand Up @@ -732,7 +732,7 @@

GetFromTable←{(⍵[;1]⍳⊂,⍺)⊃⍵[;2],⊂''}
split←{p←(⍺⍷⍵)⍳1 ⋄ ((p-1)↑⍵)(p↓⍵)} ⍝ Split ⍵ on first occurrence of ⍺
lc←0∘(819⌶)
lc←{2::0(819⌶)⍵ ⋄ ¯3 ⎕C ⍵} ⍝ lower case conversion
deb←{{1↓¯1↓⍵/⍨~' '⍷⍵}' ',⍵,' '}

∇ {r}←{message}Fail status
Expand Down Expand Up @@ -950,7 +950,7 @@
stripQuotes←{'""'≡2↑¯1⌽⍵:¯1↓1↓⍵ ⋄ ⍵} ⍝ strip leading and ending "
deb←{{1↓¯1↓⍵/⍨~' '⍷⍵}' ',⍵,' '} ⍝ delete extraneous blanks
dlb←{⍵↓⍨+/∧\' '=⍵} ⍝ delete leading blanks
lc←0∘(819⌶) ⍝ lower case
lc←{2::0(819⌶)⍵ ⋄ ¯3 ⎕C ⍵} ⍝ lower case conversion
nameClass←{⎕NC⊂,'⍵'} ⍝ name class of argument
nocase←{(lc ⍺)⍺⍺ lc ⍵} ⍝ case insensitive operator
begins←{⍺≡(⍴⍺)↑⍵} ⍝ does ⍺ begin with ⍵?
Expand Down