packages feed

eros 0.2.1.1 → 0.3.0.0

raw patch · 3 files changed

+42/−8 lines, 3 files

Files

eros.cabal view
@@ -1,5 +1,5 @@ name:                eros-version:             0.2.1.1+version:             0.3.0.0 synopsis:            A text censorship library. description:   A Haskell library for censoring text, using@@ -11,6 +11,13 @@   There exist compressed versions, for use within your code. You can see the   compressed versions   <https://github.com/pharpend/eros/tree/master/res/phraselists-ugly here>.++  The library is not very well tested (or really, tested at all), so I wouldn't+  recommend using it for anything important just quite yet. I'm quickly working+  towards a stable version, though!++  I recommend looking at the API documentation for Text.Eros if you want an idea+  of how to use the library. -- homepage:            https://eros.valkyrian.com/ license:             BSD3 license-file:        LICENSE@@ -25,16 +32,18 @@ cabal-version:       >=1.10 extra-source-files:   README.md+  res/erosc-dummy-inputs/*.json   res/schemata/*.json   res/phraselists-pretty/*.json  library   exposed-modules:-      Text.Eros.Message-    , Text.Eros.Phrase-    , Text.Eros.Phraselist+      Text.Eros   other-modules:              Paths_eros+    , Text.Eros.Message+    , Text.Eros.Phrase+    , Text.Eros.Phraselist   other-extensions:       FlexibleInstances     , OverloadedStrings@@ -70,10 +79,10 @@     , containers     , eros     , text-  hs-source-dirs: src/client/-  main-is: Main.lhs-  default-language:    Haskell2010-  ghc-options: -Wall+  hs-source-dirs:   src/client/+  main-is:        Main.lhs+  default-language: Haskell2010+  ghc-options:      -Wall  source-repository head   type:     git
+ res/erosc-dummy-inputs/input0.json view
@@ -0,0 +1,7 @@+{+  "text": "Fuck you, you fucking fuck! Fucking bitch tits milf sex sluts!",+  "eros-lists": [+    "gambling",+    "pornography"+  ]+}
+ src/library/Text/Eros.hs view
@@ -0,0 +1,18 @@+-- |+-- Module       : Text.Eros+-- Description  : Capstone Module for eros+-- Copyright    : 2014, Peter Harpending.+-- License      : BSD3+-- Maintainer   : Peter Harpending <pharpend2@gmail.com>+-- Stability    : experimental+-- Portability  : archlinux+--+-- This module serves as a bit of a capstone to the whole eros+-- library. The idea being you can just import this module, and get+-- all the functionality from all the rest of eros.++module Text.Eros (module Text.Eros) where++import Text.Eros.Message    as Text.Eros+import Text.Eros.Phrase     as Text.Eros+import Text.Eros.Phraselist as Text.Eros