Commit Graph

28 Commits

Author SHA1 Message Date
Taylor Fausak
f01f6996c0 Fix formatting 2021-04-23 09:01:03 -04:00
Taylor Fausak
ed0f423aa3 Return more useful errors 2021-04-23 12:43:38 +00:00
Taylor Fausak
5a0a1b3c4e Improve documentation 2021-04-23 12:27:27 +00:00
Taylor Fausak
f35362712f Add eitherTryCast function 2021-04-23 12:14:53 +00:00
Taylor Fausak
7895a07eea Expose maybeTryCast function 2021-04-23 11:39:20 +00: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
67a3cc53d5 Fix some typos 2021-04-18 19:44:05 +00: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
84d4011d62 Extract common floating point bounds 2021-04-18 13:12:40 +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
12bb30d4ee Add conversions from integral types into floating point 2021-04-17 16:31:16 +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
150aeccea0 Work around GHC 9.0.1 bug 2021-04-11 19:19:13 +00:00
Taylor Fausak
94968b0065 Add instances between signed and unsigned integral types 2021-04-11 14:06:17 -04:00
Taylor Fausak
8f6b77e67f Add instances for unsigned integral types 2021-04-11 10:04:53 -04:00