diff --git a/src/lib/Witch/TryCast.hs b/src/lib/Witch/TryCast.hs index 5d05080..f6abc44 100644 --- a/src/lib/Witch/TryCast.hs +++ b/src/lib/Witch/TryCast.hs @@ -15,4 +15,7 @@ class TryCast source target where -- | This method implements the conversion of a value between types. At call -- sites you will usually want to use @tryFrom@ or @tryInto@ instead of this -- method. + -- + -- Consider using @maybeTryCast@ or @eitherTryCast@ to implement this + -- method. tryCast :: source -> Either (TryCastException.TryCastException source target) target