Finding it hard to come up with a nice #fsharp solution which mixes TPL (in particular Tasks and ContinueWith) with mapping over options.
-
-
Replying to @TheColonial
@TheColonial in a more robust type system you would use OptionT monad transformer. It's just code repetition otherwise and F# forces it.1 reply 0 retweets 1 like -
Replying to @TheColonial
@TheColonial it just occurred to me that maybe you can't solve it because of this problem without modifying the "Task" code.1 reply 0 retweets 0 likes -
Replying to @TheColonial
@TheColonial you want the hypothetical TaskT transformer onto which you stack Option.2 replies 0 retweets 0 likes -
Replying to @TheColonial
@TheColonial I think you want TaskT on Option (not really fixed) and not OptionT on Task (easily fixed).2 replies 0 retweets 0 likes
Loading seems to be taking a while.
Twitter may be over capacity or experiencing a momentary hiccup. Try again or visit Twitter Status for more information.