1. 26 Sep, 2024 1 commit
  2. 29 Aug, 2024 5 commits
    • Przemyslaw Kaminski's avatar
      [review] remove traceStack call · d159ed58
      Przemyslaw Kaminski authored
      d159ed58
    • Przemyslaw Kaminski's avatar
      [refactor] remove redundant typeslass constraints · eb095af2
      Przemyslaw Kaminski authored
      This review commit removes a bunch of redundant typeclass constraints,
      especially the ones on the data declarations, generally considered a
      codesmell.
      eb095af2
    • Alfredo Di Napoli's avatar
      review: prefer newtypes for Queue and TimeoutS · 6da18f77
      Alfredo Di Napoli authored
      Consider using newtypes for `Queue` and `TimeoutS`, for obvious reasons.
      Also, use `Text` as an internal representation for `Queue`, as `String`
      is just a list in disguise and thus quite slow in its cons-snoc semantic
      (unlike `Text`, which efficiently represent textual data). `Text` also
      supports UTF-16, which might be preferrable in some situations.
      
      The use of DerivingStrategies makes it possible to print and render
      queues in a "smart" way, for example:
      
        putStrLn $ show $ T.unpack $ _Queue (Queue "foo")
        putStrLn $ show (Queue "foo")
      
      They both output "foo", without the intermediate `Queue` constructor one
      would get by normal (stock) derivation.
      6da18f77
    • Alfredo Di Napoli's avatar
      review: HasBroker -> MessageBroker · b28b51a9
      Alfredo Di Napoli authored
      This commit renames the typeclass HasBroker into MessageBroker. The
      `Has*` pattern is used in the context of mtl-style monadic stacks, where
      we have "capabilities". Here we want to express a property of a concrete
      type, so `MessageBroker` better encapsulate that.
      b28b51a9
    • Przemyslaw Kaminski's avatar
      [tests] fix Message type · 5331554f
      Przemyslaw Kaminski authored
      5331554f
  3. 21 Aug, 2024 2 commits
  4. 20 Aug, 2024 1 commit
  5. 24 Jul, 2024 1 commit
  6. 23 Jul, 2024 2 commits
  7. 22 Jul, 2024 4 commits