packages feed

yi-keymap-emacs 0.13.5 → 0.13.6

raw patch · 2 files changed

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

API removals or changes: PVP suggests a major version bump

API changes (from Hackage documentation)

- Yi.Keymap.Emacs.KillRing: uses :: MonadState s f => Getting a s a -> (a -> b) -> f b
+ Yi.Keymap.Emacs.KillRing: uses :: forall a b f s. MonadState s f => Getting a s a -> (a -> b) -> f b

Files

src/Yi/Keymap/Emacs/KillRing.hs view
@@ -1,4 +1,5 @@ {-# OPTIONS_HADDOCK show-extensions #-}+{-# language RankNTypes #-}  -- | -- Module      :  Yi.Keymap.Emacs.KillRing@@ -9,8 +10,9 @@  module Yi.Keymap.Emacs.KillRing where -import           Lens.Micro.Platform (use, (%=), (.=))+import           Lens.Micro.Platform (use, (%=), (.=), Getting) import           Control.Monad       (replicateM_, when)+import           Control.Monad.State.Class (MonadState) import           Data.List.NonEmpty  (NonEmpty ((:|))) import           Data.Maybe          (fromMaybe) import           Yi.Buffer@@ -22,6 +24,7 @@ import           Yi.Utils            (io) import           System.Hclip        (getClipboard, setClipboard) +uses :: forall a b f s. MonadState s f => Getting a s a -> (a -> b) -> f b uses l f = f <$> use l  -- * Killring actions
yi-keymap-emacs.cabal view
@@ -1,9 +1,9 @@--- This file has been generated from package.yaml by hpack version 0.14.0.+-- This file has been generated from package.yaml by hpack version 0.17.0. -- -- see: https://github.com/sol/hpack  name:           yi-keymap-emacs-version:        0.13.5+version:        0.13.6 synopsis:       Emacs keymap for Yi editor category:       Yi homepage:       https://github.com/yi-editor/yi#readme