1 | static L<Map<S, Lisp>> lispTruthMatches(Lisp pat, S... variables) { |
2 | Set<S> vars = asSet(variables); |
3 | L<Map<S, Lisp>> out = new L; |
4 | for (LispStatement l : values(lispStatements_cached())) |
5 | addIfNotNull(out, lispMatch(pat, l.term, vars)); |
6 | ret out; |
7 | } |
Began life as a copy of #1007841
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: | #1007886 |
Snippet name: | lispTruthMatches |
Eternal ID of this version: | #1007886/7 |
Text MD5: | 7e30eaa2ce5eb4bf6aefab4288f4cc25 |
Author: | stefan |
Category: | javax / a.i. |
Type: | JavaX fragment (include) |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2017-04-13 18:22:44 |
Source code size: | 262 bytes / 7 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 496 / 510 |
Version history: | 6 change(s) |
Referenced in: | [show references] |