Cristhian Motoche
b77803e17d
Update to megaparsec-7.0 ( #60 )
...
* Upper bound megaparsec 7.0
* Update to megaparsec-7.0.0
* Drop support GHC 7.8.4
* Change haddock comparison for 8.4.3
* Make sure we user megaparsec 7.0.1
* Fix travis
2018-10-10 13:50:47 -05:00
Cristhian Motoche
6cdef174b2
Update to megaparsec 6.0.0 ( #51 )
...
* Update megaparsec to version 6.0
* Add void package for GHC versions lower than 7.10
* Add orphan instances for ParseError
* Drop support for GHC 7.6.3
* Add a type alias for Parser
* Change newtypes with function Gen's
2017-08-03 16:39:00 -05:00
Richard Cook
892e0d5f6d
Implement toHumanized helper function
2017-07-22 09:49:03 -06:00
Richard Cook
a902fa0e7a
Implement humanizeCustom to enable optional capitalization of first word
2017-07-22 09:35:45 -06:00
mrkkrp
8820a16c49
Documentation corrections
2016-12-28 13:48:06 +03:00
mrkkrp
2a2d02847e
Introduce a more flexible error handling
2016-12-21 16:00:58 +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
212d0cb3e7
Implement a more type safe API
2016-12-16 21:26:17 +03:00
mrkkrp
f7d63badc7
Minor improvement in docs for ‘toCamelCased’
2016-07-11 14:51:08 +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
mrkkrp
794cc8c51c
Refactor and switch to Megaparsec 5
...
Close #17 .
2016-06-24 11:36:36 +03:00
Cristhian Motoche
456fd6c1f0
Adding code examples in comments ( #27 )
2016-06-23 12:27:05 +04:00
Aleksey Uimanov
76cf0808ee
added auxiliary convertion functions
2015-01-23 03:31:20 +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
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
6be2334d3c
Add ordinal and ordinalize
2014-03-05 17:56:33 -05:00
Justin Leitgeb
070cfcdf1f
Better docs and parse input to dasherize
2014-03-01 10:41:11 -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