Libraryless. Click here for Pure Java version (2475L/16K).
1 | sbool eqic_roundBracketed(S a, S b) { |
2 | ret eqic_roundBracketed_oneWay(a, b) |
3 | || eqic_roundBracketed_oneWay(b, a); |
4 | } |
5 | |
6 | sbool eqic_roundBracketed_oneWay(S a, S b) { |
7 | ret l(a) == l(b)+2 && eqic(a, "(" + b + ")"); |
8 | } |
download show line numbers debug dex old transpilations
Travelled to 7 computer(s): bhatertpkbcr, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tvejysmllsmz, vouqrxazstgt, xrpafgyirdlv
No comments. add comment
Snippet ID: | #1027989 |
Snippet name: | eqic_roundBracketed - eqic(a, round(b)) || eqic(b, round(a)) |
Eternal ID of this version: | #1027989/1 |
Text MD5: | 1385a8b269accc3914c0cb492124abf4 |
Transpilation MD5: | ceec53468f5cee687641e850c62b5a73 |
Author: | stefan |
Category: | javax / a.i. |
Type: | JavaX fragment (include) |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2020-04-23 12:46:51 |
Source code size: | 222 bytes / 8 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 209 / 298 |
Referenced in: | [show references] |