{"name": "project", "children": [{"name": "app", "children": [{"name": "Main.hs", "contents": "{- You can edit and run this code. -}\n\nmodule Main where\n\nmain :: IO ()\nmain = putStrLn (\"Hello world!\")\n", "is_main_file": true}]}, {"name": "src", "children": [{"name": "Lib.hs", "contents": "module Lib\n ( someFunc\n ) where\n\nsomeFunc :: IO ()\nsomeFunc = putStrLn \"Hello world!\"\n"}]}, {"name": "test", "children": [{"name": "Spec.hs", "contents": "main :: IO ()\nmain = putStrLn \"Test suite not yet implemented\"\n"}]}, {"name": "CHANGELOG.md", "contents": "# Changelog for `proj-haskell`\n\nAll notable changes to this project will be documented in this file.\n\nThe format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),\nand this project adheres to the\n[Haskell Package Versioning Policy](https://pvp.haskell.org/).\n\n## Unreleased\n\n## 0.1.0.0 - YYYY-MM-DD\n"}, {"name": "LICENSE", "contents": "Copyright 2024 Author name here\n\nRedistribution and use in source and binary forms, with or without\nmodification, are permitted provided that the following conditions are met:\n\n1. Redistributions of source code must retain the above copyright notice, this\n list of conditions and the following disclaimer.\n\n2. Redistributions in binary form must reproduce the above copyright notice,\n this list of conditions and the following disclaimer in the documentation\n and/or other materials provided with the distribution.\n\n3. Neither the name of the copyright holder nor the names of its contributors\n may be used to endorse or promote products derived from this software\n without specific prior written permission.\n\nTHIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS \"AS IS\" AND\nANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED\nWARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE\nDISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR\nANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES\n(INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;\nLOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON\nANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT\n(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS\nSOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.\n"}, {"name": "README.md", "contents": "# Playground-\u043f\u0440\u043e\u0435\u043a\u0442 Haskell\n"}, {"name": "Setup.hs", "contents": "import Distribution.Simple\nmain = defaultMain\n"}, {"name": "package.yaml", "contents": "name: user-code\nversion: 0.1.0.0\ngithub: \"githubuser/user-code\"\nlicense: BSD-3-Clause\nauthor: \"Author name here\"\nmaintainer: \"example@example.com\"\ncopyright: \"2024 Author name here\"\n\nextra-source-files:\n- README.md\n- CHANGELOG.md\n\n# Metadata used when publishing your package\n# synopsis: Short description of your package\n# category: Web\n\n# To avoid duplicated efforts in documentation and dealing with the\n# complications of embedding Haddock markup inside cabal files, it is\n# common to point users to the README.md file.\ndescription: Please see the README on GitHub at <https://github.com/githubuser/user-code#readme>\n\ndependencies:\n- base >= 4.7 && < 5\n- tuple\n- text\n\nghc-options:\n- -Wall\n- -Wcompat\n- -Widentities\n- -Wincomplete-record-updates\n- -Wincomplete-uni-patterns\n- -Wmissing-export-lists\n- -Wmissing-home-modules\n- -Wpartial-fields\n- -Wredundant-constraints\n\nlibrary:\n source-dirs: src\n\nexecutables:\n user-code-exe:\n main: Main.hs\n source-dirs: app\n ghc-options:\n - -threaded\n - -rtsopts\n - -with-rtsopts=-N\n dependencies:\n - user-code\n\ntests:\n user-code-test:\n main: Spec.hs\n source-dirs: test\n ghc-options:\n - -threaded\n - -rtsopts\n - -with-rtsopts=-N\n dependencies:\n - user-code\n"}, {"name": "stack.yaml", "contents": "# This file was automatically generated by 'stack init'\n#\n# Some commonly used options have been documented as comments in this file.\n# For advanced use and comprehensive documentation of the format, please see:\n# https://docs.haskellstack.org/en/stable/yaml_configuration/\n\n# Resolver to choose a 'specific' stackage snapshot or a compiler version.\n# A snapshot resolver dictates the compiler version and the set of packages\n# to be used for project dependencies. For example:\n#\n# resolver: lts-22.7\n# resolver: nightly-2024-01-20\n# resolver: ghc-9.6.4\n#\n# The location of a snapshot can be provided as a file or url. Stack assumes\n# a snapshot provided as a file might change, whereas a url resource does not.\n#\n# resolver: ./custom-snapshot.yaml\n# resolver: https://example.com/snapshots/2023-01-01.yaml\nresolver:\n url: https://raw.githubusercontent.com/commercialhaskell/stackage-snapshots/master/lts/22/28.yaml\n\n# User packages to be built.\n# Various formats can be used as shown in the example below.\n#\n# packages:\n# - some-directory\n# - https://example.com/foo/bar/baz-0.0.2.tar.gz\n# subdirs:\n# - auto-update\n# - wai\npackages:\n- .\n# Dependency packages to be pulled from upstream that are not in the resolver.\n# These entries can reference officially published versions as well as\n# forks / in-progress versions pinned to a git hash. For example:\n#\n# extra-deps:\n# - acme-missiles-0.3\n# - git: https://github.com/commercialhaskell/stack.git\n# commit: e7b331f14bcffb8367cd58fbfc8b40ec7642100a\n#\n# extra-deps: []\n\n# Override default flag values for local packages and extra-deps\n# flags: {}\n\n# Extra package databases containing global packages\n# extra-package-dbs: []\n\n# Control whether we use the GHC we find on the path\n# system-ghc: true\n#\n# Require a specific version of Stack, using version ranges\n# require-stack-version: -any # Default\n# require-stack-version: \">=2.15\"\n#\n# Override the architecture used by Stack, especially useful on Windows\n# arch: i386\n# arch: x86_64\n#\n# Extra directories used by Stack for building\n# extra-include-dirs: [/path/to/dir]\n# extra-lib-dirs: [/path/to/dir]\n#\n# Allow a newer minor version of GHC than the snapshot specifies\n# compiler-check: newer-minor\n"}]}