packages feed

quantum-random 0.6.1 → 0.6.2

raw patch · 4 files changed

+13/−9 lines, 4 filesdep ~ansigraph

Dependency ranges changed: ansigraph

Files

CHANGELOG.md view
@@ -1,5 +1,9 @@ # Revision history for `quantum-random` +#### 0.6.2++* Update dependency for `ansigraph-0.3`.+ #### 0.6.1  * Update dependency for `http-conduit-2.2`.
README.md view
@@ -50,8 +50,8 @@ restore           –  Restore default settings reinitialize      –  Restore default settings, and refill store to target size status            –  Display status of store and settings-save [filepath]   –  save binary quantum random store file to specified file path-load [filepath]   –  load binary file and append data to store+save [file path]  –  save binary quantum random store file to specified file path+load [file path]  –  load binary file and append data to store set minSize       –  Set the number of bytes below which the store is refilled set targetSize    –  Set the number of bytes to have after refilling set style [style] –  Set the default display style@@ -59,7 +59,7 @@ quit              –  Quit ``` -Commands are not case-sensitive.+Commands are not case-sensitive (except for file paths).  #### Display options 
quantum-random.cabal view
@@ -1,5 +1,5 @@ name:                quantum-random-version:             0.6.1+version:             0.6.2 synopsis:            Retrieve, store and manage real quantum random data.  description:         Retrieve, store and manage real quantum random data, originating from vacuum@@ -43,7 +43,7 @@   hs-source-dirs:      src-lib    build-depends:       base          >=4.8  && <4.10,-                       ansigraph     >=0.2  && <0.3,+                       ansigraph     >=0.2  && <0.4,                        aeson         >=0.8  && <0.12,                        text          >=1.2  && <1.3,                        regex-posix   >=0.9  && <1.0,
src-ex/Main.hs view
@@ -128,15 +128,15 @@  savePattern :: String -> Maybe String savePattern str =-  case (cwords str) of+  case cwords str of     [_]        -> Nothing     "save" : _ -> return . unwords . tail . words $ str     _          -> Nothing  loadPattern :: String -> Maybe String loadPattern str =-  case (cwords str) of-    [_]         -> Nothing+  case cwords str of+    [_]        -> Nothing     "load" : _ -> return . unwords . tail . words $ str     _          -> Nothing @@ -188,7 +188,7 @@  -- | Perform command, via 'interp', after printing a description to STDOUT. command :: Command -> IO ()-command c = (announce c *> interp c)+command c = announce c *> interp c  -- | Given a string, attempt to interpret it as an IO action, and either perform it or report --   the parse failure.