This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
module T where | |
import TestingData (hello) | |
main :: IO () | |
main = hello "yep" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
flags: {} | |
packages: [] | |
extra-deps: [] | |
resolver: lts-3.4 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$ stack ghci | |
Run from outside a project, using implicit global config | |
Using resolver: lts-3.4 from global config file: /Users/dan/.stack/global/stack.yaml | |
Error parsing targets: The specified targets matched no packages. | |
Perhaps you need to run 'stack init'? |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{-# LANGUAGE OverloadedStrings #-} | |
import Control.Exception (SomeException) | |
import Control.Exception.Lifted (handle) | |
import Control.Monad.IO.Class (liftIO) | |
import Data.Aeson (Value, encode, object, (.=)) | |
import Data.Aeson.Parser (json) | |
import Data.ByteString (ByteString) | |
import Data.Conduit (($$)) | |
import Data.Conduit.Attoparsec (sinkParser) | |
import Network.HTTP.Types (status200, status400) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: HelloSpock | |
version: 0.1.0.0 | |
synopsis: Initial project template from stack | |
description: Please see README.md | |
homepage: http://github.com/githubuser/HelloSpock#readme | |
license: BSD3 | |
license-file: LICENSE | |
author: Example Author Name | |
maintainer: example@example.com | |
copyright: 2010 Author Here |