<commit_before>1. 

stack new simpleBuild yesod-sqlite && cd simpleBuild
stack build
stack exec -- yesod devel 

failed with Error yesod has been compiled with a different version
please re-install yesod-bin

but it also said: 

Warning: The package list for 'hackage.haskell.org' is 15 days old.
Run 'cabal update' to get the latest list of available packages.

so I am doing that and retrying... 

same yesod problem... 

2.

stack new fullBuild yesod-sqlite && cd simpleBuild
stack build yesod-bin cabal-install --install-ghc
stack exec -- yesod devel 

THIS WORKS AND DEVEL WILL RELOAD WHEN FILES CHANGE TO RECOMPILE

and there's a note in DevelMain.hs talking about how to get "foreign" cabal 
to work, with a link to here: https://github.com/yesodweb/yesod/wiki/ghci

3. 

stack new fullBuild2 yesod-sqlite && cd fullBuild2
stack build
stack exec -- yesod devel
fails with yesod version difference
stack build yesod-bin cabal-install --install-ghc
stack exec -- yesod devel
WORKS but builds full app after discovering it's been invoked
- what is stack build doing for us then? building something else?

ok, so 
stack clean -- removes build
stack build -- full build
stack clean -- removes what we just built
stack build -- full build

4. Let's trim fullbuild2 so it's just a one file hello world thing<commit_msg>Got HelloWorld.hs to run with stack runghc<commit_after>1. 

stack new simpleBuild yesod-sqlite && cd simpleBuild
stack build
stack exec -- yesod devel 

failed with Error yesod has been compiled with a different version
please re-install yesod-bin

but it also said: 

Warning: The package list for 'hackage.haskell.org' is 15 days old.
Run 'cabal update' to get the latest list of available packages.

so I am doing that and retrying... 

same yesod problem... 

2.

stack new fullBuild yesod-sqlite && cd simpleBuild
stack build yesod-bin cabal-install --install-ghc
stack exec -- yesod devel 

THIS WORKS AND DEVEL WILL RELOAD WHEN FILES CHANGE TO RECOMPILE

and there's a note in DevelMain.hs talking about how to get "foreign" cabal 
to work, with a link to here: https://github.com/yesodweb/yesod/wiki/ghci

3. 

stack new fullBuild2 yesod-sqlite && cd fullBuild2
stack build
stack exec -- yesod devel
fails with yesod version difference
stack build yesod-bin cabal-install --install-ghc
stack exec -- yesod devel
WORKS but builds full app after discovering it's been invoked
- what is stack build doing for us then? building something else?

ok, so 
stack clean -- removes build
stack build -- full build
stack clean -- removes what we just built
stack build -- full build

4. Let's trim ch so it's just a one file hello world thing

5. hold on, does yesod-minimum just NEVER work?
stack new min yesod-minimal && cd min
stack build yesod-bin cabal-install --install-ghc
-- rather than 108 packages it only needs 76
-- and totally fails on step 3/76 with network situation

6. OMG I got HelloWorld.hs to run to http://localhost:3000

stack new sqlitetest yesod-sqlite && cd sqlitetest
stack build yesod-bin cabal-install --install-ghc
copy ..\HelloWorld.hs .
stack runghc HelloWorld.hs
Standard out after loading the page: 

C:\Users\brodyberg\Documents\GitHub\LearnHaskell\Web\sqlitetest>stack runghc HelloWorld.hs
23/Dec/2016:20:36:49 -0500 [Info#yesod-core] Application launched @(yesod_Ff7lgJgHM5KJPC94CGVu3M:Yesod.Core.Dispatch .\Yesod\Core\Dispatch.hs:165:11)
127.0.0.1 - - [23/Dec/2016:20:37:15 -0500] "GET / HTTP/1.1" 200 83 "" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/55.0.2883.87 Safari/537.36"
{'fraction_non_alphanumeric': 0.07657909446618222, 'fraction_numerical': 0.03186137506987144, 'mean_word_length': 3.78475935828877, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 4, 'https://': 2, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 1, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '3341203', 'n_tokens_mistral': 1227, 'n_tokens_neox': 1113, 'n_words': 485}