Code Monkey home page Code Monkey logo

sync-mht's People

Contributors

ekarayel avatar skogsbaer avatar theunixman avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

sync-mht's Issues

sync-mht and stack

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...

Benchmarks fail to run on GHC 7.10.3

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

Version 0.3.8.4 does not compile on 32 bit Linux

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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.