From 9618762b6264a53e4158f4b419a7d8f0107e6de8 Mon Sep 17 00:00:00 2001 From: Gus <1261319+gusty@users.noreply.github.com> Date: Tue, 13 Jan 2026 10:53:27 +0100 Subject: [PATCH] Add >>= for Skippable --- src/FSharp.SystemTextJson/Skippable.fs | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/FSharp.SystemTextJson/Skippable.fs b/src/FSharp.SystemTextJson/Skippable.fs index 5c62769..737fe91 100644 --- a/src/FSharp.SystemTextJson/Skippable.fs +++ b/src/FSharp.SystemTextJson/Skippable.fs @@ -129,3 +129,8 @@ type Skippable<'T> with /// Transforms the input using the specified function. static member ()(f, skippable) = Skippable.map f skippable + + /// Infix operator for Skippable.bind. + /// Applies the Skippable-returning function to the Skippable-wrapped value. + static member (>>=)(skippable, f) = + Skippable.bind f skippable