<commit_before><commit_msg>Examples for Natural Transformations (WIP)<commit_after>-- | Examples for Natural Transformations

{-# LANGUAGE RankNTypes         #-}
{-# LANGUAGE StandaloneDeriving #-}

module NaturalTransformations where

import Text.Show.Functions ()

newtype NT f g = NT { runNT :: forall a. f a -> g a }
deriving instance Show (NT f g)

newtype ForLift f a = ForLift { getForLift :: a }
{'fraction_non_alphanumeric': 0.10421836228287841, 'fraction_numerical': 0.0, 'mean_word_length': 3.9876543209876543, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 4, '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': '1519180', 'n_tokens_mistral': 133, 'n_tokens_neox': 129, 'n_words': 43}