Hopac.Plus
A collection of utilities that encapsulate common concurrency patterns and constructs for use with the Hopac concurrency library.
PM> Install-Package Hopac.Plus
Extensions
Example using the functions in the Hopac.Plus.Extensions
namespace:
1: 2: 3: 4: 5: 6: 7: 8: 9: 10: |
|
Result:
|
SharedMap
Example using the SharedMap
:
1: 2: 3: 4: 5: 6: 7: 8: 9: 10: 11: 12: 13: 14: 15: 16: 17: 18: 19: 20: 21: 22: 23: 24: 25: |
|
Samples & documentation
The library comes with comprehensible documentation.
Tutorial contains a further explanation of this sample library.
-
API Reference contains automatically generated documentation for all types, modules and functions in the library. This includes additional brief samples on using most of the functions.
Contributing and copyright
The project is hosted on GitHub where you can report issues, fork the project and submit pull requests. If you're adding a new public API, please also consider adding samples that can be turned into a documentation. You might also want to read the library design notes to understand how it works.
The library is available under Apache 2.0 license, which allows modification and redistribution for both commercial and non-commercial purposes. For more information see the License file in the GitHub repository.
module Hopac
from Hopac
--------------------
namespace Hopac
from Hopac.Plus.Extensions
Full name: Hopac.Plus.Extensions.OptionJob.create
Full name: Hopac.Plus.Extensions.OptionJob.bindOpt
Full name: Hopac.Job<_>
Full name: Hopac.Job.map
from Hopac.Plus.Extensions
Full name: Hopac.Plus.Extensions.ChoiceJob.map
Full name: Hopac.Plus.Extensions.ChoiceJob.fold
Full name: Hopac.Plus.Extensions.OptionJob.orDefaultJob
from Hopac.Plus.Extensions
Full name: Hopac.Plus.Extensions.Clock.getSecondsSinceEpoch
Full name: Hopac.Hopac.run
Full name: Index.smap
module SharedMap
from Hopac.Plus.Collections
--------------------
type SharedMap<'k,'v (requires comparison)>
Full name: Hopac.Plus.Collections.SharedMap<_,_>
Full name: Hopac.Plus.Collections.SharedMap.create
Full name: Index.printMap
Full name: Hopac.Plus.Collections.SharedMap.freeze
Full name: Microsoft.FSharp.Core.ExtraTopLevelOperators.printfn
Full name: Index.example
Full name: Hopac.Hopac.job
Full name: Hopac.Plus.Collections.SharedMap.add
Full name: Hopac.Plus.Collections.SharedMap.mutate
Full name: Hopac.Plus.Collections.SharedMap.remove