packages feed

hmm-lapack 0.4.1 → 0.5

raw patch · 2 files changed

+11/−8 lines, 2 filesdep ~lapackdep ~transformersPVP ok

version bump matches the API change (PVP)

Dependency ranges changed: lapack, transformers

API changes (from Hackage documentation)

Files

hmm-lapack.cabal view
@@ -1,6 +1,6 @@ Cabal-Version:       2.2 Name:                hmm-lapack-Version:             0.4.1+Version:             0.5 Synopsis:            Hidden Markov Models using LAPACK primitives Description:   Hidden Markov Models implemented using LAPACK data types and operations.@@ -41,7 +41,7 @@   Changes.md  Source-Repository this-  Tag:         0.4.1+  Tag:         0.5   Type:        darcs   Location:    https://hub.darcs.net/thielema/hmm-lapack @@ -60,7 +60,7 @@     Math.HiddenMarkovModel.Example.Circle   Build-Depends:     private,-    lapack >=0.4 && <0.5,+    lapack >=0.5 && <0.6,     fixed-length >=0.2.1 && <0.3,     tfp >=1.0 && <1.1,     netlib-ffi >=0.1.1 && <0.2,@@ -68,7 +68,7 @@     comfort-array >=0.5 && <0.6,     explicit-exception >=0.1.7 && <0.2,     lazy-csv >=0.5 && <0.6,-    transformers >= 0.2 && <0.6,+    transformers >= 0.2 && <0.7,     non-empty >=0.3.2 && <0.4,     semigroups >=0.17 && <1.0,     containers >=0.4.2 && <0.7,
private/Math/HiddenMarkovModel/Public/Distribution.hs view
@@ -117,7 +117,7 @@ class Format typ where    format ::       (Shape.C sh, Output out, Class.Real prob) =>-      String -> T typ sh prob -> out+      Format.Config -> T typ sh prob -> out  instance    (Format typ, Shape.C sh, Class.Real prob) =>@@ -200,7 +200,8 @@       Output.formatAligned $       map (\(sym,v) ->             map (Identity . Output.text) $-            (show sym ++ ":") : map (printFmt fmt) (Vector.toList v)) $+            (show sym ++ ":") :+               map (printFmt $ Format.configFormat fmt) (Vector.toList v)) $       Array.toAssociations $ Matrix.toRowArray m  -- cf. Data.Bifunctor.Flip@@ -287,8 +288,10 @@    format = runFormatGaussian $ Class.switchReal formatGaussian formatGaussian  newtype FormatGaussian out emiSh stateSh a =-   FormatGaussian-      {runFormatGaussian :: String -> T (Gaussian emiSh) stateSh a -> out}+   FormatGaussian {+      runFormatGaussian ::+         Format.Config -> T (Gaussian emiSh) stateSh a -> out+   }  formatGaussian ::    (FormatArray emiSh, Shape.C stateSh,