1
1
mirror of https://github.com/github/semantic.git synced 2024-11-28 10:15:55 +03:00

default signature no longer relevant

This commit is contained in:
Ayman Nadeem 2020-01-21 16:13:29 -05:00
parent 0d269d88ac
commit 1a18c17347

View File

@ -23,8 +23,6 @@ import qualified Data.Text as Text
-- Serialize unmarshaled ASTs into JSON representation by auto-deriving Aeson instances generically
class MarshalJSON t where
default marshal :: ( Generic1 t, GMarshalJSON (Rep1 t), ToJSON a) => t a -> Value
marshal = gmarshal . from1
marshal :: (ToJSON a) => t a -> Value -- don't need default signature because they're the same now
-- Create MarshalJSON instances for each type constructor