These are chat archives for Microsoft/visualfsharp

25th
Apr 2015
Sergei Vorobev
@vors
Apr 25 2015 16:19
noob question: cannot find what's is the meaning of >>=. Example from code: (stdin >>= stdoutStream >>= stdout >>= stderrStream >>= stderr).Dispose()
Vasily Kirichenko
@vasily-kirichenko
Apr 25 2015 16:24
usually it's monadic "bind".
ma -> (a -> mb) -> mb
Sergei Vorobev
@vors
Apr 25 2015 16:27
@vasily-kirichenko cool, thank you. I missed the definition above: ```
let (>>=) (d1:#IDisposable) (d2:#IDisposable) =
        { new IDisposable with
            member x.Dispose() =
                d1.Dispose()
                d2.Dispose() }
Sergei Vorobev
@vors
Apr 25 2015 16:41
Why ID and .D are cyan in the above example? Is it a problem in gitter syntax highlighting?