Commit Graph

300 Commits

Author SHA1 Message Date
Taylor Fausak
632c4b46e6
Version 0.2.1.0 2021-04-30 10:08:27 -04:00
Taylor Fausak
9b897d0e0e
Merge pull request #20 from tfausak/gh18-deriving-via
Add `Casting` type for deriving classes via
2021-04-30 09:00:56 -04:00
Taylor Fausak
857f052db0 Add Casting type for deriving classes via 2021-04-30 02:19:19 +00:00
Taylor Fausak
0c5112b331
Fix link to GitHub Actions 2021-04-26 08:36:19 -04:00
Taylor Fausak
0982dcb1a1
Version 0.2.0.2 2021-04-26 08:34:35 -04:00
Taylor Fausak
8c36a3621e
Fix typo 2021-04-26 08:34:05 -04:00
Taylor Fausak
9f5663e1ef
Version 0.2.0.1 2021-04-26 08:16:46 -04:00
Taylor Fausak
11fbbb9c23
Merge pull request #16 from tfausak/gh14-floating-point
Use `float2Double` instead of `realToFrac`
2021-04-26 08:16:15 -04:00
Taylor Fausak
7080fd8e9c Use float2Double instead of realToFrac
This fixes #14.
2021-04-26 08:06:54 -04:00
Taylor Fausak
733ec09b8c
Merge pull request #15 from tfausak/show-type-applications
Use type applications for showing try cast exceptions
2021-04-26 08:06:36 -04:00
Taylor Fausak
f657639797 Use type applications for showing try cast exceptions 2021-04-26 07:55:52 -04:00
Taylor Fausak
3da265dbf3 Improve documentation around try cast exceptions 2021-04-23 13:37:26 +00:00
Taylor Fausak
feb1465a4f
Version 0.2.0.0 2021-04-23 09:02:29 -04:00
Taylor Fausak
f01f6996c0 Fix formatting 2021-04-23 09:01:03 -04:00
Taylor Fausak
155493c3d7
Merge pull request #13 from tfausak/gh9-try-cast-helpers
Add helper functions for defining `tryCast`
2021-04-23 08:47:26 -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
e03f079c49
Merge pull request #12 from tfausak/gh8-original-exception
Add original exception to try cast exception
2021-04-23 07:31:08 -04:00
Taylor Fausak
dbf60c9f57 Add original exception to try cast exception
Fixes #8.
2021-04-23 02:47:04 +00:00
Taylor Fausak
809a0f5773
Merge pull request #11 from tfausak/gh6-into-string
Add instances to convert try cast exceptions into strings
2021-04-22 22:14:50 -04:00
Taylor Fausak
fcfd95bf4f
Merge pull request #10 from tfausak/gh7-tth
Add documentation about typed Template Haskell
2021-04-22 22:12:08 -04: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
5aa429428d Add documentation about typed Template Haskell
Fixes #7.
2021-04-23 01:57:16 +00:00
Taylor Fausak
94510523c3
Version 0.1.1.0 2021-04-19 13:36:40 -04: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
d7f2bf9ed0
Version 0.1.0.0 2021-04-18 15:05:23 -04:00
Taylor Fausak
10e7d2f5fa
Update README.markdown 2021-04-18 15:05:05 -04:00
Taylor Fausak
300f723838
Merge pull request #5 from tfausak/cauldron
Split things up and pare them down
2021-04-18 15:04:21 -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
c560919621 Add some documentation 2021-04-18 14:01:05 -04: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
b4c14ea8af Improve display of try cast exceptions 2021-04-17 14:17:32 +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