mirror of
https://github.com/github/semantic.git
synced 2024-12-24 15:35:14 +03:00
🔥 the redundant IsField typeclass.
This commit is contained in:
parent
3fb69066a5
commit
10e4aefc26
@ -31,10 +31,6 @@ class HasField (fields :: [*]) (field :: *) where
|
||||
class SetField (fields :: [*]) (field :: *) where
|
||||
setField :: Record fields -> field -> Record fields
|
||||
|
||||
class IsField field where
|
||||
getValue :: field -> ValueOf field
|
||||
setValue :: ValueOf field -> field
|
||||
|
||||
|
||||
-- Instances
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user