Commit Graph

328 Commits

Author SHA1 Message Date
Taylor Fausak
96578de113 Fix floating point conversions
Fixes #39.
2021-11-18 10:39:07 -05:00
Taylor Fausak
d312023851 Test the Show instance for TryFromException 2021-09-04 14:30:01 +00:00
Taylor Fausak
8c3ad74485 Fix indentation in documentation 2021-07-13 10:46:42 -04:00
Taylor Fausak
bf8b58742b
Version 0.3.4.0 2021-07-10 16:29:23 -04:00
Taylor Fausak
ad30472b0c
Merge pull request #36 from tfausak/gh-35-fixed-rational
Convert between `Fixed` and `Rational`
2021-07-10 15:29:03 -05:00
Taylor Fausak
c6fe7fbc9f Fix monomorphism warning 2021-07-10 15:36:17 -04:00
Taylor Fausak
88bc4efd9d
Update src/lib/Witch/Instances.hs 2021-07-10 14:29:58 -05:00
Taylor Fausak
aac3a0e755 Add instance for converting from rational into fixed 2021-07-10 15:29:03 -04:00
Taylor Fausak
09888d81a2 Add instance for converting from fixed to rational 2021-07-10 15:21:33 -04:00
Taylor Fausak
1fa38f3f89
Version 0.3.3.1 2021-07-10 14:24:55 -04:00
Taylor Fausak
3574e966b7
Allow time 1.12 2021-07-10 14:24:42 -04:00
Taylor Fausak
2082ca37de
Version 0.3.3.0 2021-05-29 09:21:23 -04:00
Taylor Fausak
f48ea4c7b4
Merge pull request #34 from tfausak/gh33-strings
Add more instances for string types
2021-05-29 08:35:49 -04:00
Taylor Fausak
a4dfd7f2c5 Add more instances for string types 2021-05-29 12:22:29 +00:00
Taylor Fausak
5e62ab18c1 Split tests into groups 2021-05-29 11:56:31 +00:00
Taylor Fausak
e89047f07a Put string instances together 2021-05-29 11:49:20 +00:00
Taylor Fausak
06b7f2a28b
Version 0.3.2.3 2021-05-28 19:14:27 -04:00
Taylor Fausak
c7709cd82e
Haddock is not Markdown 2021-05-28 19:04:18 -04:00
Taylor Fausak
6dfecf703e
Fix markup 2021-05-28 19:03:43 -04:00
Taylor Fausak
41efc295b2
Fix typo 2021-05-28 19:02:02 -04:00
Taylor Fausak
f211451232
Version 0.3.2.2 2021-05-28 17:18:24 -04:00
Taylor Fausak
e5cabcd77d Add commentary about integral conversions
Fixes #26.
2021-05-28 21:17:55 +00:00
Taylor Fausak
b0a6402976 Improve documentation 2021-05-28 20:51:26 +00:00
Taylor Fausak
b0a4a6d8c4
Merge pull request #32 from tfausak/i386-take-two
I386 take two
2021-05-28 16:08:11 -04:00
Taylor Fausak
f5fc6ed6df
Use more succinct definition 2021-05-28 16:03:47 -04:00
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