├── .gitignore ├── .travis.yml ├── LICENSE ├── README.md ├── project ├── build.properties └── plugins.sbt └── src ├── main ├── resources │ └── application.conf └── scala │ └── vending │ ├── BaseVendingMachineActor.scala │ ├── Domain.scala │ ├── SmActor.scala │ ├── SmPersistentActor.scala │ ├── Symbols.scala │ ├── SystemReportsActor.scala │ ├── UserOutputsActor.scala │ ├── VendingMachineDemo.scala │ ├── VendingMachineSm.scala │ └── package.scala └── test ├── resources └── application.conf └── scala └── vending ├── BaseActorTest.scala ├── BaseVendingMachineActorTest.scala ├── SmActorTest.scala ├── SmPersistentActorTest.scala └── VendingMachineSmTest.scala /.gitignore: -------------------------------------------------------------------------------- 1 | *.log 2 | .idea/ 3 | target/ 4 | -------------------------------------------------------------------------------- /.travis.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/otrebski/state-monad/HEAD/.travis.yml -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/otrebski/state-monad/HEAD/LICENSE -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/otrebski/state-monad/HEAD/README.md -------------------------------------------------------------------------------- /project/build.properties: -------------------------------------------------------------------------------- 1 | sbt.version=1.2.6 2 | -------------------------------------------------------------------------------- /project/plugins.sbt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/otrebski/state-monad/HEAD/project/plugins.sbt -------------------------------------------------------------------------------- /src/main/resources/application.conf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/otrebski/state-monad/HEAD/src/main/resources/application.conf -------------------------------------------------------------------------------- /src/main/scala/vending/BaseVendingMachineActor.scala: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/otrebski/state-monad/HEAD/src/main/scala/vending/BaseVendingMachineActor.scala -------------------------------------------------------------------------------- /src/main/scala/vending/Domain.scala: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/otrebski/state-monad/HEAD/src/main/scala/vending/Domain.scala -------------------------------------------------------------------------------- /src/main/scala/vending/SmActor.scala: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/otrebski/state-monad/HEAD/src/main/scala/vending/SmActor.scala -------------------------------------------------------------------------------- /src/main/scala/vending/SmPersistentActor.scala: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/otrebski/state-monad/HEAD/src/main/scala/vending/SmPersistentActor.scala -------------------------------------------------------------------------------- /src/main/scala/vending/Symbols.scala: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/otrebski/state-monad/HEAD/src/main/scala/vending/Symbols.scala -------------------------------------------------------------------------------- /src/main/scala/vending/SystemReportsActor.scala: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/otrebski/state-monad/HEAD/src/main/scala/vending/SystemReportsActor.scala -------------------------------------------------------------------------------- /src/main/scala/vending/UserOutputsActor.scala: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/otrebski/state-monad/HEAD/src/main/scala/vending/UserOutputsActor.scala -------------------------------------------------------------------------------- /src/main/scala/vending/VendingMachineDemo.scala: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/otrebski/state-monad/HEAD/src/main/scala/vending/VendingMachineDemo.scala -------------------------------------------------------------------------------- /src/main/scala/vending/VendingMachineSm.scala: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/otrebski/state-monad/HEAD/src/main/scala/vending/VendingMachineSm.scala -------------------------------------------------------------------------------- /src/main/scala/vending/package.scala: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/otrebski/state-monad/HEAD/src/main/scala/vending/package.scala -------------------------------------------------------------------------------- /src/test/resources/application.conf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/otrebski/state-monad/HEAD/src/test/resources/application.conf -------------------------------------------------------------------------------- /src/test/scala/vending/BaseActorTest.scala: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/otrebski/state-monad/HEAD/src/test/scala/vending/BaseActorTest.scala -------------------------------------------------------------------------------- /src/test/scala/vending/BaseVendingMachineActorTest.scala: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/otrebski/state-monad/HEAD/src/test/scala/vending/BaseVendingMachineActorTest.scala -------------------------------------------------------------------------------- /src/test/scala/vending/SmActorTest.scala: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/otrebski/state-monad/HEAD/src/test/scala/vending/SmActorTest.scala -------------------------------------------------------------------------------- /src/test/scala/vending/SmPersistentActorTest.scala: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/otrebski/state-monad/HEAD/src/test/scala/vending/SmPersistentActorTest.scala -------------------------------------------------------------------------------- /src/test/scala/vending/VendingMachineSmTest.scala: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/otrebski/state-monad/HEAD/src/test/scala/vending/VendingMachineSmTest.scala --------------------------------------------------------------------------------