Code Monkey home page Code Monkey logo

git-in-haskell-from-the-bottom-up's People

Contributors

juretta avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

git-in-haskell-from-the-bottom-up's Issues

"Size" field in index entry has wrong size

I was dissecting the Git index format for a session on the Git internals and found your wonderful blog post about reimplementing git clone and friends with Haskell.

I found one discrepancy and wonder if this implementation will write correct index files.

The Git technical documentation has a file describing the index format, especially the layout of each index entry at https://github.com/git/git/blob/master/Documentation/technical/index-format.txt#L80

The Haskell implementation uses Int64 for the size (https://github.com/juretta/git-in-haskell-from-the-bottom-up/blob/master/src/Git/Store/Index.hs#L65), while this field should only occupy 32 bits.

is it possible to reimplement the src/Git/Pack/Packfile.hs?

Hi, thanks for the nice article https://stefan.saasen.me/articles/git-clone-in-haskell-from-the-bottom-up/ 11 years ago. I have just read it recently and unable to run this very nice piece. After some examination, I believe it is the iteratee library which is not maintained causing the build unsuccessfully. This library is used in the Packfile.hs

I am using GHC 9.4.2
Cabal 3.10.1.0
Stack 2.11.1 to run the example. If possible, could you help reimplement the part so that this decade-old Haskell masterpiece is not lost?

Thanks.

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.