threepenny-editors 0.2.0.3 → 0.2.0.4
raw patch · 2 files changed
+5/−1 lines, 2 filesPVP: minor bump suggested
API additions: PVP suggests at least a minor version bump
API changes (from Hackage documentation)
+ Graphics.UI.Threepenny.Editors.Profunctor: instance Graphics.UI.Threepenny.Editors.Profunctor.Editable a => Graphics.UI.Threepenny.Editors.Profunctor.Editable (Data.Functor.Identity.Identity a)
Files
src/Graphics/UI/Threepenny/Editors/Profunctor.hs view
@@ -25,6 +25,7 @@ )where import Data.Functor.Compose+import Data.Functor.Identity import Data.Profunctor import Graphics.UI.Threepenny.Core import qualified Graphics.UI.Threepenny.Editors.Base as Base@@ -104,3 +105,6 @@ instance (Editable a, Editable b) => Editable (a,b) where editor = (,) <$> lmap fst editor |*| lmap snd editor++instance Editable a => Editable (Identity a) where+ editor = dimap Identity runIdentity editor
threepenny-editors.cabal view
@@ -3,7 +3,7 @@ -- see: https://github.com/sol/hpack name: threepenny-editors-version: 0.2.0.3+version: 0.2.0.4 synopsis: Composable algebraic editors description: This package provides a type class 'Editable' and combinators to easily put together form-like editors for algebraic datatypes.