packages feed

fmt-for-rio (empty) → 1.0.0.0

raw patch · 8 files changed

+121/−0 lines, 8 filesdep +basedep +enum-text-riosetup-changed

Dependencies added: base, enum-text-rio

Files

+ ChangeLog.md view
@@ -0,0 +1,5 @@+# Changelog for fmt-for-rio++  * 1.0.0.0 first vesrion++## Unreleased changes
+ LICENSE view
@@ -0,0 +1,30 @@+Copyright Chris Dornan (c) 2019++All rights reserved.++Redistribution and use in source and binary forms, with or without+modification, are permitted provided that the following conditions are met:++    * Redistributions of source code must retain the above copyright+      notice, this list of conditions and the following disclaimer.++    * Redistributions in binary form must reproduce the above+      copyright notice, this list of conditions and the following+      disclaimer in the documentation and/or other materials provided+      with the distribution.++    * Neither the name of Chris Dornan nor the names of other+      contributors may be used to endorse or promote products derived+      from this software without specific prior written permission.++THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS+"AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT+LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR+A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT+OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,+SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT+LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,+DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY+THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT+(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE+OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+ README.md view
@@ -0,0 +1,26 @@+# fmt-for-rio++To use this package (with+  [`rio`](https://hackage.haskell.org/package/enum-text-rio-1.0.0.0)):+```haskell+import Fmt+```++This package is just a repackaging of+[`enum-text-rio`](https://hackage.haskell.org/package/enum-text-rio) for+repackaging [`fmt`](https://hackage.haskell.org/package/fmt) to work+with the [`rio`](https://hackage.haskell.org/package/rio) prelude, relocating+the `fmt` modules to their standard locations:++  * `Text.Enum.RIO.Fmt` → `Fmt`+  * `Text.Enum.RIO.Fmt.Time` → `Fmt.Time`+  * `Text.Enum.RIO.Fmt.Internal` → `Fmt.Internal`++Note that this package cannot be combined with the `fmt` package because of the+module clash. If you need access to the original `fmt` you will have to use+`enum-text-rio` instead.++Please see the documentation for+[`fmt`](https://hackage.haskell.org/package/fmt) and+[`enum-text-rio`](https://hackage.haskell.org/package/enum-text-rio)+for details.
+ Setup.hs view
@@ -0,0 +1,2 @@+import Distribution.Simple+main = defaultMain
+ fmt-for-rio.cabal view
@@ -0,0 +1,43 @@+cabal-version: 1.12++-- This file has been generated from package.yaml by hpack version 0.31.1.+--+-- see: https://github.com/sol/hpack+--+-- hash: ef3bc6692ff42ee791f69cfc02a7ccae77ba3a980d1fe9a9e380b8934f05cfa1++name:           fmt-for-rio+version:        1.0.0.0+synopsis:       Adaptor for getting fmt to work with rio+description:    Please see the README on GitHub at <https://github.com/cdornan/fmt-for-rio#readme>+category:       Control, Text+homepage:       https://github.com/cdornan/fmt-for-rio#readme+bug-reports:    https://github.com/cdornan/fmt-for-rio/issues+author:         Chris Dornan+maintainer:     chris@chrisdornan.com+copyright:      2019 Chris Dornan+license:        BSD3+license-file:   LICENSE+build-type:     Simple+extra-source-files:+    README.md+    ChangeLog.md++source-repository head+  type: git+  location: https://github.com/cdornan/fmt-for-rio++library+  exposed-modules:+      Fmt+      Fmt.Internal+      Fmt.Time+  other-modules:+      Paths_fmt_for_rio+  hs-source-dirs:+      src+  ghc-options: -Wall+  build-depends:+      base >=4.10 && <10+    , enum-text-rio >=1.2.0.0+  default-language: Haskell2010
+ src/Fmt.hs view
@@ -0,0 +1,5 @@+module Fmt+    ( module Text.Enum.RIO.Fmt+    ) where++import Text.Enum.RIO.Fmt
+ src/Fmt/Internal.hs view
@@ -0,0 +1,5 @@+module Fmt.Internal+    ( module Text.Enum.RIO.Fmt.Internal+    ) where++import Text.Enum.RIO.Fmt.Internal
+ src/Fmt/Time.hs view
@@ -0,0 +1,5 @@+module Fmt.Time+    ( module Text.Enum.RIO.Fmt.Time+    ) where++import Text.Enum.RIO.Fmt.Time