Cleanup module pathing
This commit is contained in:
@@ -1,13 +1,14 @@
|
||||
{-# LANGUAGE DeriveGeneric #-}
|
||||
{-# LANGUAGE TemplateHaskell #-}
|
||||
{-# LANGUAGE StrictData #-}
|
||||
{-# LANGUAGE TemplateHaskell #-}
|
||||
|
||||
module Dodge.Data.CrWlID where
|
||||
import GHC.Generics
|
||||
import Data.Aeson
|
||||
|
||||
import Control.Lens
|
||||
data CrWlID = CrID Int | WlID Int | NothingID -- TODO rewrite/remove this
|
||||
deriving (Eq,Ord,Show,Read,Generic)
|
||||
instance ToJSON CrWlID where
|
||||
toEncoding = genericToEncoding defaultOptions
|
||||
instance FromJSON CrWlID
|
||||
import Data.Aeson
|
||||
import Data.Aeson.TH
|
||||
|
||||
data CrWlID = CrID Int | WlID Int | NothingID -- TODO rewrite/remove this
|
||||
deriving (Eq, Ord, Show, Read)
|
||||
|
||||
makeLenses ''CrWlID
|
||||
deriveJSON defaultOptions ''CrWlID
|
||||
|
||||
Reference in New Issue
Block a user