Commit Graph

153 Commits

Author SHA1 Message Date
Taylor Fausak
dc2af8f277 Fix x86_64 test cases 2021-05-28 19:52:13 +00:00
Taylor Fausak
3a48128c56 Rewrite test cases to handle 32-bit integral types 2021-05-28 19:42:06 +00:00
Taylor Fausak
d86ffe4f5f Fix broken conversions into naturals 2021-05-28 18:57:15 +00:00
Taylor Fausak
566ff323fd Comment out overflowing test cases 2021-05-28 18:48:41 +00:00
Taylor Fausak
b044b7649f Test i386 in CI 2021-05-28 18:48:31 +00:00
Taylor Fausak
a70bd8ab66
Merge pull request #31 from tfausak/hunit
Switch from Hspec to HUnit
2021-05-28 08:15:29 -04:00
Taylor Fausak
52467602b2 Finish converting Hspec to HUnit 2021-05-28 08:06:59 -04:00
Taylor Fausak
1e33a9a9fd Start converting test suite to HUnit 2021-05-27 22:26:16 -04:00
Taylor Fausak
3a5536aedc
Version 0.3.2.1 2021-05-27 07:32:13 -04:00
Taylor Fausak
c8df4f3671
Merge pull request #29 from tfausak/gh28-ghc-8.6
Add support for GHC 8.6, 8.4, and 8.2
2021-05-27 07:31:53 -04:00
Taylor Fausak
1bdbfbdf3d Allow GHC 8.2 2021-05-26 20:03:56 -04:00
Taylor Fausak
0f3fd280ec Allow GHC 8.4 2021-05-26 19:47:24 -04:00
Taylor Fausak
ef1c70846f Fix time's lower bound 2021-05-26 19:37:24 -04:00
Taylor Fausak
c641d61fc6 Relax constraints to allow more wired-in libraries 2021-05-26 19:28:43 -04:00
Taylor Fausak
d436d21b9e Allow bytestring 0.11 2021-05-26 19:25:42 -04:00
Taylor Fausak
fb0b5f9331 Add support for GHC 8.6 2021-05-26 19:17:25 -04:00
Taylor Fausak
4f37a29b65
Version 0.3.2.0 2021-05-26 09:54:20 -04:00
Taylor Fausak
4bdad439b9
Merge pull request #27 from tfausak/gh25-from-id
Add identity `From` instance
2021-05-26 09:54:02 -04:00
Taylor Fausak
a2a289eae2 Add identity From instance
Fixes #25.
2021-05-26 08:54:36 -04:00
Taylor Fausak
85c56e0a46
Version 0.3.1.0 2021-05-15 11:35:31 -04:00
Taylor Fausak
1994c79b23
Merge pull request #24 from tfausak/gh23-time
Add conversion instances for types from the `time` library
2021-05-15 11:35:05 -04:00
Taylor Fausak
b025820923
Fix documentation 2021-05-15 11:20:47 -04:00
Taylor Fausak
ed4df8c6fb Add conversion instances for types from the time library 2021-05-15 14:02:51 +00:00
Taylor Fausak
2f1a589629
Fix typo 2021-05-14 11:09:53 -04:00
Taylor Fausak
cefd83bdac
Version 0.3.0.1 2021-05-13 19:38:50 -04:00
Taylor Fausak
711b0cdc1f Allow hspec 2.8
https://github.com/commercialhaskell/stackage/issues/6010
2021-05-13 19:34:11 -04:00
Taylor Fausak
9ba217f449
Version 0.3.0.0 2021-05-12 10:25:24 -04:00
Taylor Fausak
306ddd5c4f
Merge pull request #22 from tfausak/trim
Pare things down
2021-05-12 10:24:57 -04:00
Taylor Fausak
b28f2920fa Remove some From instances for TryFromException 2021-05-11 08:07:51 -04:00
Taylor Fausak
74b833fffb Improve documentation 2021-05-11 08:07:51 -04:00
Taylor Fausak
a8c5fce4b6 Add tests for tryVia 2021-05-11 08:07:51 -04:00
Taylor Fausak
cdd86e9e2f Replace "cast" functions with "from" 2021-05-11 08:07:51 -04:00
Taylor Fausak
1b55654c86 Rename TryCastException to TryFromException 2021-05-11 08:07:51 -04:00
Taylor Fausak
57d0695778 Rename "tryCast" to "tryFrom" 2021-05-11 08:07:51 -04:00
Taylor Fausak
7c5e93182d Rename "cast" to "from" 2021-05-11 08:07:51 -04:00
Taylor Fausak
99d601b222 Remove identity type family 2021-05-11 08:07:51 -04:00
Taylor Fausak
8f7fb55e5a Fix test warnings 2021-05-11 08:07:51 -04:00
Taylor Fausak
1d660f8a8c Remove casting type wrapper 2021-05-11 08:07:51 -04:00
Taylor Fausak
e10349b2c4 Ignore specialization warnings 2021-05-11 08:07:51 -04:00
Taylor Fausak
39d2fcc8e8 Fix Cabal version numbers 2021-05-11 08:03:36 -04:00
Taylor Fausak
acc50894b8
Version 0.2.1.1 2021-05-01 15:29:57 -04:00
Taylor Fausak
78137e06af
Merge pull request #21 from tfausak/gh17-transitive
Improve documentation
2021-05-01 15:29:20 -04:00
Taylor Fausak
ce20a679ce Document exceptions to rules 2021-05-01 19:26:15 +00:00
Taylor Fausak
19cd609002 Add new top-level "Notes" section 2021-05-01 19:13:36 +00:00
Taylor Fausak
a700237426 Improve tryVia example 2021-05-01 19:11:56 +00:00
Taylor Fausak
2c5c9d69d6 Re-order the definition of tryVia 2021-05-01 19:10:31 +00:00
Taylor Fausak
a154c392cd Add note about maybeTryCast and eitherTryCast 2021-05-01 19:09:44 +00:00
Taylor Fausak
ba95e3ceb2 Add common usage notes 2021-05-01 19:08:48 +00:00
Taylor Fausak
34a4636c0f Put tryVia next to via 2021-05-01 19:05:34 +00:00
Taylor Fausak
263c86d4e8 Move TryCastException to data type section 2021-05-01 19:05:01 +00:00