Permalink
Browse files

Add .gitignore file

  • Loading branch information...
1 parent 41f69d0 commit 757786e62c13df53501d7aa1d07e9a3bbea278e5 @DanBurton committed Aug 11, 2012
Showing with 23 additions and 152 deletions.
  1. +1 −0 .gitignore
  2. +0 −152 BasicPrelude.hs
  3. +20 −0 LICENSE
  4. +2 −0 Setup.hs
View
@@ -0,0 +1 @@
+dist/
View
@@ -1,152 +0,0 @@
-{-# LANGUAGE NoImplicitPrelude #-}
-module BasicPrelude
- ( -- * Standard
- -- ** Operators
- (Prelude.$)
- , (Prelude.+)
- , (Prelude.-)
- , (Prelude.*)
- , (Prelude./)
- , (Prelude.&&)
- , (Prelude.||)
- , (Prelude..)
- -- ** Functions
- , Prelude.not
- , Prelude.otherwise
- , Prelude.fst
- , Prelude.snd
- , Prelude.id
- , Prelude.maybe
- , Prelude.either
- , Prelude.flip
- , Prelude.const
- , Prelude.error
- , Prelude.zip
- , Prelude.unzip
- , Prelude.zipWith
- , Prelude.or
- , Data.Text.IO.putStrLn
- , Prelude.elem
- , Prelude.odd
- , Prelude.even
- , Prelude.uncurry
- -- ** Type classes
- , Prelude.Ord (..)
- , Prelude.Eq (..)
- , Prelude.Enum (..)
- , Prelude.Show
- , Prelude.Functor (..)
- , Prelude.Monad (..)
- , (Control.Monad.=<<)
- -- ** Data types
- , Prelude.Maybe (..)
- , Prelude.Ordering (..)
- , Prelude.Bool (..)
- , Prelude.Char
- , Prelude.IO
- , Prelude.Either (..)
- , Prelude.Integral (..)
- -- * Re-exports
- -- ** Packed reps
- , ByteString
- , LByteString
- , Text
- , LText
- -- ** Containers
- , Map
- , HashMap
- , LHashMap
- , Set
- , HashSet
- , Vector
- , Hashable
- -- ** Numbers
- , Word8
- , Word64
- , Int64
- , Prelude.Int
- , Word
- -- ** Monoids
- , Monoid (..)
- , concat
- , (++)
- -- ** Arrow
- , Control.Arrow.first
- , Control.Arrow.second
- , (Control.Arrow.***)
- , (Control.Arrow.&&&)
- -- ** Maybe
- , Data.Maybe.mapMaybe
- , Data.Maybe.catMaybes
- , Data.Maybe.fromMaybe
- -- ** Either
- , Data.Either.partitionEithers
- -- ** Applicative
- , Control.Applicative.Applicative (..)
- , (Control.Applicative.<$>)
- -- ** Monad
- , (Control.Monad.>=>)
- -- ** Transformers
- , Control.Monad.Trans.Class.lift
- , Control.Monad.IO.Class.MonadIO
- , Control.Monad.IO.Class.liftIO
- -- ** Exceptions
- , Control.Exception.Exception (..)
- , Control.Exception.SomeException
- , Control.Exception.throwIO
- -- ** Files
- , F.FilePath
- , (F.</>)
- , (F.<.>)
- , F.hasExtension
- , F.basename
- , F.filename
- -- ** Print
- , Prelude.print
- ) where
-
-import qualified Prelude
-import Prelude (Char, (.))
-
-import Data.ByteString (ByteString)
-import qualified Data.ByteString.Lazy as L (ByteString)
-import Data.Text (Text)
-import qualified Data.Text.Lazy as TL (Text)
-import Data.Map (Map)
-import Data.Set (Set)
-import Data.Vector (Vector)
-import Data.HashMap.Strict (HashMap)
-import qualified Data.HashMap.Lazy as HML (HashMap)
-import Data.HashSet (HashSet)
-import Data.Hashable (Hashable)
-
-import Data.Monoid (Monoid (..))
-import qualified Control.Arrow
-import qualified Control.Applicative
-import qualified Control.Monad
-import qualified Control.Exception
-
-import qualified Filesystem.Path.CurrentOS as F
-
-import Data.Word (Word8, Word64, Word)
-import Data.Int (Int64)
-
-import qualified Data.Text.IO
-
-import qualified Data.Maybe
-import qualified Data.Either
-
-import qualified Control.Monad.Trans.Class
-import qualified Control.Monad.IO.Class
-
-type LByteString = L.ByteString
-type LText = TL.Text
-type LHashMap = HML.HashMap
-
-
-concat :: Monoid w => [w] -> w
-concat = mconcat
-
-infixr 5 ++
-(++) :: Monoid w => w -> w -> w
-(++) = mappend
View
20 LICENSE
@@ -0,0 +1,20 @@
+Copyright (c) 2012 Dan Burton
+
+Permission is hereby granted, free of charge, to any person obtaining
+a copy of this software and associated documentation files (the
+"Software"), to deal in the Software without restriction, including
+without limitation the rights to use, copy, modify, merge, publish,
+distribute, sublicense, and/or sell copies of the Software, and to
+permit persons to whom the Software is furnished to do so, subject to
+the following conditions:
+
+The above copyright notice and this permission notice shall be
+included in all copies or substantial portions of the Software.
+
+THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
+EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
+MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
+NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
+LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
+OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
+WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
View
@@ -0,0 +1,2 @@
+import Distribution.Simple
+main = defaultMain

0 comments on commit 757786e

Please sign in to comment.