Commit Graph

119 Commits

Author SHA1 Message Date
Taylor Fausak
7c5e93182d Rename "cast" to "from" 2021-05-11 08:07:51 -04:00
Taylor Fausak
99d601b222 Remove identity type family 2021-05-11 08:07:51 -04:00
Taylor Fausak
8f7fb55e5a Fix test warnings 2021-05-11 08:07:51 -04:00
Taylor Fausak
1d660f8a8c Remove casting type wrapper 2021-05-11 08:07:51 -04:00
Taylor Fausak
e10349b2c4 Ignore specialization warnings 2021-05-11 08:07:51 -04:00
Taylor Fausak
39d2fcc8e8 Fix Cabal version numbers 2021-05-11 08:03:36 -04:00
Taylor Fausak
acc50894b8
Version 0.2.1.1 2021-05-01 15:29:57 -04:00
Taylor Fausak
78137e06af
Merge pull request #21 from tfausak/gh17-transitive
Improve documentation
2021-05-01 15:29:20 -04:00
Taylor Fausak
ce20a679ce Document exceptions to rules 2021-05-01 19:26:15 +00:00
Taylor Fausak
19cd609002 Add new top-level "Notes" section 2021-05-01 19:13:36 +00:00
Taylor Fausak
a700237426 Improve tryVia example 2021-05-01 19:11:56 +00:00
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