Skip to content

Commit

Permalink
APL: Added ⍥ (#2409)
Browse files Browse the repository at this point in the history
Introduced into Dyalog APL 18.0 which is just about to be released.
  • Loading branch information
abrudz committed May 27, 2020
1 parent 4fe0367 commit 0255cb6
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
4 changes: 2 additions & 2 deletions components/prism-apl.js
Expand Up @@ -17,7 +17,7 @@ Prism.languages.apl = {
alias: 'operator'
},
'dyadic-operator': {
pattern: /[.⍣⍠⍤∘⌸@⌺]/,
pattern: /[.⍣⍠⍤∘⌸@⌺]/,
alias: 'operator'
},
'assignment': {
Expand All @@ -29,4 +29,4 @@ Prism.languages.apl = {
pattern: /[{}⍺⍵⍶⍹∇⍫:]/,
alias: 'builtin'
}
};
};
2 changes: 1 addition & 1 deletion components/prism-apl.min.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 3 additions & 3 deletions tests/languages/apl/dyadic-operator_feature.test
@@ -1,15 +1,15 @@
. ⍣ ⍠
⍤ ∘ ⌸
@ ⌺
@ ⌺

----------------------------------------------------

[
["dyadic-operator", "."], ["dyadic-operator", "⍣"], ["dyadic-operator", "⍠"],
["dyadic-operator", "⍤"], ["dyadic-operator", "∘"], ["dyadic-operator", "⌸"],
["dyadic-operator", "@"], ["dyadic-operator", "⌺"]
["dyadic-operator", "@"], ["dyadic-operator", "⌺"], ["dyadic-operator", "⍥"]
]

----------------------------------------------------

Checks for dyadic operators.
Checks for dyadic operators.

0 comments on commit 0255cb6

Please sign in to comment.