Add module documentation

This commit is contained in:
Justin Leitgeb 2014-03-07 19:55:09 -05:00
parent 33c9dce4e2
commit e2cf91a8a0
2 changed files with 20 additions and 3 deletions

View File

@ -1,3 +1,19 @@
{- |
Module : Text.Inflections
Description : Rails-like inflections library for common String transformations.
Copyright : (c) Justin Leitgeb
License : MIT
Maintainer : justin@stackbuilders.com
Stability : unstable
Portability : portable
This module provides methods for common String transformations, similar to the
"Inflections" library found in Rails:
<http://api.rubyonrails.org/classes/ActiveSupport/Inflector.html>
-}
module Text.Inflections
( camelize
, camelizeCustom

View File

@ -1,8 +1,10 @@
name: inflections
version: 0.1.0.4
version: 0.1.0.5
synopsis: Inflections library for Haskell
description:
Inflections provides methods for singularization, pluralization, dasherizing, etc. The library is based on Rails' inflections library.
Inflections provides methods for singularization, pluralization,
dasherizing, etc. The library is based on Rails' inflections library.
license: MIT
license-file: LICENSE
author: Justin Leitgeb
@ -11,7 +13,6 @@ maintainer: justin@stackbuilders.com
copyright: 2014 Justin Leitgeb
category: Text
build-type: Simple
-- extra-source-files:
cabal-version: >=1.10
source-repository head