Dmitry Olshansky
8749d48ded
remove all constraints and use lts-21.3
2023-07-19 13:32:13 +02:00
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
CristhianMotoche
dda2f838ec
Remove unused app
2018-01-15 13:14:25 -05:00
CristhianMotoche
1d68232db4
Fix missing imports
2018-01-15 11:35:21 -05:00
Sebastián Estrella
8464c3e3e7
Support megaparsec >= 6.4.0
2018-01-14 23:15:24 -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
a902fa0e7a
Implement humanizeCustom to enable optional capitalization of first word
2017-07-22 09:35:45 -06:00
Richard Cook
99c57706a9
Fixes #45 : Update doc comment for titleize to indicate that it capitalizes all words
2017-07-21 21:12:33 -06:00
mrkkrp
8820a16c49
Documentation corrections
2016-12-28 13:48:06 +03: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
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
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
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
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