From cf2a2758654379bced911bfbd304c603cb709f55 Mon Sep 17 00:00:00 2001 From: Daniel Goertzen Date: Thu, 9 Feb 2023 12:47:18 -0600 Subject: [PATCH] doc change for From (#78) Add TypeApplications hint to documentation --- source/library/Witch/From.hs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/library/Witch/From.hs b/source/library/Witch/From.hs index 06fe4a2..e6adc8f 100644 --- a/source/library/Witch/From.hs +++ b/source/library/Witch/From.hs @@ -19,7 +19,7 @@ class From source target where -- > -- Avoid this: -- > from (x :: s) -- > - -- > -- Prefer this: + -- > -- Prefer this (using [@TypeApplications@](https://downloads.haskell.org/~ghc/9.0.1/docs/html/users_guide/exts/type_applications.html) language extension): -- > from @s x -- -- The default implementation of this method simply calls 'Coerce.coerce',