Add identity From instance

Fixes #25.
This commit is contained in:
Taylor Fausak 2021-05-26 08:54:36 -04:00
parent 85c56e0a46
commit a2a289eae2

View File

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