packages feed

function-builder 0.3.0.0 → 0.3.0.1

raw patch · 2 files changed

+20/−13 lines, 2 filesdep ~taggedPVP: major bump suggested

API removals or changes: PVP suggests a major version bump

Dependency ranges changed: tagged

API changes (from Hackage documentation)

- Data.FunctionBuilder: [$sel:runFunctionBuilder:FB] :: FunctionBuilder acc next f_make_next -> (acc -> next) -> f_make_next
- Data.FunctionBuilder: type family ToFunction m a r;
+ Data.FunctionBuilder: ($dmaddParameter) :: (DynamicContent m a parameter, a ~ (parameter -> m)) => a -> FunctionBuilder m next (parameter -> next)
+ Data.FunctionBuilder: ($dmaddStaticContent) :: (StaticContent m a, a ~ m) => a -> FunctionBuilder m next next
+ Data.FunctionBuilder: [runFunctionBuilder] :: FunctionBuilder acc next f_make_next -> (acc -> next) -> f_make_next
- Data.FunctionBuilder: addParameter :: (DynamicContent m a parameter, a ~ (parameter -> m)) => a -> FunctionBuilder m next (parameter -> next)
+ Data.FunctionBuilder: addParameter :: DynamicContent m a parameter => a -> FunctionBuilder m next (parameter -> next)
- Data.FunctionBuilder: addStaticContent :: (StaticContent m a, a ~ m) => a -> FunctionBuilder m next next
+ Data.FunctionBuilder: addStaticContent :: StaticContent m a => a -> FunctionBuilder m next next
- Data.FunctionBuilder: tagParameter :: forall tag m r a b. FunctionBuilder m r (a -> b) -> FunctionBuilder m r (Tagged tag a -> b)
+ Data.FunctionBuilder: tagParameter :: forall {k} (tag :: k) m r a b. FunctionBuilder m r (a -> b) -> FunctionBuilder m r (Tagged tag a -> b)

Files

CHANGELOG.md view
@@ -1,45 +1,52 @@-# 0.3.0.0+# Changelog for `function-builder` +## 0.3.0.1++* Fix markdown formatting in Changelog+* Specify the dependency versions according to the PVP (hopefully)++## 0.3.0.0+ * Update README with `Cokleisli ((->) w) a b ~ FunctionBuilder w a b` * Re-introduce `immediate` renamed to `deferred` * Remove `HasParameter` * Fix some typos * Add unit tests -# 0.2.0.1+## 0.2.0.1  * Update README -# 0.2.0.0+## 0.2.0.0  * Clean up and renamings * Add a type class for types that dont add values   to the function builder outpout. -# 0.1.2.0+## 0.1.2.0  * Add a type class for function builders that add a parameter to the generated function -# 0.1.1.0+## 0.1.1.0  * Add a type class for function builders -# 0.1.0.4+## 0.1.0.4  * Fix reference to the 'formatting' library -# 0.1.0.3+## 0.1.0.3  * Add reference to the 'formatting' library -# 0.1.0.2+## 0.1.0.2  * Improve documentation -# 0.1.0.1+## 0.1.0.1  * Fix Cabal build issues -# 0.1.0.0+## 0.1.0.0  * Initial Release
function-builder.cabal view
@@ -1,5 +1,5 @@ name:                function-builder-version:             0.3.0.0+version:             0.3.0.1 synopsis:            Create poly variadic functions for monoidal results description:         Please see README.md homepage:            https://github.com/sheyll/function-builder#readme@@ -19,7 +19,7 @@ library   hs-source-dirs:      src   exposed-modules:     Data.FunctionBuilder-  build-depends:       base >= 4.11 && < 5, tagged+  build-depends:       base >= 4.11 && < 5, tagged >= 0.8 && < 0.9   default-language:    Haskell2010   default-extensions:  BangPatterns                      , ConstraintKinds@@ -54,7 +54,7 @@   ghc-options:         -Wall   hs-source-dirs:      src-test   main-is:             Tests.hs-  build-depends:       base >= 4.11 && < 5, tagged, function-builder+  build-depends:       base >= 4.11 && < 5, tagged >= 0.8 && < 0.9, function-builder   default-language:    Haskell2010   default-extensions:  BangPatterns                      , ConstraintKinds