Merge pull request #27 from tfausak/gh25-from-id

Add identity `From` instance
This commit is contained in:
Taylor Fausak 2021-05-26 09:54:02 -04:00 committed by GitHub
commit 4bdad439b9
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -37,6 +37,9 @@ import qualified Witch.TryFrom as TryFrom
import qualified Witch.TryFromException as TryFromException
import qualified Witch.Utility as Utility
instance From.From a a where
from = id
-- Int8
-- | Uses 'fromIntegral'.