Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

WIP: Lift the monad stack to a monad stack transformer #72

Draft
wants to merge 7 commits into
base: master
Choose a base branch
from

Commits on Nov 11, 2020

  1. Fix text encoding to utf8

    layus committed Nov 11, 2020
    Configuration menu
    Copy the full SHA
    ffc0cc4 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    b3cffef View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    272cc6f View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    8508b9f View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    087ec38 View commit details
    Browse the repository at this point in the history

Commits on Nov 13, 2020

  1. Remove broken cabal option

    layus committed Nov 13, 2020
    Configuration menu
    Copy the full SHA
    aaba7f5 View commit details
    Browse the repository at this point in the history
  2. Heavy lifting

    This refactors the store to make it composable with arbitrary mtl monad
    stacks, with the added constraint that `addToStore` takes a filtering
    fucntion `FilePath -> PathFilter -> m Bool` which is not
    MonadBaseControl compatible, and cannot be lifted (the monad is in a
    negative/contravariant position).
    
    The solution involves a RemoteStoreT transformer, a MonadRemoteStore
    monad and still lacks a proper generic MonadStore which I would like to
    make generic across all the store implementations (in-memeory /
    read-only / remote daemon / etc.)
    layus committed Nov 13, 2020
    Configuration menu
    Copy the full SHA
    d117cf5 View commit details
    Browse the repository at this point in the history