Owen Mansel-Chan
ab5e1f8a69
Fix models for min and max and improve tests
...
Although the documentation makes them look variadic (and generic), they
are actually special-cased in the compiler. Like all built-in functions
they don't have a signature type, but the type of `min(a, b, c)` is
`func(int, int, int) int` and not `func(int, ...int) int`.
Go doesn't allow open-ended ranges for argument indices in
models-as-data specifications (though Ruby and Python do), so I've used
`1..1000`.
2024-05-14 14:40:56 +01:00
..
2023-04-12 14:19:00 +01:00
2023-04-12 14:18:44 +01:00
2023-04-12 14:19:05 +01:00
2024-05-14 14:40:56 +01:00
2023-04-12 14:19:05 +01:00
2023-04-12 14:18:44 +01:00
2023-04-12 14:18:44 +01:00
2023-04-12 14:18:44 +01:00
2023-04-12 14:18:44 +01:00
2023-04-12 14:19:00 +01:00
2023-04-12 14:18:44 +01:00
2023-04-12 14:18:44 +01:00
2023-04-12 14:18:44 +01:00
2023-04-12 14:18:44 +01:00
2023-04-12 14:18:44 +01:00
2023-04-12 14:18:44 +01:00
2023-04-12 14:18:44 +01:00
2023-04-12 14:18:44 +01:00
2023-04-12 14:18:44 +01:00
2023-04-12 14:18:44 +01:00
2023-04-12 14:19:01 +01:00
2024-05-02 09:59:48 +01:00
2023-04-12 14:18:44 +01:00
2023-04-12 14:18:44 +01:00
2023-04-12 14:18:44 +01:00
2023-04-12 14:18:44 +01:00
2023-04-12 14:18:44 +01:00
2023-04-12 14:18:44 +01:00
2023-04-12 14:18:44 +01:00
2023-04-12 14:18:44 +01:00
2023-04-12 14:18:44 +01:00
2023-04-12 14:18:44 +01:00
2023-04-12 14:19:05 +01:00
2023-04-12 14:18:44 +01:00
2023-04-12 14:19:01 +01:00
2023-04-12 14:19:05 +01:00
2024-01-10 11:53:53 +01:00
2023-04-12 14:19:02 +01:00
2023-04-12 14:19:06 +01:00
2023-04-12 14:19:02 +01:00
2024-02-14 12:21:51 +01:00
2024-02-14 17:25:08 +01:00
2023-04-12 14:18:44 +01:00
2023-04-12 14:19:06 +01:00
2024-02-14 12:15:14 +01:00
2023-04-12 14:18:44 +01:00
2024-02-14 12:21:51 +01:00
2024-02-14 17:25:03 +01:00
2024-02-14 12:15:14 +01:00
2023-04-12 14:19:02 +01:00
2024-02-14 17:25:03 +01:00
2023-04-12 14:18:44 +01:00
2024-02-14 12:15:14 +01:00
2024-02-14 12:15:14 +01:00
2023-04-12 14:19:02 +01:00
2024-02-14 12:15:14 +01:00
2024-02-14 12:15:14 +01:00
2024-02-14 12:15:14 +01:00
2024-02-14 12:15:14 +01:00
2023-04-12 14:19:03 +01:00
2023-04-12 14:19:03 +01:00
2023-11-25 13:36:06 +01:00
2023-04-12 14:19:01 +01:00
2023-04-12 14:19:00 +01:00
2023-04-12 14:19:04 +01:00
2023-04-12 14:19:03 +01:00
2023-04-12 14:19:03 +01:00
2023-04-12 14:19:03 +01:00
2023-04-12 14:19:03 +01:00
2023-04-12 14:19:03 +01:00
2024-03-04 14:29:56 +01:00
2024-02-14 17:25:08 +01:00
2023-04-12 14:19:02 +01:00
2023-04-12 14:18:44 +01:00
2023-04-12 14:19:01 +01:00
2023-04-12 14:18:44 +01:00
2023-04-12 14:18:44 +01:00
2023-04-12 14:19:01 +01:00
2023-04-12 14:19:02 +01:00
2023-04-12 14:19:03 +01:00
2023-04-12 14:19:01 +01:00
2024-02-14 12:15:14 +01:00
2023-04-12 14:19:05 +01:00
2023-04-12 14:19:00 +01:00
2023-04-12 14:18:44 +01:00
2023-04-12 14:19:05 +01:00
2023-04-12 14:19:05 +01:00
2023-04-12 14:18:44 +01:00
2023-04-12 14:19:05 +01:00
2023-04-12 14:19:01 +01:00
2023-04-12 14:19:05 +01:00
2023-04-12 14:18:44 +01:00
2023-04-12 14:19:05 +01:00
2023-04-12 14:19:05 +01:00
2023-04-12 14:19:01 +01:00
2023-04-12 14:18:44 +01:00
2023-04-12 14:18:44 +01:00
2023-04-12 14:18:44 +01:00
2023-04-12 14:19:01 +01:00
2023-04-12 14:19:05 +01:00
2023-04-12 14:19:05 +01:00
2023-04-12 14:18:44 +01:00
2023-04-12 14:18:44 +01:00
2023-04-12 14:18:44 +01:00
2023-04-12 14:19:01 +01:00