Skip to content

Commit

Permalink
Clean the superflous debug things
Browse files Browse the repository at this point in the history
  • Loading branch information
christian-marie committed Dec 22, 2014
1 parent 5519238 commit e647e8f
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions lib/Data/Aeson/Roundtrip.hs
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
{-# LANGUAGE InstanceSigs #-}
{-# LANGUAGE LambdaCase #-}
{-# LANGUAGE OverloadedLists #-}
{-# LANGUAGE OverloadedStrings #-}
Expand All @@ -22,7 +21,6 @@ import Data.Scientific
import Data.Text (Text)
import Data.Vector ((!?))
import qualified Data.Vector as V
import Debug.Trace
import Text.Roundtrip.Classes

-- * Lenses, Prisms, and Isomorphisms.
Expand Down Expand Up @@ -141,7 +139,7 @@ instance ProductFunctor JsonBuilder where
merge a (Array b) = Just . Array $ V.cons a b
merge x Null = Just x
merge Null x = Just x
merge x y = traceShow (x,y) Nothing
merge _ _ = Nothing

instance Alternative JsonBuilder where
-- Try the left first, then right.
Expand Down

0 comments on commit e647e8f

Please sign in to comment.