Hopac is a Concurrent ML style concurrent programming library for F#.
Here is a Bash script to get started:
git clone --recursive https://github.com/Hopac/Hopac.git
cd Hopac && source .env
./run tests
Note the use of --recursive option above. Or if you didn't, you can later do
git submodule update --init
This project is only used to build our docs. You can skip it if you're just testing Hopac.
The Bash run script provides build automation. You invoke run like any
other Bash command:
[VARIABLE=value] ./run [COMMAND]
Multiple commands can be specified. For example,
USE=netcore ./run clean build
performs a clean build using the .NET Core stack.
-
CONFIGSspecifies the configuration(s) to operate on:CONFIGS='Debug Release'is the default to build and run bothDebugandReleaseconfigs.CONFIGS=Debugto build and run onlyDebugconfig.CONFIGS=Releaseto build and run onlyReleaseconfig.
-
USEspecifies the stack, which is auto detected by default, to build and run with:USE=monoto use Mono.USE=netto use .NET Framework (only on Windows).USE=netcoreto use .NET Core.
benchmarksruns all benchmarks. This may take a very long time!buildbuilds all the subprojects.cleanremoves generated files.testsruns tests.replstarts the F# interactive with Hopac libs opened. (Only works with Mono and .NET at the moment.)restorerestores dependencies required to build the project. To build from an IDE like Visual Studio or Xamarin, you need to./run restoremanually.generate_docsgenerates the Reference manual under.gh-pages.
You can run source run.complete to get auto completion of run commands in
Bash.
When you've followed the links at the top of this README, and you've read the programming guide,
you can use ./run repl as well as the file Hopac.fsx to play around with.
Furthermore, you'll find a large number of examples in (./Examples)[./Examples].
USE=netcore ./run publish