 (ns samsara.machina.core)
+;;
+;; This namespace contains an REPL exploration session on
+;; various possible implementation of a State Machine
+;; in Clojure. There are several characteristics that
+;; I'm keen to explore and achieve in the final system
+;; such as: simplicity, flexibility, robustness,
+;; speed, and more.
+;; I'll be writing several implementations of the
+;; state machine to solve a simple problem
+;; and try to evaluate which compromises I'm making
+;; in regards to the aforementioned characteristics.
+;;
+
 
 ;;
 ;; TODO: managed transition


  ;; write to file example
  (def sm
    {:state :machine/start
     :epoch 0
     :data nil

     :dispatch
     {:machine/stop identity
      :machine/start
      (fn
        [sm]
        (assoc sm

        (str (java.util.Date.) \newline)
        :append true))




