Sandboxes give you per project independent containers, just like Python's
virtualenv.
$ git clone https://github.com/vu3rdd/functorrent && cd functorrent
Sandboxes give you per project independent containers, just like Python's
virtualenv.
$ git clone https://github.com/vu3rdd/functorrent && cd functorrent
- $ cabal sandbox init
- $ cabal install --only-dependencies --enable-tests
- $ cabal build # binaries in ./dist/built/functorrent/*
+ $ cabal install stack # or install stack by other means
+ $ stack build # binaries in $(pwd)/.stack-work/install/x86..../lts-2.16/7.8.4/bin/functorrent
+### Usage
+
+If you invoke functorrent without any options, it expects the contents of a torrent file
+to be given in stdin. So
+
+$ cat ubuntu-14.10-desktop-amd64.iso.torrent | functorrent
+[....]
+
+Or one can explicitly specify the torrent file as input.
+
+$ functorrent ubuntu-14.10-desktop-amd64.iso.torrent
+[...]
+
- Implement something non-trivial with Haskell (crypto, file operations, network
operations, concurrency, bit twiddling, DHT).
- Follow the spec ([official spec](http://bittorrent.org/beps/bep_0003.html), [unofficial spec](https://wiki.theory.org/BitTorrentSpecification))
- Implement something non-trivial with Haskell (crypto, file operations, network
operations, concurrency, bit twiddling, DHT).
- Follow the spec ([official spec](http://bittorrent.org/beps/bep_0003.html), [unofficial spec](https://wiki.theory.org/BitTorrentSpecification))
- doctest and quickcheck tests.
- Follow Haskell Style Guide - https://github.com/tibbe/haskell-style-guide/blob/master/haskell-style.md
- doctest and quickcheck tests.
- Follow Haskell Style Guide - https://github.com/tibbe/haskell-style-guide/blob/master/haskell-style.md