Commit 4df9f1ec authored by Sumit Sahrawat's avatar Sumit Sahrawat

Minor changes -- Fix build issue

- Couldn't format as hindent errors out.
- Remove setField' from export list.
- Add version constraints in ihaskell-widget.cabal
parent 22abf977
...@@ -72,17 +72,15 @@ library ...@@ -72,17 +72,15 @@ library
-- other-extensions: -- other-extensions:
-- Other library packages from which modules are imported. -- Other library packages from which modules are imported.
build-depends: aeson >= 0.8.1.0 build-depends: aeson >=0.7 && < 0.9
, base >=4.7 && <4.9 , base >=4.7 && <4.9
, containers >= 0.5.6.2 , containers >= 0.5
, ipython-kernel >= 0.6.1.0 , ipython-kernel >= 0.6.1
, text >= 1.2.1.0 , text >= 0.11
, unordered-containers >= 0.2.5.1 , unordered-containers -any
-- TODO: Need to check versions
, nats -any , nats -any
, vinyl -any , vinyl >= 0.5
, singletons -any , singletons >= 0.9.0
-- Waiting for the next release -- Waiting for the next release
, ihaskell -any , ihaskell -any
......
...@@ -17,4 +17,4 @@ import IHaskell.Display.Widgets.String.TextArea as X ...@@ -17,4 +17,4 @@ import IHaskell.Display.Widgets.String.TextArea as X
import IHaskell.Display.Widgets.Output as X import IHaskell.Display.Widgets.Output as X
import IHaskell.Display.Widgets.Common as X import IHaskell.Display.Widgets.Common as X
import IHaskell.Display.Widgets.Types as X (setField, setField', getField) import IHaskell.Display.Widgets.Types as X (setField, getField)
...@@ -14,9 +14,11 @@ ...@@ -14,9 +14,11 @@
{-# LANGUAGE NoMonomorphismRestriction #-} {-# LANGUAGE NoMonomorphismRestriction #-}
{-# LANGUAGE TypeSynonymInstances #-} {-# LANGUAGE TypeSynonymInstances #-}
{-# LANGUAGE BangPatterns #-} {-# LANGUAGE BangPatterns #-}
{-# LANGUAGE ConstraintKinds #-}
module IHaskell.Display.Widgets.Types where module IHaskell.Display.Widgets.Types where
import Control.Monad (when) import Control.Monad (when)
import Control.Applicative ((<$>))
import Data.Aeson import Data.Aeson
import Data.Aeson.Types (emptyObject, Pair) import Data.Aeson.Types (emptyObject, Pair)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment