packages feed

byline 0.2.1.0 → 0.2.2.0

raw patch · 5 files changed

+27/−27 lines, 5 files

Files

− CHANGES
@@ -1,18 +0,0 @@--*- org -*---#+title: Version History-#+startup: showall--* 0.2.1.0 (November 5, 2014)--  - Updated dependencies--* 0.2.0.0 (May 22, 2015)--  - Added the NoItems constructor for Choice to deal with menus that-    are asked to display an empty list.-  - Changes to build with GHC 7.8.4. and 7.10.1--* 0.1.0.0 (May 19, 2015)--  - Initial release.
+ CHANGES.md view
@@ -0,0 +1,19 @@+# Version History++## 0.2.2.0 (June 9, 2016)++  - Build under LTS-5.15++## 0.2.1.0 (November 5, 2014)++  - Updated dependencies++## 0.2.0.0 (May 22, 2015)++  - Added the NoItems constructor for Choice to deal with menus that+    are asked to display an empty list.+  - Changes to build with GHC 7.8.4. and 7.10.1++## 0.1.0.0 (May 19, 2015)++  - Initial release.
LICENSE view
@@ -1,4 +1,4 @@-Copyright (c) 2015, Peter J. Jones <pjones@devalot.com>+Copyright (c) 2015, 2016 Peter J. Jones <pjones@devalot.com> All rights reserved.  Redistribution and use in source and binary forms, with or without
byline.cabal view
@@ -1,6 +1,6 @@ -------------------------------------------------------------------------------- name:          byline-version:       0.2.1.0+version:       0.2.2.0 synopsis:      Library for creating command-line interfaces (colors, menus, etc.) homepage:      http://github.com/pjones/byline bug-reports:   http://github.com/pjones/byline/issues@@ -8,12 +8,12 @@ license-file:  LICENSE author:        Peter Jones <pjones@devalot.com> maintainer:    Peter Jones <pjones@devalot.com>-copyright:     Copyright: (c) 2015 Peter J. Jones+copyright:     Copyright: (c) 2015,2016 Peter J. Jones category:      System, User Interfaces build-type:    Simple stability:     experimental-tested-with:   GHC == 7.8.4, GHC == 7.10.1-cabal-version: >=1.10+tested-with:   GHC == 7.8.4, GHC == 7.10.3+cabal-version: >=1.18 description:   Byline simplifies writing interactive terminal applications by   building upon @ansi-terminal@ and @haskeline@.  This makes it@@ -28,7 +28,7 @@  -------------------------------------------------------------------------------- extra-source-files:-  CHANGES+  CHANGES.md   README.md   examples/*.hs @@ -71,7 +71,6 @@    if flag(maintainer)     ghc-options: -Werror-    ghc-prof-options: -prof -auto-all    build-depends: base          >= 4.7  && < 5.0                , ansi-terminal >= 0.6  && < 0.7
src/System/Console/Byline/Primitive.hs view
@@ -141,8 +141,8 @@ -------------------------------------------------------------------------------- -- | Output stylized text with a prefix determined by 'ReportType'. report :: (MonadIO m) => ReportType -> Stylized -> Byline m ()-report (Error) message   = say $ (text "error: "   <> fg red)    <> message-report (Warning) message = say $ (text "warning: " <> fg yellow) <> message+report Error message   = say $ (text "error: "   <> fg red)    <> message+report Warning message = say $ (text "warning: " <> fg yellow) <> message  -------------------------------------------------------------------------------- -- | Like 'report', but append a newline character.