Search is not available for this dataset
id stringlengths 1 8 | text stringlengths 72 9.81M | addition_count int64 0 10k | commit_subject stringlengths 0 3.7k | deletion_count int64 0 8.43k | file_extension stringlengths 0 32 | lang stringlengths 1 94 | license stringclasses 10
values | repo_name stringlengths 9 59 |
|---|---|---|---|---|---|---|---|---|
10034050 | <NME> MemorySpec.hs
<BEF> module Eventful.Store.MemorySpec (spec) where
import Control.Concurrent.STM
import Control.Monad.State.Strict
import Test.Hspec
import Eventful.Serializer
spec :: Spec
spec = do
describe "TVar memory event store" $ do
eventStoreSpec memoryEventStoreTVar runMemoryEventStore
sequence... | 2 | Better naming for memory event store | 2 | .hs | hs | mit | jdreaver/eventful |
10034051 | <NME> Class.hs
<BEF> module Eventful.Store.Class
( EventStore (..)
, getEvents
, storeEvents
, ProjectionId (..)
, StoredEvent (..)
, EventVersion (..)
, SequenceNumber (..)
) where
import Data.Aeson
, runEventStoreWriterUsing
, module Eventful.Store.Queries
-- * Serialization
, serializedEve... | 28 | Added HasEventStore class and convenience funcs | 1 | .hs | hs | mit | jdreaver/eventful |
10034052 | <NME> UUID.hs
<BEF> {-# OPTIONS_GHC -fno-warn-orphans #-}
-- | This module contains orphan 'UUID' instances and a few convenience
-- functions around UUIDs. It would be great if this were its own entirely
-- separate package.
module Eventful.UUID
( UUID
, uuidFromText
, uuidToText
, nil
, uuidNextRandom
,... | 15 | Fix UUID JSON instance for old aeson | 0 | .hs | hs | mit | jdreaver/eventful |
10034053 | <NME> PostgresqlSpec.hs
<BEF> {-# LANGUAGE OverloadedStrings #-}
module Eventful.Store.PostgresqlSpec (spec) where
import Control.Monad.Reader (ask)
import Data.ByteString (ByteString)
import qualified Data.ByteString.UTF8 as UTF8
import Data.Maybe (maybe)
import Data.Monoid ((<>))
import Data.Text (Text, intercalate... | 9 | Wrap long lines | 3 | .hs | hs | mit | jdreaver/eventful |
10034054 | <NME> Sqlite.hs
<BEF> {-# LANGUAGE OverloadedStrings #-}
{-# LANGUAGE RecordWildCards #-}
{-# LANGUAGE TypeFamilies #-}
-- | Defines an Sqlite event store.
module Eventful.Store.Sqlite
( sqliteEventStoreWriter
, initializeSqliteEventStore
, module Eventful.Store.Class
, sqliteMaxVariableNumber
, SqliteEvent... | 19 | Properly initialize SqlitePersistTEventStore | 9 | .hs | hs | mit | jdreaver/eventful |
10034055 | <NME> DB.hs
<BEF> ADDFILE
<MSG> Created SQL table for cafe tabs
<DFF> @@ -0,0 +1,33 @@
+{-# LANGUAGE QuasiQuotes #-}
+
+module Cafe.DB
+ ( openTab
+ , getTabUuid
+ , migrateTabEntity
+ ) where
+
+import Control.Monad.IO.Class
+import Database.Persist
+import Database.Persist.Sql
+import Database.Persist.TH
+
+impo... | 33 | Created SQL table for cafe tabs | 0 | .hs | hs | mit | jdreaver/eventful |
10034056 | <NME> AccountSpec.hs
<BEF> module Bank.Models.AccountSpec (spec) where
import Test.Hspec
import Eventful
import Bank.Models.Account
spec :: Spec
spec = do
describe "Account projection" $ do
it "should handle a series of account events" $ do
let
events =
[ AccountOpenedAccountEvent $ Acc... | 3 | Simplify TransferManager events, no source UUID | 3 | .hs | hs | mit | jdreaver/eventful |
10034057 | <NME> UUID.hs
<BEF> {-# OPTIONS_GHC -fno-warn-orphans #-}
{-# LANGUAGE CPP #-}
-- | This module contains orphan 'UUID' instances and a few convenience
-- functions around UUIDs. It would be great if this were its own entirely
-- separate package.
module Eventful.UUID
( UUID
, uuidFromText
, uuidToText
, nil
... | 10 | More UUID instances | 1 | .hs | hs | mit | jdreaver/eventful |
10034058 | <NME> introduction.rst
<BEF> Introduction
============
``eventful`` is a Haskell library for building event sourced applications.
What is Event Sourcing?
-----------------------
At its core, event sourcing is the following: instead of simply storing the
current state of your application, you store a sequence of stat... | 30 | Add features section to docs | 0 | .rst | rst | mit | jdreaver/eventful |
10034059 | <NME> Store.hs
<BEF> ADDFILE
<MSG> Use serialized event store in bank example
<DFF> @@ -0,0 +1,28 @@
+module Bank.CLI.Store
+ ( runDB
+ , cliEventStore
+ , printJSONPretty
+ ) where
+
+import Control.Monad.IO.Class (MonadIO (..))
+import Data.Aeson
+import Data.Aeson.Encode.Pretty
+import qualified Data.ByteString... | 28 | Use serialized event store in bank example | 0 | .hs | hs | mit | jdreaver/eventful |
10034060 | <NME> Class.hs
<BEF> {-# LANGUAGE DeriveFoldable #-}
{-# LANGUAGE DeriveFunctor #-}
{-# LANGUAGE DeriveTraversable #-}
{-# LANGUAGE GeneralizedNewtypeDeriving #-}
{-# LANGUAGE RankNTypes #-}
{-# LANGUAGE RecordWildCards #-}
module Eventful.Store.Class
( -- * EventStore
EventStoreReader (..)
, EventStoreWriter ... | 5 | Fix cafe-example merge | 3 | .hs | hs | mit | jdreaver/eventful |
10034061 | <NME> run-tests-docker.sh
<BEF> ADDFILE
<MSG> Use Docker to run postgres tests
<DFF> @@ -0,0 +1,17 @@
+#!/usr/bin/env bash
+
+set -eux;
+
+# Spins up a docker container to run postgres tests
+
+if [ ! "$(docker ps -q -f name=eventful_test_pg)" ]; then
+ if [ "$(docker ps -aq -f status=exited -f name=eventful_test_pg)... | 17 | Use Docker to run postgres tests | 0 | .sh | sh | mit | jdreaver/eventful |
10034062 | <NME> SqliteSpec.hs
<BEF> module Eventful.Store.SqliteSpec (spec) where
import Data.UUID (nil)
import Database.Persist.Sqlite
import Test.Hspec
import Test.Hspec
import Eventful.Store.Sqlite
import Eventful.TestHelpers
spec :: Spec
spec = do
describe "Sqlite event store" $ do
eventStoreSpec sqliteStoreRunner
... | 0 | Remove workaround for SQLITE_MAX_VARIABLE_NUMBER | 9 | .hs | hs | mit | jdreaver/eventful |
10034063 | <NME> TestHelpers.hs
<BEF> {-# LANGUAGE GeneralizedNewtypeDeriving #-}
{-# LANGUAGE OverloadedStrings #-}
{-# LANGUAGE RankNTypes #-}
{-# LANGUAGE TemplateHaskell #-}
-- | Common test functionality
, CounterCommandError (..)
, eventStoreSpec
, sequencedEventStoreSpec
, EventBusSpecDelayMilliseconds (..)
, ev... | 38 | Remove store argument from EventStore | 75 | .hs | hs | mit | jdreaver/eventful |
10034064 | <NME> TestHelpers.hs
<BEF> {-# LANGUAGE GeneralizedNewtypeDeriving #-}
{-# LANGUAGE OverloadedStrings #-}
{-# LANGUAGE RankNTypes #-}
{-# LANGUAGE TemplateHaskell #-}
-- | Common test functionality
module Eventful.TestHelpers
( Counter (..)
, CounterProjection
, counterProjection
, CounterCommandHandler
, c... | 3 | Added more stream version expectations | 3 | .hs | hs | mit | jdreaver/eventful |
10034065 | <NME> ChefTodoList.hs
<BEF> {-# LANGUAGE ViewPatterns #-}
( chefTodoListMain
) where
import Control.Concurrent.STM
import Control.Monad (forM_, unless)
import Control.Monad.Logger (runNoLoggingT)
import Data.List (foldl')
import Control.Monad.Logger (runNoLoggingT)
import Data.List (foldl')
import Data.Map (Map)
i... | 8 | Added a simple in-memory read model | 22 | .hs | hs | mit | jdreaver/eventful |
10034066 | <NME> requirements.txt
<BEF> alabaster==0.7.10
appdirs==1.4.3
argh==0.26.2
Babel==2.4.0
CommonMark==0.5.4
docutils==0.13.1
imagesize==0.7.1
Jinja2==2.9.6
livereload==2.5.1
MarkupSafe==1.0
packaging==16.8
pathtools==0.1.2
port-for==0.3.1
Pygments==2.2.0
pyparsing==2.2.0
pytz==2017.2
PyYAML==3.12
recommonmark==0.4.0
requ... | 15 | Update docs Python dependencies | 12 | .txt | txt | mit | jdreaver/eventful |
10034067 | <NME> Tab.hs
<BEF> {-# LANGUAGE GeneralizedNewtypeDeriving #-}
( TabState (..)
, Drink (..)
, Food (..)
, OrderedItem (..)
, TabProjection
, tabProjection
, TabAggregate
, TabProjection
, tabProjection
, TabCommandHandler
, tabCommandHandler
, TabCommand (..)
import Control.Lens
import Data.Lis... | 45 | Finished adding write-side command for cafe example | 20 | .hs | hs | mit | jdreaver/eventful |
10034068 | <NME> postgres-event-store-bench.sh
<BEF> #!/usr/bin/env bash
set -eu;
# Benchmark various configurations of postgres as an event store.
export PGHOST=${PGHOST:-localhost}
export PGDATABASE=${PGDATABASE:-postgres_event_store_bench}
export PGUSER=${PGUSER:-postgres}
export PGPASSWORD=${PGPASSWORD:-password}
PSQL="ps... | 4 | Add track_commit_timestamp to benchmarks | 2 | .sh | sh | mit | jdreaver/eventful |
10034069 | <NME> Orphans.hs
<BEF> ADDFILE
<MSG> Split out sql orphans module
<DFF> @@ -0,0 +1,43 @@
+{-# OPTIONS_GHC -fno-warn-orphans #-}
+
+module Eventful.Store.Sql.Orphans
+ (
+ ) where
+
+import Data.Proxy
+import qualified Data.Text.Encoding as TE
+import Data.UUID
+import Database.Persist
+import Database.Persist.Sql
+
... | 43 | Split out sql orphans module | 0 | .hs | hs | mit | jdreaver/eventful |
10034070 | <NME> counter-cli.hs
<BEF> -- | This program shows very basic usage of an event store. We create a very
-- simple Counter Projection/CommandHandler that holds an integer between 0 and 100.
-- The CLI asks the user for commands and applies them to an in-memory event
-- store.
module Main where
import Control.Concurren... | 3 | Merge branch 'master' into bank-example | 4 | .hs | hs | mit | jdreaver/eventful |
10034071 | <NME> ChefTodoList.hs
<BEF> {-# LANGUAGE ViewPatterns #-}
) where
import Control.Concurrent (threadDelay)
import Control.Monad.IO.Class (liftIO)
import Control.Monad.Logger (runNoLoggingT)
import Data.List (foldl')
import Data.Map (Map)
import qualified Data.Map as Map
import Data.Maybe (catMaybes, mapMaybe)
import... | 12 | Better printing for Chef todo list view | 3 | .hs | hs | mit | jdreaver/eventful |
10034072 | <NME> postgres-event-store-bench.sh
<BEF> #!/usr/bin/env bash
set -eu;
# Benchmark various configurations of postgres as an event store.
export PGHOST=${PGHOST:-localhost}
export PGDATABASE=${PGDATABASE:-postgres_event_store_bench}
export PGUSER=${PGUSER:-postgres}
export PGPASSWORD=${PGPASSWORD:-password}
PSQL="ps... | 24 | Add more complex schema to pgbench tests | 0 | .sh | sh | mit | jdreaver/eventful |
10034073 | <NME> ChefTodoList.hs
<BEF> {-# LANGUAGE ViewPatterns #-}
module Cafe.ChefTodoList
( chefTodoListMain
) where
import Control.Monad (forM_, unless)
import Control.Monad.Logger (runNoLoggingT)
import Data.List (foldl')
import Data.Map (Map)
import qualified Data.Map as Map
import Data.Maybe (catMaybes, mapMaybe)
im... | 1 | Have sql-common clients choose Entity type | 1 | .hs | hs | mit | jdreaver/eventful |
10034074 | <NME> Class.hs
<BEF> {-# LANGUAGE DeriveFoldable #-}
{-# LANGUAGE DeriveFunctor #-}
{-# LANGUAGE DeriveTraversable #-}
{-# LANGUAGE GeneralizedNewtypeDeriving #-}
{-# LANGUAGE RankNTypes #-}
{-# LANGUAGE RecordWildCards #-}
module Eventful.Store.Class
( -- * EventStore
EventStoreReader (..)
, EventStoreWriter ... | 2 | Added deserializeEither | 0 | .hs | hs | mit | jdreaver/eventful |
10034075 | <NME> SerializerSpec.hs
<BEF> {-# LANGUAGE DeriveGeneric #-}
{-# LANGUAGE TemplateHaskell #-}
module Eventful.SerializerSpec (spec) where
import Test.Hspec
import Eventful.Serializer
data EventA = EventA deriving (Show, Eq)
data EventB = EventB deriving (Show, Eq)
import Eventful.TH.SumTypeSerializer
data EventA = ... | 1 | Move template haskell stuff to sub module | 0 | .hs | hs | mit | jdreaver/eventful |
10034076 | <NME> MemoryProjectionCacheSpec.hs
<BEF> ADDFILE
<MSG> Created an in-memory projection cache
<DFF> @@ -0,0 +1,49 @@
+module Eventful.Store.MemoryProjectionCacheSpec (spec) where
+
+import Control.Concurrent.STM
+import qualified Data.Map.Strict as Map
+import Test.Hspec
+
+import Eventful.Projection
+import Eventful.S... | 49 | Created an in-memory projection cache | 0 | .hs | hs | mit | jdreaver/eventful |
10034077 | <NME> counter-cli.hs
<BEF> -- | This program shows very basic usage of an event store. We create a very
-- simple Counter Projection/CommandHandler that holds an integer between 0 and 100.
-- The CLI asks the user for commands and applies them to an in-memory event
-- store.
module Main where
import Control.Concurren... | 4 | Fix counter CLI example storing event lists | 4 | .hs | hs | mit | jdreaver/eventful |
10034078 | <NME> postgres-event-store-bench.sh
<BEF> #!/usr/bin/env bash
set -eu;
# Benchmark various configurations of postgres as an event store.
export PGHOST=${PGHOST:-localhost}
export PGDATABASE=${PGDATABASE:-postgres_event_store_bench}
export PGUSER=${PGUSER:-postgres}
export PGPASSWORD=${PGPASSWORD:-password}
PSQL="ps... | 29 | Add UUID but no version test to pgbench | 1 | .sh | sh | mit | jdreaver/eventful |
10034079 | <NME> TestHelpers.hs
<BEF> {-# LANGUAGE GeneralizedNewtypeDeriving #-}
{-# LANGUAGE OverloadedStrings #-}
{-# LANGUAGE RankNTypes #-}
{-# LANGUAGE TemplateHaskell #-}
-- | Common test functionality
module Eventful.TestHelpers
( Counter (..)
, CounterProjection
, counterProjection
, CounterCommandHandler
, c... | 72 | Added tests for MonadState event store | 58 | .hs | hs | mit | jdreaver/eventful |
10034080 | <NME> CustomerAccounts.hs
<BEF> {-# LANGUAGE RecordWildCards #-}
{-# LANGUAGE TemplateHaskell #-}
{-# LANGUAGE TupleSections #-}
module Bank.ReadModels.CustomerAccounts
( CustomerAccounts (..)
, customerAccountsAccountsById
, customerAccountsCustomerAccounts
, customerAccountsCustomerIdsByName
, getCustomerA... | 2 | Better Command/Event sum type suffixes | 2 | .hs | hs | mit | jdreaver/eventful |
10034081 | <NME> Memory.hs
<BEF> {-# LANGUAGE FlexibleContexts #-}
module Eventful.Store.Memory
( tvarEventStoreReader
, tvarEventStoreWriter
) where
import Control.Concurrent.STM
import Control.Monad.IO.Class
import Data.Dynamic
import Data.Foldable (toList)
import Data.List (sortOn)
, embeddedStateGlobalEventStoreRead... | 24 | Allowed memory event store to run in STM | 16 | .hs | hs | mit | jdreaver/eventful |
10034082 | <NME> UUID.hs
<BEF> {-# OPTIONS_GHC -fno-warn-orphans #-}
module Eventful.UUID
( UUID
, uuidFromText
, uuidFromText
, uuidToText
, nil
, uuidNextRandom
, uuidFromInteger
) where
import Data.UUID
import qualified Data.UUID.V4 as UUID4
import Data.List (intercalate)
import Data.Maybe (fromMaybe)
import... | 4 | Added more docs to eventful-core | 0 | .hs | hs | mit | jdreaver/eventful |
10034083 | <NME> Projection.hs
<BEF> {-# LANGUAGE RecordWildCards #-}
module Eventful.Projection
( Projection (..)
, latestProjection
, allProjections
, StreamProjection (..)
, VersionedStreamProjection
, GlobalStreamProjection
, streamProjection
, versionedStreamProjection
, globalStreamProjection
, streamPr... | 9 | Rename proj -> state in type parameters | 9 | .hs | hs | mit | jdreaver/eventful |
10034084 | <NME> TestHelpers.hs
<BEF> {-# LANGUAGE GeneralizedNewtypeDeriving #-}
{-# LANGUAGE OverloadedStrings #-}
{-# LANGUAGE RankNTypes #-}
{-# LANGUAGE TemplateHaskell #-}
-- | Common test functionality
module Eventful.TestHelpers
( Counter (..)
, CounterProjection
, counterProjection
, CounterCommandHandler
, c... | 1 | Added memory cache on top of memory store | 1 | .hs | hs | mit | jdreaver/eventful |
10034085 | <NME> TestHelpers.hs
<BEF> {-# LANGUAGE GeneralizedNewtypeDeriving #-}
{-# LANGUAGE OverloadedStrings #-}
{-# LANGUAGE RankNTypes #-}
{-# LANGUAGE TemplateHaskell #-}
-- | Common test functionality
module Eventful.TestHelpers
( Counter (..)
, CounterProjection
, counterProjection
, CounterCommandHandler
, c... | 3 | Have aggregate return multiple events | 3 | .hs | hs | mit | jdreaver/eventful |
10034086 | <NME> Class.hs
<BEF> {-# LANGUAGE DeriveFoldable #-}
{-# LANGUAGE DeriveFunctor #-}
{-# LANGUAGE DeriveTraversable #-}
{-# LANGUAGE GeneralizedNewtypeDeriving #-}
{-# LANGUAGE RankNTypes #-}
{-# LANGUAGE RecordWildCards #-}
module Eventful.Store.Class
( -- * EventStore
EventStoreReader (..)
, EventStoreWriter ... | 1 | Generalize Serializable for Traversable instances | 8 | .hs | hs | mit | jdreaver/eventful |
10034087 | <NME> Eventful.hs
<BEF> module Eventful
( module X
) where
import Eventful.Aggregate as X
import Eventful.EventSumType as X
import Eventful.Projection as X
import Eventful.ReadModel.Class as X
import Eventful.Serializer as X
import Eventful.Store.Class as X
import Eventful.UUID as X
import Eventful.Store.Class as ... | 1 | Merge branch 'master' into bank-example | 1 | .hs | hs | mit | jdreaver/eventful |
10034088 | <NME> Memory.hs
<BEF> module Eventful.Store.Memory
( MemoryEventStore (..)
, memoryEventStoreTVar
, memoryEventStoreIORef
, module Eventful.Store.Class
, tvarGlobalEventStoreReader
, stateEventStoreReader
, stateEventStoreWriter
import Control.Monad.IO.Class
import Data.Dynamic
import Data.Foldable (toLis... | 22 | Made memory event store more efficient | 15 | .hs | hs | mit | jdreaver/eventful |
10034089 | <NME> PostgresqlSpec.hs
<BEF> {-# LANGUAGE OverloadedStrings #-}
module Eventful.Store.PostgresqlSpec (spec) where
import Control.Monad.Reader (ask)
import Data.ByteString (ByteString)
import qualified Data.ByteString.UTF8 as UTF8
import Data.Maybe (maybe)
import Data.Monoid ((<>))
import Data.Text (Text, intercalate... | 3 | Remove initializePostgresqlEventStore function | 2 | .hs | hs | mit | jdreaver/eventful |
10034090 | <NME> ChefTodoList.hs
<BEF> {-# LANGUAGE ViewPatterns #-}
module Cafe.ChefTodoList
( chefTodoListMain
) where
import Control.Monad (forM_, unless)
import Control.Monad.Logger (runNoLoggingT)
import Data.List (foldl')
import Data.Map (Map)
import qualified Data.Map as Map
import Data.Maybe (catMaybes, mapMaybe)
im... | 6 | Split globally ordered events from normal events | 5 | .hs | hs | mit | jdreaver/eventful |
10034091 | <NME> RunCommand.hs
<BEF> module Bank.CLI.RunCommand
( runCLICommand
) where
import Control.Monad (void)
import Database.Persist.Sqlite
import Eventful
import Bank.Models
import Bank.CLI.Options
import Bank.CLI.Store
import Bank.ReadModels.CustomerAccounts
runCLICommand :: ConnectionPool -> CLICommand -> IO ()
... | 1 | Dedicated event for account transfer credit | 1 | .hs | hs | mit | jdreaver/eventful |
10034092 | <NME> README.md
<BEF> # Eventful: Haskell Event Sourcing + CQRS Library
[](https://circleci.com/gh/jdreaver/eventful)
`eventful` is a Haskell library intended to be used as a basis for applications
built using event sourcing. In particular, `eventful... | 1 | Remove parts of README that are now in docs | 49 | .md | md | mit | jdreaver/eventful |
10034093 | <NME> counter-cli.hs
<BEF> -- | This program shows very basic usage of an event store. We create a very
-- simple Counter Projection/CommandHandler that holds an integer between 0 and 100.
-- The CLI asks the user for commands and applies them to an in-memory event
-- store.
module Main where
import Control.Concurren... | 1 | Created write side CLI for cafe example | 1 | .hs | hs | mit | jdreaver/eventful |
10034094 | <NME> EventBus.hs
<BEF> module Eventful.EventBus
( synchronousEventBusWrapper
, storeAndPublishEvents
) where
import Eventful.Store.Class
import Eventful.UUID
-- | This function wraps an event store by sending events to event handlers
-- after running 'storeEvents'. This is useful to quickly wire up event
-- ha... | 1 | Fix typo | 1 | .hs | hs | mit | jdreaver/eventful |
10034095 | <NME> .gitignore
<BEF> /.cabal-sandbox/
/.hpc/
/cabal.sandbox.config
/dist/
/tmp/
*.cabal
.stack-work/
venv/
doc/_build/
database.db-*
<MSG> Add database.db to .gitignore
<DFF> @@ -4,4 +4,5 @@
/dist/
/tmp/
*.cabal
-.stack-work/
\ No newline at end of file
+.stack-work/
+database.db
| 2 | Add database.db to .gitignore | 1 | gitignore | mit | jdreaver/eventful | |
10034096 | <NME> Tab.hs
<BEF> {-# LANGUAGE GeneralizedNewtypeDeriving #-}
{-# LANGUAGE TemplateHaskell #-}
module Cafe.Models.Tab
( TabState (..)
, Drink (..)
, Food (..)
, MenuItem (..)
, allDrinks
, allFood
, TabProjection
, TabCommand (..)
, TabEvent (..)
, TabCommandError (..)
) where
import Control.Le... | 1 | Created beginnings of chef's todo list | 0 | .hs | hs | mit | jdreaver/eventful |
10034097 | <NME> DynamoJSON.hs
<BEF> ADDFILE
<MSG> Implement DynamoJSON newtype for DynamoDB
<DFF> @@ -0,0 +1,31 @@
+module Eventful.Store.DynamoDB.DynamoJSON
+ ( DynamoJSON (..)
+ ) where
+
+import Data.Aeson
+import Data.Text (Text)
+import qualified Data.Text.Lazy as TL
+import qualified Data.Text.Lazy.Encoding as TLE
+
+im... | 31 | Implement DynamoJSON newtype for DynamoDB | 0 | .hs | hs | mit | jdreaver/eventful |
10034098 | <NME> Tab.hs
<BEF> ADDFILE
<MSG> Create domain model for Tab
<DFF> @@ -0,0 +1,121 @@
+module Cafe.Models.Tab
+ ( TabState (..)
+ , Drink (..)
+ , Food (..)
+ , OrderedItem (..)
+ , TabProjection
+ , tabProjection
+ , TabAggregate
+ , tabAggregate
+ ) where
+
+import Control.Lens
+import Data.List (foldl')
+
+... | 121 | Create domain model for Tab | 0 | .hs | hs | mit | jdreaver/eventful |
10034099 | <NME> ChefTodoList.hs
<BEF> {-# LANGUAGE ViewPatterns #-}
module Cafe.ChefTodoList
( chefTodoListMain
) where
import Control.Monad (forM_, unless)
import Control.Monad.Logger (runNoLoggingT)
import Data.List (foldl')
import Data.Map (Map)
import qualified Data.Map as Map
import Data.Maybe (catMaybes, mapMaybe)
im... | 1 | Merge pull request #2 from jdreaver/custom-sql-stores | 1 | .hs | hs | mit | jdreaver/eventful |
10034100 | <NME> RunCommand.hs
<BEF> module Bank.CLI.RunCommand
( runCLICommand
) where
import Control.Monad (void)
import Data.Aeson
import Data.Aeson.Encode.Pretty
import qualified Data.ByteString.Lazy.Char8 as BSL
import Data.Typeable
import Database.Persist.Sqlite
import Eventful
import Bank.CLI.Store
import Bank.ReadMo... | 5 | Use sum type serializer in bank example | 9 | .hs | hs | mit | jdreaver/eventful |
10034101 | <NME> bump-version.sh
<BEF> ADDFILE
<MSG> Add script to bump all package.yaml versions
<DFF> @@ -0,0 +1,14 @@
+#!/usr/bin/env bash
+
+set -eu;
+
+if [ "$#" -ne 1 ]; then
+ echo "Usage: ./scripts/bump-version <version>"
+ exit 1
+fi
+
+version="$1"
+
+for file in eventful-*/package.yaml; do
+ sed -i "s/version:.*/ve... | 14 | Add script to bump all package.yaml versions | 0 | .sh | sh | mit | jdreaver/eventful |
10034102 | <NME> postgres-event-store-bench.sh
<BEF> #!/usr/bin/env bash
set -eu;
# Benchmark various configurations of postgres as an event store.
export PGHOST=${PGHOST:-localhost}
export PGDATABASE=${PGDATABASE:-postgres_event_store_bench}
export PGUSER=${PGUSER:-postgres}
export PGPASSWORD=${PGPASSWORD:-password}
PSQL="ps... | 19 | Set synchronous_commit in docker run call | 10 | .sh | sh | mit | jdreaver/eventful |
10034103 | <NME> counter-cli.hs
<BEF> -- | This program shows very basic usage of an event store. We create a very
-- simple Counter Projection/CommandHandler that holds an integer between 0 and 100.
-- The CLI asks the user for commands and applies them to an in-memory event
-- store.
module Main where
import Control.Concurren... | 3 | Fix counter-cli types | 4 | .hs | hs | mit | jdreaver/eventful |
10034104 | <NME> Customer.hs
<BEF> ADDFILE
<MSG> Created Customer aggregate in bank example
<DFF> @@ -0,0 +1,30 @@
+module Bank.Events.Customer
+ ( CustomerCreated (..)
+ , CustomerAccountAdded (..)
+ , CustomerAccountRemoved (..)
+ ) where
+
+import Data.Aeson.TH
+
+import Eventful
+
+import Bank.Json
+
+data CustomerCreate... | 30 | Created Customer aggregate in bank example | 0 | .hs | hs | mit | jdreaver/eventful |
10034105 | <NME> Spec.hs
<BEF> ADDFILE
<MSG> Added tests for account aggregate
<DFF> @@ -0,0 +1,1 @@
+{-# OPTIONS_GHC -F -pgmF hspec-discover #-}
| 1 | Added tests for account aggregate | 0 | .hs | hs | mit | jdreaver/eventful |
10034106 | <NME> Memory.hs
<BEF> ADDFILE
<MSG> Created MonadState ProjectionCache
<DFF> @@ -0,0 +1,38 @@
+{-# LANGUAGE FlexibleContexts #-}
+{-# LANGUAGE RecordWildCards #-}
+
+module Eventful.ProjectionCache.Memory
+ ( ProjectionMap
+ , embeddedStateProjectionCache
+ , module Eventful.ProjectionCache.Types
+ ) where
+
+impo... | 38 | Created MonadState ProjectionCache | 0 | .hs | hs | mit | jdreaver/eventful |
10034107 | <NME> postgres-event-store-bench.sh
<BEF> #!/usr/bin/env bash
set -eu;
# Benchmark various configurations of postgres as an event store.
export PGHOST=${PGHOST:-localhost}
export PGDATABASE=${PGDATABASE:-postgres_event_store_bench}
export PGUSER=${PGUSER:-postgres}
export PGPASSWORD=${PGPASSWORD:-password}
PSQL="ps... | 13 | Test postgres bench with different event sizes | 3 | .sh | sh | mit | jdreaver/eventful |
10034108 | <NME> SqliteSpec.hs
<BEF> {-# LANGUAGE OverloadedStrings #-}
module Eventful.Store.SqliteSpec (spec) where
import Database.Persist.Sqlite
import Test.Hspec
import Eventful.Store.Sqlite
import Eventful.TestHelpers
spec :: Spec
spec = do
describe "Sqlite event store" $ do
eventStoreSpec sqliteStoreRunner
gl... | 1 | Don't return stored events in when storing events | 2 | .hs | hs | mit | jdreaver/eventful |
10034109 | <NME> TestHelpers.hs
<BEF> {-# LANGUAGE GeneralizedNewtypeDeriving #-}
{-# LANGUAGE OverloadedStrings #-}
{-# LANGUAGE RankNTypes #-}
{-# LANGUAGE TemplateHaskell #-}
-- | Common test functionality
module Eventful.TestHelpers
( Counter (..)
, CounterProjection
, counterProjection
, CounterCommandHandler
, c... | 7 | Merge pull request #21 from concert/return_stream_version | 7 | .hs | hs | mit | jdreaver/eventful |
10034110 | <NME> Operations.hs
<BEF> {-# LANGUAGE OverloadedStrings #-}
{-# LANGUAGE RecordWildCards #-}
{-# LANGUAGE ScopedTypeVariables #-}
{-# LANGUAGE TypeFamilies #-}
module Eventful.Store.Sql.Operations
( SqlEventStoreConfig (..)
, sqlEventStoreReader
, sqlGlobalEventStoreReader
, sqlGetProjectionIds
, sqlGetAggr... | 18 | Added unsafeSqlStoreGlobalStreamEvents function | 0 | .hs | hs | mit | jdreaver/eventful |
10034111 | <NME> README.md
<BEF> # Eventful: Haskell Event Sourcing + CQRS Library
[](https://circleci.com/gh/jdreaver/eventful)
`eventful` is a Haskell library intended to be used as a basis for applications
built using event sourcing.
## Documentation
The m... | 4 | Add link to documentation in README | 0 | .md | md | mit | jdreaver/eventful |
10034112 | <NME> EventSumTypeSpec.hs
<BEF> ADDFILE
<MSG> Created TH function for event sum types
<DFF> @@ -0,0 +1,21 @@
+module Eventful.EventSumTypeSpec (spec) where
+
+import Test.Hspec
+
+import Eventful.EventSumType
+
+data EventA = EventA deriving (Show, Eq)
+data EventB = EventB deriving (Show, Eq)
+data EventC = EventC de... | 21 | Created TH function for event sum types | 0 | .hs | hs | mit | jdreaver/eventful |
10034113 | <NME> ChefTodoList.hs
<BEF> {-# LANGUAGE ViewPatterns #-}
module Cafe.ChefTodoList
( chefTodoListMain
) where
import Control.Monad (forM_, unless)
import Control.Monad.Logger (runNoLoggingT)
import Data.List (foldl')
import Data.Map (Map)
import qualified Data.Map as Map
import Data.Maybe (catMaybes, mapMaybe)
im... | 1 | Have sqlite and postgres users select Entity type | 1 | .hs | hs | mit | jdreaver/eventful |
10034114 | <NME> Eventful.hs
<BEF> module Eventful
( module X
) where
import Eventful.Aggregate as X
import Eventful.EventSumType as X
import Eventful.Projection as X
import Eventful.ReadModel.Class as X
import Eventful.Serializer as X
import Eventful.Store.Class as X
import Eventful.UUID as X
import Eventful.Store.Class as ... | 1 | Rename mkEventSumType to mkSumType | 1 | .hs | hs | mit | jdreaver/eventful |
10034115 | <NME> Class.hs
<BEF> {-# LANGUAGE RankNTypes #-}
{-# LANGUAGE RecordWildCards #-}
module Eventful.ReadModel.Class
( ReadModel (..)
, runPollingReadModel
import Control.Monad (mapM_)
import Eventful.Serializable
import Eventful.Store
class (Monad m) => ReadModel m model serialized | model -> serialized where
la... | 1 | Small core module reorganization | 1 | .hs | hs | mit | jdreaver/eventful |
10034116 | <NME> counter-cli.hs
<BEF> -- | This program shows very basic usage of an event store. We create a very
-- simple Counter Projection/CommandHandler that holds an integer between 0 and 100.
-- The CLI asks the user for commands and applies them to an in-memory event
-- store.
module Main where
import Control.Concurren... | 1 | Merge pull request #9 from jdreaver/projection-cache | 1 | .hs | hs | mit | jdreaver/eventful |
10034117 | <NME> counter-cli.hs
<BEF> -- | This program shows very basic usage of an event store. We create a very
-- simple Counter Projection/CommandHandler that holds an integer between 0 and 100.
-- The CLI asks the user for commands and applies them to an in-memory event
-- store.
module Main where
import Control.Concurren... | 18 | Fix counter-cli for recent changes | 22 | .hs | hs | mit | jdreaver/eventful |
10034118 | <NME> TestHelpers.hs
<BEF> {-# LANGUAGE GeneralizedNewtypeDeriving #-}
{-# LANGUAGE OverloadedStrings #-}
{-# LANGUAGE RankNTypes #-}
{-# LANGUAGE TemplateHaskell #-}
-- | Common test functionality
, counterAggregate
, CounterEvent (..)
, CounterCommand (..)
, CounterCommandError (..)
, eventStoreSpec
, s... | 7 | Fix tests for command error removal | 12 | .hs | hs | mit | jdreaver/eventful |
10034119 | <NME> counter-cli.hs
<BEF> -- | This program shows very basic usage of an event store. We create a very
-- simple Counter Projection/CommandHandler that holds an integer between 0 and 100.
-- The CLI asks the user for commands and applies them to an in-memory event
-- store.
module Main where
import Control.Concurren... | 2 | Merge branch 'master' into cafe-example | 2 | .hs | hs | mit | jdreaver/eventful |
10034120 | <NME> JSONString.hs
<BEF> {-# LANGUAGE GeneralizedNewtypeDeriving #-}
{-# LANGUAGE OverloadedStrings #-}
module Eventful.Store.Sql.JSONString
) where
import Data.Aeson
import Data.ByteString
import Data.ByteString.Lazy (fromStrict, toStrict)
import Database.Persist
import Database.Persist.Sql
import Data.Proxy
impo... | 17 | Fixed JSONString encoding in postgres | 9 | .hs | hs | mit | jdreaver/eventful |
10034121 | <NME> TransferManager.hs
<BEF> {-# LANGUAGE RecordWildCards #-}
{-# LANGUAGE TemplateHaskell #-}
module Bank.ProcessManagers.TransferManager
( TransferManager (..)
, TransferManagerTransferData (..)
import Eventful
import Bank.Aggregates.Account
import Bank.Events
data TransferManager
= TransferManager
{ tr... | 5 | Move commands and command errors to sum types | 7 | .hs | hs | mit | jdreaver/eventful |
10034122 | <NME> RunCommand.hs
<BEF> ADDFILE
<MSG> Added write side CLI for bank example
<DFF> @@ -0,0 +1,39 @@
+module Bank.CLI.RunCommand
+ ( runCLICommand
+ ) where
+
+import Control.Monad.IO.Class (MonadIO)
+import Data.Aeson
+import Data.Aeson.Encode.Pretty
+import qualified Data.ByteString.Lazy.Char8 as BSL
+import Datab... | 39 | Added write side CLI for bank example | 0 | .hs | hs | mit | jdreaver/eventful |
10034123 | <NME> counter-cli.hs
<BEF> -- | This program shows very basic usage of an event store. We create a very
-- simple Counter Projection/CommandHandler that holds an integer between 0 and 100.
-- The CLI asks the user for commands and applies them to an in-memory event
-- store.
module Main where
import Control.Concurren... | 3 | Simplify EventStore API, remove EventStoreT | 3 | .hs | hs | mit | jdreaver/eventful |
10034124 | <NME> RunCommand.hs
<BEF> module Bank.CLI.RunCommand
( runCLICommand
) where
import Control.Monad (void)
import Database.Persist.Sqlite
import Eventful
import Bank.Models
import Bank.CLI.Options
import Bank.CLI.Store
import Bank.ReadModels.CustomerAccounts
runCLICommand :: ConnectionPool -> CLICommand -> IO ()
... | 2 | Merge pull request #7 from jdreaver/query-limits | 2 | .hs | hs | mit | jdreaver/eventful |
10034125 | <NME> EventBus.hs
<BEF> module Eventful.EventBus
( synchronousEventBusWrapper
, storeAndPublishEvents
) where
import Eventful.Store.Class
import Eventful.UUID
-- | This function wraps an event store by sending events to event handlers
-- after running 'storeEvents'. This is useful to quickly wire up event
-- ha... | 1 | Merge pull request #16 from ch3pjw/patch-1 | 1 | .hs | hs | mit | jdreaver/eventful |
10034126 | <NME> Class.hs
<BEF> {-# LANGUAGE DeriveFoldable #-}
{-# LANGUAGE DeriveFunctor #-}
{-# LANGUAGE DeriveTraversable #-}
{-# LANGUAGE GeneralizedNewtypeDeriving #-}
{-# LANGUAGE RankNTypes #-}
{-# LANGUAGE RecordWildCards #-}
module Eventful.Store.Class
( -- * EventStore
EventStoreReader (..)
, EventStoreWriter ... | 10 | Make Contravariant EventStoreWriter instance | 7 | .hs | hs | mit | jdreaver/eventful |
10034127 | <NME> AccountSpec.hs
<BEF> module Bank.Aggregates.AccountSpec (spec) where
import Test.Hspec
import Eventful
import Bank.Aggregates.Account
import Bank.Commands
import Bank.Events
spec :: Spec
spec = do
describe "Account projection" $ do
it "should handle a series of account events" $ do
let
even... | 14 | Use sum type for each projection/aggregate | 16 | .hs | hs | mit | jdreaver/eventful |
10034128 | <NME> Projection.hs
<BEF> ADDFILE
<MSG> Created a TH function to create Projections
<DFF> @@ -0,0 +1,94 @@
+{-# LANGUAGE QuasiQuotes #-}
+
+module Eventful.TH.Projection
+ ( mkProjection
+ ) where
+
+import Data.Char (toLower)
+import Language.Haskell.TH
+
+import Eventful.Projection
+import Eventful.TH.SumType
+
+-... | 94 | Created a TH function to create Projections | 0 | .hs | hs | mit | jdreaver/eventful |
10034129 | <NME> DynamoDBSpec.hs
<BEF> {-# LANGUAGE OverloadedStrings #-}
module Eventful.Store.DynamoDBSpec (spec) where
import Control.Lens ((<&>))
import Network.AWS
import Network.AWS.DynamoDB
import Test.Hspec
import Eventful
import Eventful.Store.DynamoDB
import Eventful.TestHelpers
spec :: Spec
spec = do
describe "Dy... | 2 | More robust error checking for dynamodb | 4 | .hs | hs | mit | jdreaver/eventful |
10034130 | <NME> counter-cli.hs
<BEF> -- | This program shows very basic usage of an event store. We create a very
-- simple Counter Projection/CommandHandler that holds an integer between 0 and 100.
-- The CLI asks the user for commands and applies them to an in-memory event
-- store.
module Main where
import Control.Concurren... | 1 | Fix building counter-cli | 1 | .hs | hs | mit | jdreaver/eventful |
10034131 | <NME> Tab.hs
<BEF> {-# LANGUAGE GeneralizedNewtypeDeriving #-}
{-# LANGUAGE TemplateHaskell #-}
module Cafe.Models.Tab
( TabState (..)
, Drink (..)
, Food (..)
, MenuItem (..)
, allDrinks
, allFood
import Control.Lens
import Data.List (foldl')
import Eventful
data TabState =
TabState
{ _tabStateIsOp... | 28 | Improve pending food state in cafe example | 19 | .hs | hs | mit | jdreaver/eventful |
10034132 | <NME> Store.hs
<BEF> {-# LANGUAGE RecordWildCards #-}
module Bank.CLI.Store
( runDB
, cliEventStoreReader
, cliEventStoreWriter
, cliGlobalEventStoreReader
, printJSONPretty
) where
import Control.Monad.IO.Class (MonadIO (..))
import Data.Aeson
import Data.Aeson.Encode.Pretty
import qualified Data.ByteStr... | 2 | Fix recursive event handlers in synchronous bus | 2 | .hs | hs | mit | jdreaver/eventful |
10034133 | <NME> Projection.hs
<BEF> {-# LANGUAGE RecordWildCards #-}
module Eventful.Projection
( Projection (..)
, latestProjection
, allProjections
, StreamProjection (..)
, VersionedStreamProjection
, GlobalStreamProjection
, streamProjection
-- | A 'Projection' is a piece of state that is constructed only from... | 8 | Rename proj type variable to state | 5 | .hs | hs | mit | jdreaver/eventful |
10034134 | <NME> DynamoDB.hs
<BEF> {-# LANGUAGE OverloadedStrings #-}
{-# LANGUAGE RecordWildCards #-}
module Eventful.Store.DynamoDB
( dynamoDBEventStoreReader
, dynamoDBEventStoreWriter
, DynamoDBEventStoreConfig (..)
, defaultDynamoDBEventStoreConfig
, initializeDynamoDBEventStore
, deleteDynamoDBEventStoreTable
... | 6 | Paginate getting events in DynamoDB | 2 | .hs | hs | mit | jdreaver/eventful |
10034135 | <NME> counter-cli.hs
<BEF> -- | This program shows very basic usage of an event store. We create a very
-- simple Counter Projection/CommandHandler that holds an integer between 0 and 100.
-- The CLI asks the user for commands and applies them to an in-memory event
-- store.
module Main where
import Control.Concurren... | 3 | Merge pull request #5 from jdreaver/simplify-eventstore-api | 3 | .hs | hs | mit | jdreaver/eventful |
10034136 | <NME> CHANGELOG.md
<BEF> # eventful Changelog
## 0.3.0
* Made `EventStoreWriter` more general, allowing any `key` and `position`
types. We also provide a `VersionedEventStoreWriter` type alias that uses
individual streams and reading from the global stream. This also simplified a
lot of the event and projection... | 1 | Update CHANGELOG | 0 | .md | md | mit | jdreaver/eventful |
10034137 | <NME> Events.hs
<BEF> {-# LANGUAGE TemplateHaskell #-}
module Bank.Models.Customer.Events
( customerEvents
, CustomerCreated (..)
, CustomerCreationRejected (..)
) where
import Data.Aeson.TH
import Language.Haskell.TH (Name)
import Bank.Json
customerEvents :: [Name]
customerEvents =
[ ''CustomerCreated
... | 2 | Better deriveJSON unprefix function in bank | 3 | .hs | hs | mit | jdreaver/eventful |
10034138 | <NME> EventStore.lhs
<BEF> <!--- -*- mode: Markdown;-*- -->
# Event Stores
Using events to change state is no good unless we can actually persist the
events somewhere. In `eventful`, we do that using
an
[EventStore](https://hackage.haskell.org/package/eventful-core/docs/Eventful-Store-Class.html#t:EventStore).
Before... | 1 | Merge pull request #12 from Unisay/patch-1 | 1 | .lhs | lhs | mit | jdreaver/eventful |
10034139 | <NME> DynamoDBSpec.hs
<BEF> module Eventful.Store.DynamoDBSpec (spec) where
import Control.Lens ((<&>))
import Network.AWS
import Network.AWS.DynamoDB
import Test.Hspec
import Test.Hspec
import Eventful.Store.DynamoDB
import Eventful.TestHelpers
makeStore :: IO (DynamoDBEventStore AWS, Env)
makeStore = do
let
d... | 2 | Merge pull request #4 from jdreaver/dynamo-serialize-json | 1 | .hs | hs | mit | jdreaver/eventful |
10034140 | <NME> counter-cli.hs
<BEF> -- | This program shows very basic usage of an event store. We create a very
-- simple Counter Projection/CommandHandler that holds an integer between 0 and 100.
-- The CLI asks the user for commands and applies them to an in-memory event
-- store.
module Main where
import Control.Concurren... | 1 | Split up TVar event store creation | 1 | .hs | hs | mit | jdreaver/eventful |
10034141 | <NME> JSONString.hs
<BEF> {-# LANGUAGE GeneralizedNewtypeDeriving #-}
{-# LANGUAGE OverloadedStrings #-}
module Eventful.Store.Sql.JSONString
( JSONString
, jsonStringSerializer
) where
import Data.Aeson
import Data.Text.Lazy (Text)
import qualified Data.Text.Lazy.Encoding as TLE
import Database.Persist
import ... | 1 | Use jsonb for postgres, not json | 1 | .hs | hs | mit | jdreaver/eventful |
10034142 | <NME> postgres-event-store-bench.sh
<BEF> ADDFILE
<MSG> Created script to benchmark postgres event stores
<DFF> @@ -0,0 +1,102 @@
+#!/usr/bin/env bash
+
+set -eu;
+
+# Benchmark various configurations of postgres as an event store.
+
+export PGHOST=${PGHOST:-localhost}
+export PGDATABASE=${PGDATABASE:-postgres_event_s... | 102 | Created script to benchmark postgres event stores | 0 | .sh | sh | mit | jdreaver/eventful |
10034143 | <NME> Eventful.hs
<BEF> module Eventful
( module X
) where
import Eventful.Aggregate as X
import Eventful.Projection as X
import Eventful.ProjectionMap as X
import Eventful.ReadModel.Class as X
import Eventful.Serializable as X
import Eventful.Store.Class as X
import Eventful.ReadModel.Class as X
import Eventful.S... | 0 | Remove unused ProjectionMap | 1 | .hs | hs | mit | jdreaver/eventful |
10034144 | <NME> counter-cli.hs
<BEF> -- | This program shows very basic usage of an event store. We create a very
-- simple Counter Projection/CommandHandler that holds an integer between 0 and 100.
-- The CLI asks the user for commands and applies them to an in-memory event
-- store.
module Main where
import Control.Concurren... | 0 | Don't use forever and explicit recursion | 2 | .hs | hs | mit | jdreaver/eventful |
10034145 | <NME> TestHelpers.hs
<BEF> {-# LANGUAGE GeneralizedNewtypeDeriving #-}
{-# LANGUAGE OverloadedStrings #-}
{-# LANGUAGE RankNTypes #-}
{-# LANGUAGE TemplateHaskell #-}
-- | Common test functionality
module Eventful.TestHelpers
( Counter (..)
, CounterProjection
, counterProjection
, CounterCommandHandler
, c... | 7 | Return latest stream version when writing to store | 7 | .hs | hs | mit | jdreaver/eventful |
10034146 | <NME> TestHelpers.hs
<BEF> {-# LANGUAGE GeneralizedNewtypeDeriving #-}
{-# LANGUAGE OverloadedStrings #-}
{-# LANGUAGE RankNTypes #-}
{-# LANGUAGE TemplateHaskell #-}
-- | Common test functionality
module Eventful.TestHelpers
( Counter (..)
, CounterProjection
, counterProjection
, CounterCommandHandler
, c... | 23 | Add ExpectedVersion tests | 0 | .hs | hs | mit | jdreaver/eventful |
10034147 | <NME> Tab.hs
<BEF> {-# LANGUAGE GeneralizedNewtypeDeriving #-}
{-# LANGUAGE TemplateHaskell #-}
module Cafe.Models.Tab
( TabState (..)
, Drink (..)
, Food (..)
, MenuItem (..)
, allDrinks
, allFood
, TabProjection
, tabProjection
, TabCommandHandler
, tabCommandHandler
, TabCommand (..)
, TabEve... | 3 | Fix some style in the cafe example | 2 | .hs | hs | mit | jdreaver/eventful |
10034148 | <NME> CHANGELOG.md
<BEF> ADDFILE
<MSG> Added CHANGELOG.md
<DFF> @@ -0,0 +1,6 @@
+# eventful Changelog
+
+## 0.1.0
+
+Initial Hackage release of `eventful`. It is already fairly full-featured along
+with some documentation and examples.
| 6 | Added CHANGELOG.md | 0 | .md | md | mit | jdreaver/eventful |
10034149 | <NME> Class.hs
<BEF> {-# LANGUAGE DeriveFoldable #-}
{-# LANGUAGE DeriveFunctor #-}
{-# LANGUAGE DeriveTraversable #-}
{-# LANGUAGE GeneralizedNewtypeDeriving #-}
{-# LANGUAGE RankNTypes #-}
{-# LANGUAGE RecordWildCards #-}
, storeEventGetLatest
-- * Utility types
, ProjectionId (..)
, StoredEvent (..)
, E... | 5 | Add function to generate random ProjectionId | 0 | .hs | hs | mit | jdreaver/eventful |