doc change for From (#78)

Add TypeApplications hint to documentation
This commit is contained in:
Daniel Goertzen 2023-02-09 12:47:18 -06:00 committed by GitHub
parent 5d78728453
commit cf2a275865
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -19,7 +19,7 @@ class From source target where
-- > -- Avoid this: -- > -- Avoid this:
-- > from (x :: s) -- > 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 -- > from @s x
-- --
-- The default implementation of this method simply calls 'Coerce.coerce', -- The default implementation of this method simply calls 'Coerce.coerce',