Files
lnd/fn
Gijs van Dam e7b9515edd fn: fix Result[T].FlatMap
For a Result[T], FlatMap should apply f when the result is Ok, and
propagate the error unchanged when it's Err. The original code returns r
on Ok and tries to use r.left when Err, which is wrong. This commit
fixes that.

Secondly, the group of FlatMap/AndThen and OrElse functions and methods
are now properly tested with new unit tests.

fixes #10401
2026-01-06 10:51:49 +01:00
..
2024-07-10 17:06:04 -07:00
2024-11-06 17:32:58 -07:00
2024-12-10 14:10:33 +01:00
2024-07-10 17:06:04 -07:00
2024-12-16 11:16:00 -03:00
2024-12-16 11:16:00 -03:00
2025-03-17 16:43:38 +08:00
2024-09-26 14:24:36 -06:00
2024-05-10 09:55:16 +01:00
2025-03-25 10:34:19 +08:00
2024-01-23 19:09:45 -08:00
2024-07-31 12:59:10 -07:00
2026-01-06 10:51:49 +01:00
2026-01-06 10:51:49 +01:00
2024-01-23 19:09:50 -08:00
2025-03-25 10:34:19 +08:00
2025-07-09 21:21:45 +01:00
2024-12-13 10:44:03 +02:00