Commit Graph

111 Commits

Author SHA1 Message Date
Julius Marozas
e048826d92 Add the official native name of Lithuania 2024-06-24 11:33:43 -04:00
Brian McKeon
e1978f7941
Prepare 0.2.4.2 release. (#37)
Reformatted.
Use new .github build workflow.
Added custom release workflow.
Updated package metadata.

---------

Co-authored-by: Andrew Martin <andrew.thaddeus@gmail.com>
2024-05-16 12:28:31 -04:00
Andrew Martin
1975c6a339 Allow newer aeson and text. Bump to 0.2.4.1 for release. 2023-11-30 09:10:06 -05:00
Rob Holt
c43c083062
Zero-initialize byte arrays after allocating them
Fixes uninitialized country code byte arrays causing false positives
2023-11-30 08:56:34 -05:00
Andrew Martin
573499b936 Allow primitive 0.9 2023-10-05 11:20:08 -04:00
Andrew Martin
2455a41907 Use newer primitive-unlifted. Bump to 0.2.4.0 for release. 2023-07-06 10:37:01 -04:00
Ian Duncan
3704a65305 Generate view patterns for countries 2023-04-03 15:34:27 -04:00
chessai
8032994745 build with primitive 0.8 2023-02-24 11:08:22 -05:00
Alexis King
89d87385c9 Fix recursive Semigroup instance for Country.Unexposed.Trie
This fixes a typo in 0b79a1311e.
2023-01-19 13:57:36 -05:00
Andrew Martin
16122099cc Bump to 0.2.3.1 2022-10-11 14:25:41 -04:00
Eric Demko
8e683d6a94
Text upgrade 2022-10-11 14:14:12 -04:00
Andrew Martin
d025ea188e Bump to 0.2.3 for release 2022-08-11 11:26:08 -04:00
Kyriakos Papachrysanthou
376bd8c823
Bump aeson (#28) 2022-07-04 10:58:27 -05:00
Andrew Martin
03aeee9396 Add alias for US Outlying Islands 2022-06-13 17:22:46 -04:00
Andrew Martin
19ae5259d2 Add alias for St Vincent and Grenadines 2022-06-13 16:45:58 -04:00
Andrew Martin
b0f029ffa5 Add alias Heard and McDonald Islands 2022-05-11 09:29:29 -04:00
Andrew Martin
078039fecd Remove commented out source that is problematic for old Haddock 2022-03-23 07:00:14 -04:00
Andrew Martin
b7460da203 Bump version to 0.2.2 2022-03-23 06:59:21 -04:00
Andrew Martin
dfe1c709d7 Encode english names as ShortText 2022-03-18 14:11:35 -04:00
Alexander Vieth
c16819e7ce up the hashable upper bound to 1.5 2022-03-01 17:02:30 -05:00
Ollie Charles
cae1e07383
Bump upperbounds to allow aeson-2.0 and attoparsec-0.14 (#24) 2022-01-28 10:50:52 -06:00
Andrew Martin
820cccca6a
Add more encode and decode functions to Country.Subdivision 2021-12-01 13:38:22 -05:00
Zankoku Okuno
8f6df09b69
Introduce database of US States and Territories
Co-authored-by: Eric Demko <edemko@layer3com.com>
2021-09-03 11:37:45 -04:00
Zankoku Okuno
e03df9d452
Continent
Add continent encoders, mapping from country to continent, and tests.

Co-authored-by: Eric Demko <edemko@layer3com.com>
2020-12-13 09:01:39 -05:00
Andrew Martin
e6baaff34b Add build instructions 2020-12-08 12:24:18 -05:00
Andrew Martin
05ebb25ede
Use byteslice, bytehash, and bytebuild 2020-12-08 12:13:37 -05:00
chessai
fd4470f03e fix travis ci badge 2020-07-12 16:27:47 -07:00
chessai
e7da1a0471 add travis badge 2020-07-12 16:17:18 -07:00
chessai
2cd26818df remove stack.yamls 2020-07-12 16:15:19 -07:00
chessai
0311395395 add tested-with and regenerate .travis.yml 2020-07-12 16:15:00 -07:00
chessai
aa92beed0b bump aeson: <1.5 ==> <1.6 2020-07-12 16:12:28 -07:00
Andrew Martin
3a1b2d7c5f Add more names for Congo 2020-07-07 16:45:52 -04:00
Andrew Martin
a775db0ff6 Remove dependency on ghc-prim 2020-07-07 16:45:12 -04:00
chessai
a0fc0e2b9a bump base 2020-05-27 14:21:08 -07:00
Maximilian Tagher
1a2b0dc0df Add aliases to Country.Identifier module
Closes #13
2019-11-29 07:19:51 -05:00
chessai
373eddeaee version bump: 0.1.6 => 0.2 2019-11-03 14:52:22 -05:00
chessai
6c66994137 100% haddock coverage in Country.hs 2019-11-03 14:51:21 -05:00
chessai
942c0b5b7d test-suite: add more laws tests (even for derived instances) 2019-11-03 14:46:16 -05:00
chessai
bca3b9b376 formatting 2019-11-03 14:42:16 -05:00
chessai
248470f273 test suite: fix intermittent failures by doing (enumLaws => boundedEnumLaws) 2019-11-03 14:41:35 -05:00
chessai
ae7759e3e9 bump upper bounds on dependencies
- hashable: <1.3 => <1.4
- primitive: >=0.6.1 && <0.7 => >=0.6.4 && <0.8
2019-11-03 14:34:39 -05:00
chessai
ef588e690f bump base upper bound 2019-11-03 14:31:50 -05:00
George Wilson
7f2f1f8b77 Allow building with GHC 8.6 2018-11-06 06:27:54 -05:00
jaccokrijnen
464a2a06b7 Add Data and Typeable instances 2018-09-21 14:19:11 -04:00
Andrew Martin
7996b15265
add some tests for country 2018-09-01 20:02:02 -04:00
chessai
0e31e79f58 antigua and barbuda 2018-08-23 15:25:31 -04:00
chessai
18cabf91a0 minor outlying islands 2018-08-23 14:01:52 -04:00
chessai
776b31bd55 us virgin islands 2018-08-23 13:57:17 -04:00
chessai
27d22debd0 pitcairn 2018-08-23 13:53:41 -04:00
chessai
4d3215383e saint barthelemy 2018-08-23 13:51:03 -04:00