Libraryless. Click here for Pure Java version (2475L/16K).
sclass ParsedPowerWords { sclass Equation { S lhs, rhs; bool bothSided; *() {} *(S *lhs, S *rhs, bool *bothSided) {} toString { ret curlyIfContains("->", lhs) + (bothSided ? " <-> " : " -> ") + curlyIfContains("->", rhs); } } new L<Equation> equations; new LPairS inequalities; toString { ret lines(concatLists(equations, (L) ll(""), map renderInequality(inequalities))); } }
download show line numbers debug dex old transpilations
Travelled to 6 computer(s): bhatertpkbcr, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tvejysmllsmz, vouqrxazstgt
No comments. add comment
Snippet ID: | #1023979 |
Snippet name: | ParsedPowerWords |
Eternal ID of this version: | #1023979/10 |
Text MD5: | 92116ae530d5adaea4bda2485796cc88 |
Transpilation MD5: | 79b7ba523d07a5ff3130469672694337 |
Author: | stefan |
Category: | javax |
Type: | JavaX fragment (include) |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2019-07-18 15:35:07 |
Source code size: | 444 bytes / 18 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 273 / 720 |
Version history: | 9 change(s) |
Referenced in: | [show references] |