This project is mirrored from https://github.com/kolmodin/binary. Pull mirroring updated .
  1. 12 Nov, 2015 1 commit
  2. 11 Nov, 2015 1 commit
  3. 23 Oct, 2015 1 commit
    • Brian McKenna's avatar
      Add Binary Void instance · 57cf1f04
      Brian McKenna authored
      This is so that we can write and read things like [Void], or (Expr Void)
      - something I'm actually doing in Morte.
      
      https://github.com/Gabriel439/Haskell-Morte-Library/pull/26
      
      The reader always fails if you actually try to get an instance of it.
      Trying to access a void value should not happen for well-formed
      instances, for example:
      
          *Data.Binary Data.Void> decode $ encode ([] :: [Void]) :: [Void]
          []
      57cf1f04
  4. 13 Aug, 2015 2 commits
    • Lennart Kolmodin's avatar
      Add benchmark for Generic generated Binary instances. · 6ab893a8
      Lennart Kolmodin authored
      We use Cabal's PackageDescription as the type to serialize. It is large,
      has many levels of data types, and also uses enums and strings. It's a
      good stress test.
      
      GenericsBench defines criterion benchmarks for serialization and
      deserialization.
      
      In GenericsBenchTypes we derive the Binary instances. PackageDescription
      already defines Binary instances for the system installed Binary, but
      naturally this won't work for the benchmark - we need our own instances
      that are derived from the code in this library.
      
      The data to serialize we get from your
      .cabal/package/hackage.haskell.org/ directory, it's data from hackage,
      not autogenerated.
      GenericsBenchCache makes sure that if we rerun the benchmark we will use
      the same PackageDescriptions, even if the user has executed
      'cabal update' since the last benchmark run.
      6ab893a8
    • Lennart Kolmodin's avatar
      Compile benchmark get with -Wall. · b72bd25c
      Lennart Kolmodin authored
      b72bd25c
  5. 30 Jul, 2015 1 commit
  6. 29 Jul, 2015 1 commit
  7. 28 Jul, 2015 1 commit
  8. 27 Jul, 2015 1 commit
  9. 08 Jul, 2015 1 commit
  10. 31 May, 2015 1 commit
  11. 30 May, 2015 1 commit
  12. 23 May, 2015 1 commit
  13. 23 Feb, 2015 1 commit
  14. 22 Jan, 2015 1 commit
  15. 13 Dec, 2014 1 commit
  16. 25 Sep, 2014 2 commits
  17. 18 May, 2014 1 commit
  18. 11 May, 2014 4 commits
  19. 01 May, 2013 1 commit
  20. 20 Apr, 2013 1 commit
  21. 17 Apr, 2013 1 commit
  22. 02 Mar, 2013 1 commit
  23. 01 Mar, 2013 1 commit
  24. 23 Feb, 2013 2 commits
  25. 21 Feb, 2013 1 commit
  26. 20 Feb, 2013 1 commit
  27. 17 Feb, 2013 1 commit
  28. 15 Feb, 2013 1 commit
  29. 24 Nov, 2012 1 commit
  30. 22 Nov, 2012 2 commits
  31. 21 Nov, 2012 3 commits