packages feed

threepenny-editors 0.5.0 → 0.5.1

raw patch · 3 files changed

+4/−2 lines, 3 filesPVP: major bump suggested

API removals or changes: PVP suggests a major version bump

API changes (from Hackage documentation)

- Graphics.UI.Threepenny.Editors: editor :: (Editable a, Generic a, HasDatatypeInfo a, All (All Editable `And` All Default) (Code a)) => EditorFactory a Layout a
+ Graphics.UI.Threepenny.Editors: editor :: (Editable a, Generic a, HasDatatypeInfo a, All (All Editable `And` All Default) (Code a), EditorWidget a ~ Layout) => EditorFactory a (EditorWidget a) a

Files

CHANGELOG.md view
@@ -1,3 +1,5 @@+# 0.5.1 (2017-07-30)+    * Fix a build issue with GHC 8.2.1 # 0.5.0 (2017-07-30)     This is a major release with lots of internal rewrites and new features:     * Introduced monoidal layout builders like `Columns` for easier layout of
src/Graphics/UI/Threepenny/Editors.hs view
@@ -90,7 +90,7 @@   type EditorWidget a = Layout   -- | The editor factory   editor :: EditorFactory a (EditorWidget a) a-  default editor :: (Generic a, HasDatatypeInfo a, (All (All Editable `And` All Default) (Code a))) => EditorFactory a Layout a+  default editor :: (Generic a, HasDatatypeInfo a, (All (All Editable `And` All Default) (Code a)), EditorWidget a ~ Layout) => EditorFactory a (EditorWidget a) a   editor = editorGeneric  -- | Conceal the widget type of some 'Editor'
threepenny-editors.cabal view
@@ -3,7 +3,7 @@ -- see: https://github.com/sol/hpack  name:           threepenny-editors-version:        0.5.0+version:        0.5.1 synopsis:       Composable algebraic editors description:    This package provides a type class 'Editable' and combinators to                 easily put together form-like editors for algebraic datatypes.