name: predictive version: 0.1.0 category: Data synopsis: Predict the future, backtrack on failure maintainer: Ertugrul Söylemez author: Ertugrul Söylemez copyright: Copyright 2016 Ertugrul Söylemez homepage: https://github.com/esoeylemez/predictive bug-reports: https://github.com/esoeylemez/predictive/issues license: BSD3 license-file: LICENSE description: This is a library for predictive scans. Its aim is to improve user experience in cases when user interactions have to be acknowledged by a remote host. It closes the gap between requesting the interaction and the remote end acknowledging it by predicting what the remote end will decide based on local information. If the prediction is wrong, it automatically backtracks to the last state known to be consistent. . Simple example: Your application displays a client-side text box, but each edit made to it has to be acknowledged by a server. However, most of the time the server will acknowledge, so your application can use this library to proceed under this assumption and only backtrack, if the server disagrees. build-type: Simple cabal-version: >= 1.10 extra-source-files: CHANGELOG.md README.md source-repository head type: git location: https://github.com/esoeylemez/predictive.git library build-depends: base >= 4.7 && < 5, containers >= 0.5 && < 1 default-language: Haskell2010 ghc-options: -W -fdefer-typed-holes exposed-modules: Data.Predictive -- test-suite tests -- type: exitcode-stdio-1.0 -- build-depends: -- base >= 4.8 && < 5, -- smallcheck, -- tasty, -- tasty-smallcheck, -- predictive -- default-language: Haskell2010 -- ghc-options: -W -threaded -with-rtsopts=-N -fdefer-typed-holes -- hs-source-dirs: tests -- main-is: Props.hs