<commit_before>#include "print.h"
void print_pair(object *pair) {
    object *car_obj;
    object *cdr_obj;
    
    car_obj = car(pair);
    cdr_obj = cdr(pair);
    print(car_obj);
    if (cdr_obj->obj_type == PAIR) {
        printf(" ");
        print_pair(cdr_obj);
    }
    else if (cdr_obj->obj_type == EMPTY_LIST) {
        return;
    }
    else {
        printf(" . ");
        print(cdr_obj);
    }
}

void print(object *obj) {
    char c;
    char *str;
    
    switch (obj->obj_type) {
        case EMPTY_LIST:<commit_msg>print adjusted for if statements without an else<commit_after>#include "print.h"
void print_pair(object *pair) {
    object *car_obj;
    object *cdr_obj;
    car_obj = car(pair);
    cdr_obj = cdr(pair);
    print(car_obj);
    if (cdr_obj->obj_type == PAIR) {
        printf(" ");
        print_pair(cdr_obj);
    }
    else if (cdr_obj->obj_type == EMPTY_LIST) {
        return;
    }
    else {
        printf(" . ");
        print(cdr_obj);
    }
}

void print(object *obj) {
    char c;
    char *str;
    //printf("\nprinting..\n");
    switch (obj->obj_type) {
        case EMPTY_LIST:
{'fraction_non_alphanumeric': 0.14437555358724535, 'fraction_numerical': 0.0, 'mean_word_length': 2.165266106442577, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 9, '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': '6218574', 'n_tokens_mistral': 428, 'n_tokens_neox': 426, 'n_words': 83}