// lines are in the format Q => A svoid lispCheckQuestionsVerbose(S questionsAndAnswers) { for (S s : toLinesFullTrim_java(questionsAndAnswers)) { new Matches m; if (flexMatchIC("* => *", s, m)) { L<S> answers = lispSolveQuestionVerbose($1); if (l(answers) != 1 || !match($2, first(answers))) print(" FAIL"); } } }
Began life as a copy of #1008301
download show line numbers debug dex old transpilations
Travelled to 13 computer(s): aoiabmzegqzx, bhatertpkbcr, cbybwowwnfue, cfunsshuasjs, gwrvuhgaqvyk, ishqpsrjomds, lpdgvwnxivlt, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tslmcundralx, tvejysmllsmz, vouqrxazstgt
No comments. add comment
Snippet ID: | #1008319 |
Snippet name: | lispCheckQuestionsVerbose - check answers to questions |
Eternal ID of this version: | #1008319/3 |
Text MD5: | 12fcd6c014fb6e49aec8ad70905febc3 |
Author: | stefan |
Category: | javax / a.i. |
Type: | JavaX fragment (include) |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2017-05-07 18:51:42 |
Source code size: | 361 bytes / 11 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 456 / 470 |
Version history: | 2 change(s) |
Referenced in: | [show references] |