diff options
author | sterni <sternenseemann@systemli.org> | 2022-12-23T14·28+0100 |
---|---|---|
committer | clbot <clbot@tvl.fyi> | 2022-12-23T14·34+0000 |
commit | 835ea6ca7db3b2b22a3cc9e323132b2769af235d (patch) | |
tree | 0b7f259dad3686efc869f2b478bdc42dd6cc816d /users/sterni/exercises/aoc/lib.bqn | |
parent | 9008fb083995e37a66fe0894d85f156d70aac1e8 (diff) |
feat(sterni/aoc/2022): day21.1 BQN solution r/5480
This one is not finished yet, but needs to move of this laptop by ways of git. Change-Id: I2c8c0a7b581a654f7cfab92dd21ced82a14c5f42 Reviewed-on: https://cl.tvl.fyi/c/depot/+/7616 Tested-by: BuildkiteCI Autosubmit: sterni <sternenseemann@systemli.org> Reviewed-by: sterni <sternenseemann@systemli.org>
Diffstat (limited to 'users/sterni/exercises/aoc/lib.bqn')
-rw-r--r-- | users/sterni/exercises/aoc/lib.bqn | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/users/sterni/exercises/aoc/lib.bqn b/users/sterni/exercises/aoc/lib.bqn index 37c518d1fd61..e870a5dfa426 100644 --- a/users/sterni/exercises/aoc/lib.bqn +++ b/users/sterni/exercises/aoc/lib.bqn @@ -1,4 +1,5 @@ IsAsciiNum ⇐ ('0'⊸≤∧≤⟜'9') +IsAlpha ⇐ (('a'⊸≤∧≤⟜'z')∨('A'⊸≤∧≤⟜'Z')) # based on leah2's function ReadInt ⇐ { |