Commit Graph

34 Commits

Author SHA1 Message Date
Taylor Fausak
857f052db0 Add Casting type for deriving classes via 2021-04-30 02:19:19 +00:00
Taylor Fausak
f657639797 Use type applications for showing try cast exceptions 2021-04-26 07:55:52 -04:00
Taylor Fausak
dbf60c9f57 Add original exception to try cast exception
Fixes #8.
2021-04-23 02:47:04 +00:00
Taylor Fausak
2d142687db Add instances to convert try cast exceptions into strings
Fixes #6.
2021-04-23 02:11:04 +00:00
Taylor Fausak
12946e8b4b Add cast instances for try cast exceptions 2021-04-19 10:10:43 -04:00
Taylor Fausak
63bdc0d2a6 Add UTF-8 instances 2021-04-18 18:51:19 +00:00
Taylor Fausak
0ec5fd89e4 Add some more documentation 2021-04-18 18:39:23 +00:00
Taylor Fausak
1b9a59e9d7 Fix linting and formatting 2021-04-18 11:28:02 -04:00
Taylor Fausak
3bae76975e Add instances for text 2021-04-18 15:08:47 +00:00
Taylor Fausak
be71496828 Add instance for bytestring 2021-04-18 15:03:05 +00:00
Taylor Fausak
65b8a0db0a Add instances for containers 2021-04-18 14:50:39 +00:00
Taylor Fausak
9ccfc80ede Add some lossy instances 2021-04-18 14:37:02 +00:00
Taylor Fausak
108977a29b Use the same set of warning everywhere 2021-04-18 14:27:12 +00:00
Taylor Fausak
84d4011d62 Extract common floating point bounds 2021-04-18 13:12:40 +00:00
Taylor Fausak
f9b2500d1f Add some basic property tests 2021-04-17 20:09:33 +00:00
Taylor Fausak
701aa14f0f Add instances for converting from double to integral types 2021-04-17 18:55:56 +00:00
Taylor Fausak
459cfd2f0f Add instances for converting from float to integral types 2021-04-17 18:33:29 +00:00
Taylor Fausak
ff860f3a05 Rewrite tests with Hspec 2021-04-17 17:20:06 +00:00
Taylor Fausak
12bb30d4ee Add conversions from integral types into floating point 2021-04-17 16:31:16 +00:00
Taylor Fausak
34fa0aa2a1 Make it easier to write tests for failing casts 2021-04-17 15:35:28 +00:00
Taylor Fausak
634c06ca7d Fix formatting 2021-04-17 09:48:16 -04:00
Taylor Fausak
4fc8211592 Use more lenient constraint 2021-04-11 20:31:13 +00:00
Taylor Fausak
d7285e0a34 Add instances for Complex 2021-04-11 20:29:15 +00:00
Taylor Fausak
d9f159b7ad Add instances for Fixed 2021-04-11 20:23:17 +00:00
Taylor Fausak
aeb5e2c838 Add instances for Ratio 2021-04-11 20:17:22 +00:00
Taylor Fausak
94968b0065 Add instances between signed and unsigned integral types 2021-04-11 14:06:17 -04:00
Taylor Fausak
5724595189 Generate typed Template Haskell for GHC 8.8 2021-04-11 11:02:42 -04:00
Taylor Fausak
339c951671 Fix untyped Template Haskell tests 2021-04-11 10:16:56 -04:00
Taylor Fausak
8f6b77e67f Add instances for unsigned integral types 2021-04-11 10:04:53 -04:00
Taylor Fausak
5484556515 Start splitting things up and paring them down 2021-04-10 13:34:26 -04:00
Taylor Fausak
793880269c Switch to GitHub Actions 2021-02-07 14:01:04 -05:00
Taylor Fausak
772bc1ec30 Clean up tests a little 2020-11-14 17:22:08 +00:00
Taylor Fausak
a6281b6a6b Rename from "from" to "witch" 2020-11-14 16:54:45 +00:00
Taylor Fausak
f34145144d Initial commit 2020-11-13 11:49:41 -05:00