<commit_before>{-# LANGUAGE StandaloneDeriving, DeriveFunctor, TemplateHaskell, FlexibleContexts #-}

module StackIdeM (
  VersionInfo(..)
, module StackIdeM
) where

import Control.Monad.Free
import Control.Monad.Free.TH (makeFree)
import Data.Text (Text)

import Stack.Ide.JsonAPI

deriving instance Show VersionInfo
deriving instance Eq VersionInfo

type Directory = Text

data StackIde next
  = CreateSession Directory next
  | GetVersion (VersionInfo -> next)
  deriving Functor
<commit_msg>Remove standalone deriving now PR is in<commit_after>{-# LANGUAGE DeriveFunctor, TemplateHaskell, FlexibleContexts #-}

module StackIdeM (
  VersionInfo(..)
, module StackIdeM
) where

import Control.Monad.Free
import Control.Monad.Free.TH (makeFree)
import Data.Text (Text)

import Stack.Ide.JsonAPI

type Directory = Text

data StackIde next
  = CreateSession Directory next
  | GetVersion (VersionInfo -> next)
  deriving Functor

{'fraction_non_alphanumeric': 0.08073196986006459, 'fraction_numerical': 0.0, 'mean_word_length': 5.0, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 5, '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': '5414875', 'n_tokens_mistral': 305, 'n_tokens_neox': 286, 'n_words': 85}