ekarayel / sync-mht Goto Github PK
View Code? Open in Web Editor NEWSynchronize directory hierarchies using Hash-Tree's
License: MIT License
Synchronize directory hierarchies using Hash-Tree's
License: MIT License
I would like to install sync-mht using stack (https://github.com/commercialhaskell/stack). I tried to get stack up and running but failed because stack requires a .cabal
file. But there is no .cabal
, instead it seems that the .cabal
file is generated from Haskell code. But I cannot generate the the .cabal
file,
$ stack exec ghci configure.hs
Run from outside a project, using implicit global config
Using resolver: lts-3.9 from global config file: /Users/swehr/.stack/global/stack.yaml
GHCi, version 7.10.2: http://www.haskell.org/ghc/ :? for help
configure.hs:2:8:
Could not find module ‘Configure.Helper’
Use -v to see a list of the files searched for.
Failed, modules loaded: none.
So I'm somewhat stuck...
Steps to reproduce:
$ cabal get sync-mht
Unpacking to sync-mht-0.3.8.4/
$ cd sync-mht-0.3.8.4/
$ cabal bench
Package has never been configured. Configuring with default flags. If this
fails, please run configure manually.
Resolving dependencies...
Configuring sync-mht-0.3.8.4...
Preprocessing benchmark 'benchmarks' for sync-mht-0.3.8.4...
[1 of 1] Compiling Main ( src/Benchmarks.hs, dist/build/benchmarks/benchmarks-tmp/Main.o )
Linking dist/build/benchmarks/benchmarks ...
Running 1 benchmarks...
Benchmark benchmarks: RUNNING...
benchmarks: user error (Pattern match failure in do expression at src/Benchmarks.hs:156:8-24)
Benchmark benchmarks: ERROR
See also iu-parfunc/sc-haskell#7
Is this a known problem?
[ 78s] src/Sync/MerkleTree/Client.hs:192:37:
[ 78s] Couldn't match expected type ‘GHC.Int.Int32’
[ 78s] with actual type ‘GHC.Int.Int64’
[ 78s] In the second argument of ‘($)’, namely ‘unModTime $ f_modtime f’
[ 78s] In the expression: (CTime $ unModTime $ f_modtime f)
[ 78s] In an equation for ‘modTime’:
[ 78s] modTime = (CTime $ unModTime $ f_modtime f)
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.