在线时间:8:00-16:00
迪恩网络APP
随时随地掌握行业动态
扫描二维码
关注迪恩网络微信公众号
开源软件名称(OpenSource Name):unisonweb/unison开源软件地址(OpenSource Url):https://github.com/unisonweb/unison开源编程语言(OpenSource Language):Haskell 99.6%开源软件介绍(OpenSource Introduction):The Unison languageUnison is a modern, statically-typed purely functional language with the ability to describe entire distributed systems using a single program. Here's an example of a distributed map-reduce implementation: -- comments start with `--`
mapReduce loc fn ifEmpty reduce data = match split data with
Empty -> ifEmpty
One a -> fn a
Two left right ->
fl = forkAt loc '(mapReduce loc fn ifEmpty reduce !left)
fr = forkAt loc '(mapReduce loc fn ifEmpty reduce !right)
reduce (await fl) (await fr) This function can be either simulated locally (possibly with faults injected for testing purposes), or run atop a distributed pool of compute. See this article for more in-depth coverage of how to build distributed computing libraries like this. Other resources:
Building using StackIf these instructions don't work for you or are incomplete, please file an issue. The build uses Stack. If you don't already have it installed, follow the install instructions for your platform. (Hint: $ git clone https://github.com/unisonweb/unison.git
$ cd unison
$ stack --version # we'll want to know this version if you run into trouble
$ stack build --fast --test && stack exec unison To run a local codebase-ui while building from source, you can use the See Codebase ServerWhen The port, host and token can all be configured by providing environment
variables when starting |
2023-10-27
2022-08-15
2022-08-17
2022-09-23
2022-08-13
请发表评论