mirror of
https://github.com/tfausak/witch.git
synced 2024-11-22 14:58:13 +03:00
Merge pull request #27 from tfausak/gh25-from-id
Add identity `From` instance
This commit is contained in:
commit
4bdad439b9
@ -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'.
|
||||
|
Loading…
Reference in New Issue
Block a user