sS ai_findNumberCalculationFunction1(L<Double> numbers) { ret empty(numbers) ? null : ai_findNumberCalculationFunction1(dropLast(numbers), last(numbers)); } sS ai_findNumberCalculationFunction1(L<Double> numbers, double result) { if (l(numbers) != 2) null; for (S f : ai_numberCalculationFunctions()) pcall { if (ai_checkNumberCalculationFunction1(f, numbers, result)) ret f; } null; }
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: | 355 / 378 |
Version history: | 6 change(s) |
Referenced in: | #1006654 - Standard functions list 2 (LIVE, continuation of #761) #1021609 - ai_callNumberCalculationFunction #1021610 - ai_checkNumberCalculationFunction1 |