# HG changeset patch # User Jeff Hammel # Date 1514147847 28800 # Node ID 3fcf9e52cbfad12025c388e133b578598731bbd5 # Parent 6fa43276f012d90ea27ead552f0e75bee2871d20 boilerplate generated with `stack new` diff -r 6fa43276f012 -r 3fcf9e52cbfa jotto/.gitignore --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/jotto/.gitignore Sun Dec 24 12:37:27 2017 -0800 @@ -0,0 +1,3 @@ +.stack-work/ +jotto.cabal +*~ \ No newline at end of file diff -r 6fa43276f012 -r 3fcf9e52cbfa jotto/ChangeLog.md --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/jotto/ChangeLog.md Sun Dec 24 12:37:27 2017 -0800 @@ -0,0 +1,3 @@ +# Changelog for jotto + +## Unreleased changes diff -r 6fa43276f012 -r 3fcf9e52cbfa jotto/LICENSE --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/jotto/LICENSE Sun Dec 24 12:37:27 2017 -0800 @@ -0,0 +1,30 @@ +Copyright Jeff Hammel (c) 2017 + +All rights reserved. + +Redistribution and use in source and binary forms, with or without +modification, are permitted provided that the following conditions are met: + + * Redistributions of source code must retain the above copyright + notice, this list of conditions and the following disclaimer. + + * 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. + + * Neither the name of Author name here nor the names of other + contributors may be used to endorse or promote products derived + from this software without specific prior written permission. + +THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS 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 COPYRIGHT +OWNER 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 -r 6fa43276f012 -r 3fcf9e52cbfa jotto/README.md --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/jotto/README.md Sun Dec 24 12:37:27 2017 -0800 @@ -0,0 +1,3 @@ +# jotto + +https://en.wikipedia.org/wiki/Jotto \ No newline at end of file diff -r 6fa43276f012 -r 3fcf9e52cbfa jotto/Setup.hs --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/jotto/Setup.hs Sun Dec 24 12:37:27 2017 -0800 @@ -0,0 +1,2 @@ +import Distribution.Simple +main = defaultMain diff -r 6fa43276f012 -r 3fcf9e52cbfa jotto/app/Main.hs --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/jotto/app/Main.hs Sun Dec 24 12:37:27 2017 -0800 @@ -0,0 +1,8 @@ +-- Jotto main + +module Main where + +import Lib + +main :: IO () +main = someFunc diff -r 6fa43276f012 -r 3fcf9e52cbfa jotto/jotto.cabal --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/jotto/jotto.cabal Sun Dec 24 12:37:27 2017 -0800 @@ -0,0 +1,55 @@ +-- This file has been generated from package.yaml by hpack version 0.14.1. +-- +-- see: https://github.com/sol/hpack + +name: jotto +version: 0.1.0.0 +synopsis: jotto word game +description: Play Jotto in Haskell! +homepage: https://github.com/k0s/wordplay#readme +bug-reports: https://github.com/k0s/wordplay/issues +author: Jeff Hammel +maintainer: k0scist@gmail.com +copyright: 2017 Jeff Hammel +license: BSD3 +license-file: LICENSE +build-type: Simple +cabal-version: >= 1.10 + +extra-source-files: + ChangeLog.md + README.md + +source-repository head + type: git + location: https://github.com/k0s/wordplay + +library + hs-source-dirs: + src + build-depends: + base >= 4.7 && < 5 + exposed-modules: + Lib + default-language: Haskell2010 + +executable jotto-exe + main-is: Main.hs + hs-source-dirs: + app + ghc-options: -threaded -rtsopts -with-rtsopts=-N + build-depends: + base >= 4.7 && < 5 + , jotto + default-language: Haskell2010 + +test-suite jotto-test + type: exitcode-stdio-1.0 + main-is: Spec.hs + hs-source-dirs: + test + ghc-options: -threaded -rtsopts -with-rtsopts=-N + build-depends: + base >= 4.7 && < 5 + , jotto + default-language: Haskell2010 diff -r 6fa43276f012 -r 3fcf9e52cbfa jotto/package.yaml --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/jotto/package.yaml Sun Dec 24 12:37:27 2017 -0800 @@ -0,0 +1,48 @@ +name: jotto +version: 0.1.0.0 +github: "k0s/wordplay" +license: BSD3 +author: "Jeff Hammel" +maintainer: "k0scist@gmail.com" +copyright: "2017 Jeff Hammel" + +extra-source-files: +- README.md +- ChangeLog.md + +# Metadata used when publishing your package +synopsis: Short description of your package +# category: Web + +# To avoid duplicated efforts in documentation and dealing with the +# complications of embedding Haddock markup inside cabal files, it is +# common to point users to the README.md file. +description: Please see the README on Github at + +dependencies: +- base >= 4.7 && < 5 + +library: + source-dirs: src + +executables: + jotto-exe: + main: Main.hs + source-dirs: app + ghc-options: + - -threaded + - -rtsopts + - -with-rtsopts=-N + dependencies: + - jotto + +tests: + jotto-test: + main: Spec.hs + source-dirs: test + ghc-options: + - -threaded + - -rtsopts + - -with-rtsopts=-N + dependencies: + - jotto diff -r 6fa43276f012 -r 3fcf9e52cbfa jotto/src/Lib.hs --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/jotto/src/Lib.hs Sun Dec 24 12:37:27 2017 -0800 @@ -0,0 +1,6 @@ +module Lib + ( someFunc + ) where + +someFunc :: IO () +someFunc = putStrLn "someFunc" diff -r 6fa43276f012 -r 3fcf9e52cbfa jotto/test/Spec.hs --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/jotto/test/Spec.hs Sun Dec 24 12:37:27 2017 -0800 @@ -0,0 +1,2 @@ +main :: IO () +main = putStrLn "Test suite not yet implemented"