1 | sS ai_findNumberCalculationFunction1(L<Double> numbers) { |
2 | ret empty(numbers) ? null : ai_findNumberCalculationFunction1(dropLast(numbers), last(numbers)); |
3 | } |
4 | |
5 | sS ai_findNumberCalculationFunction1(L<Double> numbers, double result) { |
6 | if (l(numbers) != 2) null; |
7 | for (S f : ai_numberCalculationFunctions()) pcall { |
8 | if (ai_checkNumberCalculationFunction1(f, numbers, result)) |
9 | ret f; |
10 | } |
11 | null; |
12 | } |
download show line numbers debug dex old transpilations
Travelled to 7 computer(s): bhatertpkbcr, cfunsshuasjs, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tvejysmllsmz, vouqrxazstgt
No comments. add comment
Snippet ID: | #1021607 |
Snippet name: | ai_findNumberCalculationFunction1 |
Eternal ID of this version: | #1021607/7 |
Text MD5: | 36b3e1efb59ce8191482069e2fb2673f |
Author: | stefan |
Category: | javax / a.i. |
Type: | JavaX fragment (include) |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2019-03-03 00:12:54 |
Source code size: | 417 bytes / 12 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 354 / 378 |
Version history: | 6 change(s) |
Referenced in: | [show references] |