<commit_before>{-# LANGUAGE DeriveDataTypeable #-}
{-# LANGUAGE DeriveFunctor #-}
{-# LANGUAGE ExistentialQuantification #-}
{-# LANGUAGE RankNTypes #-}
{-# LANGUAGE ScopedTypeVariables #-}
{-# LANGUAGE ViewPatterns #-}
{-# LANGUAGE OverloadedStrings #-}

module Network.Colchis.Transport.TCP (
        TcpTransport
    ,   TcpTransportServer
    ,   tcpTransportServer 
    ,   runTcpTransport
    ,   ParsingError(..)
    ,   TransportError(..)
    )  where

import Data.Bifunctor
import Data.Text
import Data.Aeson
import Data.Aeson.Encode
import Data.IORef
import Data.Typeable
import Control.Applicative
import Control.Monad
import Control.Monad.Trans.Reader
import Control.Monad.Trans.Except
import Control.Monad.Trans.State.Strict
import Control.Concurrent.MVar
import Control.Concurrent.Async
import Control.Concurrent.Conceit
import Network.Socket (close)
import Pipes<commit_msg>some reorderings<commit_after>{-# LANGUAGE DeriveDataTypeable #-}
{-# LANGUAGE DeriveFunctor #-}
{-# LANGUAGE ExistentialQuantification #-}
{-# LANGUAGE RankNTypes #-}
{-# LANGUAGE ScopedTypeVariables #-}
{-# LANGUAGE ViewPatterns #-}
{-# LANGUAGE OverloadedStrings #-}

module Network.Colchis.Transport.TCP (
        TcpTransportServer
    ,   TcpTransport
    ,   tcpTransportServer 
    ,   runTcpTransport
    ,   TransportError(..)
    ,   ParsingError(..)
    )  where

import Data.Bifunctor
import Data.Text
import Data.Aeson
import Data.Aeson.Encode
import Data.IORef
import Data.Typeable
import Control.Applicative
import Control.Monad
import Control.Monad.Trans.Reader
import Control.Monad.Trans.Except
import Control.Monad.Trans.State.Strict
import Control.Concurrent.MVar
import Control.Concurrent.Async
import Control.Concurrent.Conceit
import Network.Socket (close)
import Pipes
{'fraction_non_alphanumeric': 0.10218978102189781, 'fraction_numerical': 0.0, 'mean_word_length': 4.241176470588235, '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': '3088103', 'n_tokens_mistral': 600, 'n_tokens_neox': 593, 'n_words': 114}