diff --git a/.ghci b/.ghci new file mode 100644 index 0000000..d06be33 --- /dev/null +++ b/.ghci @@ -0,0 +1,7 @@ +:set -isrc +:m + Test.QuickCheck +:l M +:m + M +:set prompt ">> " +:set -Wall + diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..c3270b6 --- /dev/null +++ b/.gitignore @@ -0,0 +1,2 @@ +dist +*.lkshs diff --git a/LICENSE b/LICENSE new file mode 100644 index 0000000..cc9e349 --- /dev/null +++ b/LICENSE @@ -0,0 +1,27 @@ +Copyright 2011 Tony Morris + +All rights reserved. + +Redistribution and use in source and binary forms, with or without +modification, are permitted provided that the following conditions +are met: +1. Redistributions of source code must retain the above copyright + notice, this list of conditions and the following disclaimer. +2. Redistributions in binary form must reproduce the above copyright + notice, this list of conditions and the following disclaimer in the + documentation and/or other materials provided with the distribution. +3. Neither the name of the author nor the names of his contributors + may be used to endorse or promote products derived from this software + without specific prior written permission. + +THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND +ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE +IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE +ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHORS OR CONTRIBUTORS BE LIABLE +FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL +DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS +OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) +HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT +LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY +OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF +SUCH DAMAGE. diff --git a/Package.cabal b/Package.cabal new file mode 100644 index 0000000..5585c68 --- /dev/null +++ b/Package.cabal @@ -0,0 +1,30 @@ +Name: Haskell-Package +Version: 0.0.1 +License: BSD3 +License-File: LICENSE +Author: Tony Morris <ʇǝu˙sıɹɹoɯʇ@ןןǝʞsɐɥ> +Maintainer: Tony Morris +Copyright: Tony Morris +Synopsis: A skeleton for creating haskell packages +Category: Development +Description: A skeleton for creating haskell packages +Homepage: https://bitbucket.org/dibblego/haskell-package/ +Cabal-version: >= 1.2 +Build-Type: Simple + +Flag small_base + Description: Choose the new, split-up base package. + +Library + Build-Depends: + base < 5 && >= 3 + + GHC-Options: + -Wall + + Hs-Source-Dirs: + src + + Exposed-Modules: + M + diff --git a/Package.lkshw b/Package.lkshw new file mode 100644 index 0000000..f50051d --- /dev/null +++ b/Package.lkshw @@ -0,0 +1,10 @@ +Version of workspace file format: + 1 +Time of storage: + "Mon Jan 10 08:54:11 EST 2011" +Name of the workspace: + "Package" +File paths of contained packages: + ["Package.cabal"] +Maybe file path of an active package: + Just "Package.cabal" diff --git a/Setup.hs b/Setup.hs new file mode 100644 index 0000000..200a2e5 --- /dev/null +++ b/Setup.hs @@ -0,0 +1,3 @@ +import Distribution.Simple +main = defaultMain + diff --git a/src/M.hs b/src/M.hs new file mode 100644 index 0000000..99e9a06 --- /dev/null +++ b/src/M.hs @@ -0,0 +1,2 @@ +module M where +