<commit_before>module Y2016.M10.D05.Exercise where

-- Below imports available from cabal (snap-templates)

{--

If you do use the Snap framework, follow their guidance on building and 
deploying a web service

import           Snap.Core
import           Snap.Util.FileServe
import           Snap.Http.Server
--}

-- Below modules available from 1HaskellADay git repository

import Data.BlockChain.Block.Transactions (Transaction)
import Data.BlockChain.Block.Types (Hash)
import Data.Tree.Merkle (MerkleTree)

{--<commit_msg>added the import to get the latest transactions to build the Merkle tree<commit_after>module Y2016.M10.D05.Exercise where

-- Below imports available from cabal (snap-templates)

{--

If you do use the Snap framework, follow their guidance on building and 
deploying a web service

import           Snap.Core
import           Snap.Util.FileServe
import           Snap.Http.Server
--}

-- Below modules available from 1HaskellADay git repository

import Data.BlockChain.Block.Transactions (Transaction)
import Data.BlockChain.Block.Types (Hash)
import Data.Tree.Merkle (MerkleTree)

import Y2016.M09.D22.Exercise (latestTransactions)

{--
{'fraction_non_alphanumeric': 0.0765262252794497, 'fraction_numerical': 0.02235597592433362, 'mean_word_length': 3.5826771653543306, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, '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': '5922703', 'n_tokens_mistral': 364, 'n_tokens_neox': 341, 'n_words': 111}