Skip to content
Browse files

Added a whole bunch of LANGUAGE pragmas.

The cabal file now works! FTW!
  • Loading branch information...
1 parent bc80846 commit dbcb1eaf7648712968ae52cb9a9bfd6fc4abf05d @tomlokhorst committed Jan 7, 2010
View
19 AwesomePrelude.cabal
@@ -16,12 +16,15 @@ stability: Stable
category: Data
build-type: Simple
cabal-version: >= 1.6
-hs-source-dirs: src
-exposed-modules: AwesomePrelude,
- HaskellPrelude,
- JsPrelude,
- CsPrelude
-build-depends: base >= 3 && < 5,
- monads-fd,
- transformers
+
+library
+ hs-source-dirs: src
+ extensions: EmptyDataDecls
+ exposed-modules: Compiler.Pipeline,
+ Generic.Prelude,
+ Lang.JavaScript
+ build-depends: base >= 3 && < 5,
+ containers >= 0.3 && < 0.4,
+ monads-fd >= 0.0.0.1 && < 0.0.1,
+ transformers >= 0.1.4 && < 0.1.5
View
2 src/Compiler/InstantiateLambdas.hs
@@ -1,3 +1,5 @@
+{-# LANGUAGE GADTs, TypeOperators #-}
+
module Compiler.InstantiateLambdas (instantiate, dump) where
import Compiler.Generics
View
3 src/Compiler/Pipeline.hs
@@ -1,4 +1,5 @@
-{-# LANGUAGE Arrows #-}
+{-# LANGUAGE Arrows, TypeOperators #-}
+
module Compiler.Pipeline where
import Compiler.Expression
View
2 src/Compiler/ReindexParamaters.hs
@@ -1,3 +1,5 @@
+{-# LANGUAGE TypeOperators #-}
+
module Compiler.ReindexParamaters where
import Compiler.Expression
View
2 src/Generic/Control/Alternative.hs
@@ -1,3 +1,5 @@
+{-# LANGUAGE MultiParamTypeClasses #-}
+
module Generic.Control.Alternative where
import Prelude ()
View
2 src/Generic/Control/Applicative.hs
@@ -1,3 +1,5 @@
+{-# LANGUAGE MultiParamTypeClasses #-}
+
module Generic.Control.Applicative where
import Prelude ()
View
2 src/Generic/Control/Category.hs
@@ -1,3 +1,5 @@
+{-# LANGUAGE MultiParamTypeClasses, TypeOperators #-}
+
module Generic.Control.Category where
import Prelude ()
View
2 src/Generic/Control/Function.hs
@@ -1,3 +1,5 @@
+{-# LANGUAGE FlexibleInstances, MultiParamTypeClasses #-}
+
module Generic.Control.Function where
import qualified Prelude
View
2 src/Generic/Control/Functor.hs
@@ -1,3 +1,5 @@
+{-# LANGUAGE MultiParamTypeClasses #-}
+
module Generic.Control.Functor where
import Prelude ()
View
2 src/Generic/Control/Monad.hs
@@ -1,3 +1,5 @@
+{-# LANGUAGE FlexibleContexts, MultiParamTypeClasses #-}
+
module Generic.Control.Monad where
import Prelude ()
View
3 src/Generic/Control/MonadPlus.hs
@@ -1,4 +1,5 @@
-{-# LANGUAGE UndecidableInstances #-}
+{-# LANGUAGE FlexibleInstances, MultiParamTypeClasses, UndecidableInstances #-}
+
module Generic.Control.MonadPlus where
import Prelude ()
View
2 src/Generic/Control/Monoid.hs
@@ -1,3 +1,5 @@
+{-# LANGUAGE MultiParamTypeClasses #-}
+
module Generic.Control.Monoid where
import Prelude ()
View
2 src/Generic/Control/Pointed.hs
@@ -1,3 +1,5 @@
+{-# LANGUAGE MultiParamTypeClasses #-}
+
module Generic.Control.Pointed where
import Prelude ()
View
2 src/Generic/Data/Bool.hs
@@ -1,3 +1,5 @@
+{-# LANGUAGE MultiParamTypeClasses #-}
+
module Generic.Data.Bool where
import Prelude ()
View
2 src/Generic/Data/List.hs
@@ -1,3 +1,5 @@
+{-# LANGUAGE FlexibleContexts, FlexibleInstances, MultiParamTypeClasses #-}
+
module Generic.Data.List where
import Prelude ()
View
2 src/Generic/Data/Maybe.hs
@@ -1,3 +1,5 @@
+{-# LANGUAGE FlexibleInstances, MultiParamTypeClasses #-}
+
module Generic.Data.Maybe where
import Prelude ()
View
2 src/Generic/Data/Number.hs
@@ -1,3 +1,5 @@
+{-# LANGUAGE FlexibleInstances #-}
+
module Generic.Data.Number where
import Prelude ()
View
2 src/Lang/JavaScript.hs
@@ -1,3 +1,5 @@
+{-# LANGUAGE FlexibleContexts, FlexibleInstances, MultiParamTypeClasses #-}
+
module Lang.JavaScript where
import Generic.Control.Function

0 comments on commit dbcb1ea

Please sign in to comment.
Something went wrong with that request. Please try again.