1 | static Lisp findHead(Collection<Lisp> l, S head) {
|
2 | for (Lisp lisp : l) |
3 | if (lisp.is(head)) |
4 | ret lisp; |
5 | null; |
6 | } |
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: | #1007658 |
| Snippet name: | findHead - find Lisp by head |
| Eternal ID of this version: | #1007658/1 |
| Text MD5: | 602bfcfb7101c04f1a7d8395d1647cd4 |
| Author: | stefan |
| Category: | javax / lisp |
| Type: | JavaX fragment (include) |
| Public (visible to everyone): | Yes |
| Archived (hidden from active list): | No |
| Created/modified: | 2017-03-30 20:51:58 |
| Source code size: | 126 bytes / 6 lines |
| Pitched / IR pitched: | No / No |
| Views / Downloads: | 772 / 791 |
| Referenced in: | [show references] |