<commit_before>
#include "yacas/yacasprivate.h"
#include "yacas/lispenvironment.h"
#include "yacas/standard.h"
#include "yacas/lispeval.h"
#include "yacas/errors.h"
#include "yacas/infixparser.h"

#include <stdio.h>

void ShowStack(LispEnvironment& aEnvironment)
{
    aEnvironment.iEvaluator->ShowStack(aEnvironment,
                                       aEnvironment.iErrorOutput);
}

void ShowFunctionError(LispPtr& aArguments,
                       LispEnvironment& aEnvironment)
{
    if (const LispString * string = aArguments->String())
        aEnvironment.iErrorOutput << "In function \"" << *string << "\" : \n";
}

void ShowArgTypeErrorInfo(LispInt aArgNr, LispPtr& aArguments, LispEnvironment& aEnvironment)
{
    ShowStack(aEnvironment);<commit_msg>minor cleanup<commit_after>
#include "yacas/yacasprivate.h"
#include "yacas/lispenvironment.h"
#include "yacas/standard.h"
#include "yacas/lispeval.h"
#include "yacas/errors.h"
#include "yacas/infixparser.h"

void ShowStack(LispEnvironment& aEnvironment)
{
    aEnvironment.iEvaluator->ShowStack(aEnvironment,
                                       aEnvironment.iErrorOutput);
}

void ShowFunctionError(LispPtr& aArguments,
                       LispEnvironment& aEnvironment)
{
    if (const LispString * string = aArguments->String())
        aEnvironment.iErrorOutput << "In function \"" << *string << "\" : \n";
}

void ShowArgTypeErrorInfo(LispInt aArgNr, LispPtr& aArguments, LispEnvironment& aEnvironment)
{
    ShowStack(aEnvironment);
{'fraction_non_alphanumeric': 0.1220159151193634, 'fraction_numerical': 0.0, 'mean_word_length': 3.686335403726708, 'pattern_counts': {'":': 0, '<': 16, '<?xml version=': 0, '>': 8, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 2, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '4175872', 'n_tokens_mistral': 503, 'n_tokens_neox': 490, 'n_words': 84}