Skip to content

Commit

Permalink
Stylish the things
Browse files Browse the repository at this point in the history
  • Loading branch information
christian-marie committed Jan 3, 2015
1 parent b803b75 commit e577e8b
Show file tree
Hide file tree
Showing 3 changed files with 25 additions and 25 deletions.
2 changes: 1 addition & 1 deletion Setup.hs
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
import Distribution.Simple
import Distribution.Simple
main = defaultMain
30 changes: 15 additions & 15 deletions lib/Data/Aeson/Roundtrip.hs
Original file line number Diff line number Diff line change
Expand Up @@ -31,21 +31,21 @@ module Data.Aeson.Roundtrip
)
where

import Control.Category ((.))
import Control.Isomorphism.Partial
import Control.Lens hiding (Iso)
import qualified Control.Lens as L
import Control.Monad (guard, liftM2, mplus, (>=>))
import Data.Aeson
import Data.Aeson.Lens
import Data.HashMap.Strict (union)
import Data.Monoid
import Data.Scientific
import Data.Text (Text)
import Data.Vector ((!?))
import qualified Data.Vector as V
import Prelude hiding ((.))
import Text.Roundtrip.Classes
import Control.Category ((.))
import Control.Isomorphism.Partial
import Control.Lens hiding (Iso)
import qualified Control.Lens as L
import Control.Monad (guard, liftM2, mplus, (>=>))
import Data.Aeson
import Data.Aeson.Lens
import Data.HashMap.Strict (union)
import Data.Monoid
import Data.Scientific
import Data.Text (Text)
import Data.Vector ((!?))
import qualified Data.Vector as V
import Prelude hiding ((.))
import Text.Roundtrip.Classes


-- | Demote a lens 'Prism' to a partial 'Iso'.
Expand Down
18 changes: 9 additions & 9 deletions tests/demo.hs
Original file line number Diff line number Diff line change
Expand Up @@ -6,15 +6,15 @@

module Main where

import Control.Isomorphism.Partial
import Data.Aeson
import qualified Data.ByteString.Lazy.Char8 as L
import Data.Monoid
import Data.Text (Text)
import Text.Roundtrip.Classes
import Text.Roundtrip.Combinators

import Data.Aeson.Roundtrip
import Control.Isomorphism.Partial
import Data.Aeson
import qualified Data.ByteString.Lazy.Char8 as L
import Data.Monoid
import Data.Text (Text)
import Text.Roundtrip.Classes
import Text.Roundtrip.Combinators

import Data.Aeson.Roundtrip

-- | A silly example
data Invoice
Expand Down

0 comments on commit e577e8b

Please sign in to comment.