/iohk-task

IOHK test task

Primary LanguageHaskellBSD 3-Clause "New" or "Revised" LicenseBSD-3-Clause

Introduction

IOHK test task - send messages from nodes generating random numbers from 0 to 1 to other nodes. All nodes print the formula (length msgs, sum $ zipWith (\i msg -> i * msg) [1..] msgs)

Running

$ cabal configure --enable-tests
$ cabal install   --only-dependencies
$ cabal run    -- --help

Configuration file

The configuration file is found at: config/nodes.txt The file can also be specified with command line option.