Commit Graph

114 Commits

Author SHA1 Message Date
mrkkrp
8c071a0e54 Test with GHC 8.0.2
And use Cabal 1.24 always. This version of Cabal is compatible with older
GHC and has a better dependency resolution algorithm.
2017-01-26 14:20:26 +03:00
mrkkrp
78bb346731 Version bump (0.3.0.0) 2016-12-28 14:08:47 +03:00
mrkkrp
8820a16c49 Documentation corrections 2016-12-28 13:48:06 +03:00
Mark Karpov
c964f2ad15 Merge pull request #43 from stackbuilders/hide-word-constructors
Implement a more type safe API
2016-12-28 14:32:56 +04:00
mrkkrp
2348bb717c Better define what a word is, tests for ‘Types.hs’ 2016-12-21 20:46:23 +03:00
mrkkrp
4d3bb48d7b Parser tests and fixes 2016-12-21 19:26:36 +03:00
mrkkrp
477a36de5c Make collection type for acronyms polymorphic 2016-12-21 17:55:12 +03:00
mrkkrp
0a43bc0690 Add more tests 2016-12-21 16:17:53 +03:00
mrkkrp
2a2d02847e Introduce a more flexible error handling 2016-12-21 16:00:58 +03:00
mrkkrp
48e14a31ff Fix the build
Oldish GHC does not understand @since.
2016-12-21 15:29:07 +03:00
mrkkrp
d9f226a81d Update the “CHANGELOG.md” file 2016-12-21 15:16:00 +03:00
mrkkrp
8560ec9fce Update the docs to reflect the current state of the code 2016-12-21 15:15:47 +03:00
mrkkrp
da792fdfec Hide ‘Text.Inflections.Types’ 2016-12-21 15:15:20 +03:00
mrkkrp
008c070982 Add some @since declarations 2016-12-21 15:14:17 +03:00
mrkkrp
feac25f60c We don't want to have overlapping instances 2016-12-21 15:13:34 +03:00
mrkkrp
212d0cb3e7 Implement a more type safe API 2016-12-16 21:26:17 +03:00
mrkkrp
ab508f1b4f Use ‘lts-7.13’ 2016-12-16 18:45:10 +03:00
mrkkrp
a9318a35dc A correction regarding required version of ‘base’ 2016-12-16 18:44:35 +03:00
Dmitry Bushev
185c506788 Allow Word to contain digits (#42) 2016-12-16 19:03:14 +04:00
mrkkrp
f3cdc38874 Minor cosmetic corrections 2016-10-04 11:11:01 +03:00
Mark Karpov
5b718ca4f3 Merge pull request #40 from stackbuilders/improve-tests
Improve tests, make them more idiomatic
2016-07-13 16:46:31 +04:00
mrkkrp
f7d63badc7 Minor improvement in docs for ‘toCamelCased’ 2016-07-11 14:51:08 +03:00
mrkkrp
df139bae49 Improve tests, make them more idiomatic 2016-07-11 14:46:34 +03:00
Mark Karpov
03234409a0 Merge pull request #38 from stackbuilders/refactoring-use-text
Major refactoring, switch to ‘Text’
2016-07-05 14:53:12 +04:00
mrkkrp
ad52094310 Rewrite ‘parametrize’ and ‘parametrizeCustom’ 2016-07-05 13:02:17 +03:00
mrkkrp
042ea42a20 Major refactoring, switch to ‘Text’
This solves the following issues:

* #18 — we switch to ‘Text’ and most algorithms are re-written for
  speed, so speed up about ×10 or better is quite possible (we need
  benchmarks to actually check).

* #19 — the library exports no partial functions now.

The change is quite major, but it's in single commit because most things
it influences are interconnected.
2016-07-04 15:35:11 +03:00
Tatsuya Hirose
4fdc9d6ac9 Relaxed Integer type 2016-07-02 12:17:36 +04:00
mrkkrp
49743074fb Show build status of ‘master’ in Travis badge 2016-06-24 11:42:37 +03:00
Mark Karpov
8fd57bbac5 Merge pull request #35 from stackbuilders/switch-to-megaparsec
Switch to Megaparsec 5
2016-06-24 12:36:56 +04:00
mrkkrp
794cc8c51c Refactor and switch to Megaparsec 5
Close #17.
2016-06-24 11:36:36 +03:00
mrkkrp
77aba55099 Fix the build for all GHCs 2016-06-23 18:59:30 +03:00
mrkkrp
3f9e15b664 Achieve 100% Haddock coverage 2016-06-23 17:54:50 +03:00
Cristhian Motoche
c655520942 Add documentation for parse functions (#34) 2016-06-23 17:55:39 +04:00
mrkkrp
1be795ecc6 Tame some warnings 2016-06-23 16:38:04 +03:00
mrkkrp
73301761c0 Add ‘dev’ flag to compile with ‘-Wall -Werror’
This is how the package will be built on Travis.
2016-06-23 15:57:43 +03:00
mrkkrp
37af83a697 Update the Travis CI script, use Cabal
Close #29. Also, fail if Haddock coverage is not 100%.
2016-06-23 15:49:12 +03:00
mrkkrp
6034ccedd9 Add package version bounds, indent Cabal file 2016-06-23 15:43:02 +03:00
mrkkrp
96817c116b Update the ‘stack.yaml’ file, use ‘lts-6.4’ 2016-06-23 15:39:43 +03:00
mrkkrp
99ec8af07f Minor improvements in ‘inflections.cabal’ 2016-06-23 13:56:04 +03:00
mrkkrp
1db7214af3 Add the ‘CHANGELOG.md’ file
Close #31.
2016-06-23 13:55:40 +03:00
mrkkrp
69a45b7c50 Add more badges (license and Stackage)
Close #30.
2016-06-23 13:09:48 +03:00
Juan Pablo Santos
f69e7a4295 Switch tests to hspec (#22) 2016-06-23 13:01:49 +04:00
Cristhian Motoche
456fd6c1f0 Adding code examples in comments (#27) 2016-06-23 12:27:05 +04:00
Juan Pedro Villa Isaza
f505bafb70 Bump version to 0.2.0.1 2016-05-30 09:04:26 -05:00
Tomas Carnecky
4fe02391da The package is compatible with GHC 8 2016-05-29 20:15:51 -04:00
Juan Pedro Villa Isaza
7d5e2a43a8 Merge pull request #24 from stackbuilders/change-travis
Change travis
2016-03-04 09:51:13 -05:00
CristhianMotoche
a5bf768c1b Add GMP dependency 2016-02-25 09:00:31 -05:00
CristhianMotoche
99995effd3 Update .travis.yml to work with stack 2016-02-25 08:48:59 -05:00
Abdelkader Boudih
b00e2817a1 Merge pull request #21 from stackbuilders/update-licence
Update LICENSE date
2016-01-12 17:17:26 +00:00
Abdelkader Boudih
e1929bffbf Update LICENSE 2016-01-12 17:13:29 +00:00