constellation-hs/src/Types.md

24 lines
309 B
Markdown
Raw Normal View History

2017-04-26 22:07:36 +00:00
```haskell
{-# LANGUAGE DeriveGeneric #-}
module Types where
import Data.Aeson
import GHC.Generics
import Prelude hiding (id)
```
App
---
1:1 with a Heroku app.
```haskell
data App = App
{ id :: String
} deriving (Generic, Eq, Show, Read)
instance ToJSON App
instance FromJSON App
```