Commit Graph

208 Commits

Author SHA1 Message Date
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
Taylor Fausak
6f1c2e671a Add documentation to unsafe section 2021-05-01 19:04:27 +00:00
Taylor Fausak
c1c69ef332 Move sections around 2021-05-01 19:02:00 +00:00
Taylor Fausak
c71a0a7808
Improve documentation for over 2021-04-30 13:52:29 -04:00
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