1. 31 Oct, 2020 3 commits
  2. 27 Oct, 2020 1 commit
  3. 28 Sep, 2020 1 commit
  4. 21 Sep, 2020 1 commit
  5. 31 Jul, 2019 1 commit
  6. 30 Aug, 2018 2 commits
  7. 02 Aug, 2018 1 commit
  8. 31 Mar, 2016 1 commit
    • Toralf Wittner's avatar
      Change transaction handling. · d05f4965
      Toralf Wittner authored
      Transactional blocks are often used in conjunction with regular commands
      (e.g. WATCH). Currently the implicitly added MULTI and EXEC commands
      make this awkward since those commands would always appear after MULTI.
      
      With this commit MULTI and EXEC have to be given explicitly. The
      `transactional` function is gone, as is `stepwise`. `pipelined` has been
      renamed to `commands` which is the only function to run redis commands
      and it is always pipelining commands. To allow client code control over
      the amount of pipelining, `sync` is added which flushes the command
      buffer and ensures requests are sent to redis.
      
      Altogether these changes should allow for a mixture of transactional
      and non-transactional commands.
      d05f4965
  9. 21 Mar, 2016 1 commit
  10. 20 Mar, 2016 1 commit
    • Toralf Wittner's avatar
      Revert back to `transactional`. · dcdb2bc4
      Toralf Wittner authored
      Instead of requiring clients to provide explicit `EXEC` commands, we
      revert back to the implicit version. However we retain direct support
      for `DISCARD` which triggers a `TransactionAborted` exception.
      dcdb2bc4
  11. 19 Mar, 2016 2 commits
    • Toralf Wittner's avatar
      Use `Data.Foldable.foldlM` instead of `foldM_`. · 12826edb
      Toralf Wittner authored
      Ensures compatibility with GHC 7.8
      12826edb
    • Toralf Wittner's avatar
      Change transaction handling. · c842ee66
      Toralf Wittner authored
      The previous implementation implicitly appended an `EXEC` command to the
      list of commands running in a transaction. This made using `DISCARD`
      difficult. Therefore we no longer do this, but require client code to
      explicitly add `exec` (or `discard`).
      
      We also add `TransactionAborted` to `TransactionFailure` to better
      distinguish this case.
      c842ee66
  12. 12 Mar, 2016 9 commits
  13. 05 Jan, 2016 1 commit
  14. 01 Jul, 2015 4 commits
  15. 28 Jun, 2015 1 commit
  16. 24 Jun, 2015 1 commit
  17. 21 Jun, 2015 2 commits
  18. 20 Jun, 2015 2 commits
  19. 28 Mar, 2015 1 commit
  20. 08 Mar, 2015 1 commit
  21. 11 Dec, 2014 1 commit
  22. 09 Dec, 2014 2 commits