This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// using Result from F# 4.1 | |
module AsyncResult = | |
let inline bind f x = async { | |
let! x' = x | |
match x' with | |
| Ok a -> return! f a | |
| Error e -> return Error e | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
namespace FsharpService | |
open System.ComponentModel | |
open System.Configuration.Install | |
open System.Diagnostics | |
[<RunInstaller(true)>] | |
type public FSharpServiceInstaller() = | |
inherit Installer() |