Commit Graph

47 Commits

Author SHA1 Message Date
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
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
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
mrkkrp
f7d63badc7 Minor improvement in docs for ‘toCamelCased’ 2016-07-11 14:51:08 +03: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
794cc8c51c Refactor and switch to Megaparsec 5
Close #17.
2016-06-24 11:36:36 +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
Cristhian Motoche
456fd6c1f0 Adding code examples in comments (#27) 2016-06-23 12:27:05 +04:00
Justin Leitgeb
e19c7b2786 Remove unnecessary imports, add warnings to tests 2015-04-08 08:46:40 -05:00
Tomas Carnecky
2fa7fc2c15 Use explicit imports from Prelude
To avoid ambigous references due to Prelude in 7.10 re-exporting 'Word'.
2015-04-07 22:10:41 +00:00
Aleksey Uimanov
76cf0808ee added auxiliary convertion functions 2015-01-23 03:31:20 +05:00
Justin Leitgeb
8129f211e7 Fix typo 2014-09-23 18:27:45 -05:00
Matt Campbell
8b637a3fcc Refactoring in various places using HLint 2014-03-09 16:10:00 -05:00
Justin Leitgeb
b56b262c6c More point-free notation 2014-03-08 13:12:32 -05:00
Justin Leitgeb
5a8c7377fa More point-free notation 2014-03-08 13:11:38 -05:00
Justin Leitgeb
8627d75d3d Minor doc fix 2014-03-08 12:58:02 -05:00
Justin Leitgeb
86ab9afcbc Doc updates 2014-03-08 12:50:37 -05:00
Justin Leitgeb
de474d2a63 Refactoring: separate parsing and transformations 2014-03-08 12:32:17 -05:00
Justin Leitgeb
cfffa41929 Remove some qualifications 2014-03-08 09:54:41 -05:00
Justin Leitgeb
1ecd93b4b4 Add titleize and humanize 2014-03-08 09:42:40 -05:00
Justin Leitgeb
e2cf91a8a0 Add module documentation 2014-03-07 19:55:09 -05:00
Sebastian Estrella
09c3b32245 Delete extra spaces 2014-03-06 07:07:44 -05:00
Sebastian Estrella
6be2334d3c Add ordinal and ordinalize 2014-03-05 17:56:33 -05:00
Justin Leitgeb
3471e6d2e1 Document parameterizeCustom 2014-03-05 15:58:46 -05:00
Justin Leitgeb
42a5ccd68c Keep public interface small 2014-03-05 15:56:40 -05:00
Justin Leitgeb
070cfcdf1f Better docs and parse input to dasherize 2014-03-01 10:41:11 -05:00
Justin Leitgeb
7e4ddb4508 Accept empty input 2014-03-01 09:34:29 -05:00
Justin Leitgeb
e379e7ea41 Remove type that we didn't need to export 2014-03-01 09:27:45 -05:00
Justin Leitgeb
93d6759a24 Refactoring 2014-03-01 09:26:04 -05:00
Justin Leitgeb
a77b0e00c5 Add camelize function 2014-03-01 07:44:09 -05:00
Justin Leitgeb
35870aa5d4 Rename function 2014-03-01 06:05:39 -05:00
Justin Leitgeb
49ae4e76fa Add decamelize function 2014-03-01 05:45:19 -05:00
Justin Leitgeb
e66a860ec8 Create parser for camel-case string, refactoring. 2014-02-28 13:14:15 -05:00
Justin Leitgeb
ac7542d2d6 Document Type 2014-02-25 16:36:36 -05:00
Justin Leitgeb
ffc7e44965 Expose transliterate function 2014-02-25 13:39:24 -05:00
Tom Ellis
56254b4dd0 Small style tweaks 2014-02-25 09:11:37 +00:00
Justin Leitgeb
2c22ed5daa First commit 2014-02-25 00:00:52 -05:00