<commit_before>doc "A sequence with no elements. The type of the expression
     `{}`."
see (Sequence)
shared interface Empty
           satisfies List<Bottom> & None<Bottom> &
                     Ranged<Integer,Empty> &
                     Cloneable<Empty> {

    doc "Returns 0."
    shared actual Integer size { return 0; }

    doc "Returns an iterator that is already exhausted."
    shared actual Iterator<Bottom> iterator {
        return emptyIterator;
    }

    doc "Returns `null` for any given key."
    shared actual Nothing item(Integer key) {
        return null;
    }

    doc "Returns an `Empty` for any given segment."
    shared actual Empty segment(Integer from, Integer length) {
        return this;
    }

    doc "Returns an `Empty` for any given span."
    shared actual Empty span(Integer from, Integer? to) {
        return this;
    }

    doc "Returns an `Empty`."
    shared actual Empty reversed {
	    return this;
    }

    doc "Returns a string description of the empty List: `{}`."
    shared actual String string {
        return "{}";
    }
    doc "Returns `null`."
    shared actual Nothing lastIndex { return null; }

    //shared actual Empty rest { return this; }

    doc "Returns an `Empty`."
    shared actual Empty clone {
        return this;
    }

    doc "Returns `false` for any given element."
    shared actual Boolean contains(Object element) {
        return false;
    }

    doc "Returns 0 for any given element."
    shared actual Integer count(Object element) {
        return 0;
    }

    shared actual Boolean defines(Integer index) {
        return false;
    }

    shared actual Empty map<Result>(Result selecting(Object element)) {
        return this;
    }
    shared actual Empty filter(Boolean selecting(Object element)) {
        return this;
    }
    shared actual Result fold<Result>(Result initial,
            Result accumulating(Result partial, Object element)) {
        return initial;
    }
    shared actual Object? find(Boolean selecting(Object element)) {
        return null;
    }
    shared actual Empty sorted(Comparison? comparing(Object a, Object b)) {
        return this;
    }
    shared actual Boolean any(Boolean selecting(Object element)) {
        return false;
    }
    shared actual Boolean every(Boolean selecting(Object element)) {
        return false;
    }
    shared actual Empty skipping(Integer skip) {
        return this;
    }
    shared actual Empty taking(Integer take) {<commit_msg>fix operation types<commit_after>doc "A sequence with no elements. The type of the expression
     `{}`."
see (Sequence)
shared interface Empty
           satisfies List<Bottom> & None<Bottom> &
                     Ranged<Integer,Empty> &
                     Cloneable<Empty> {

    doc "Returns 0."
    shared actual Integer size { return 0; }

    doc "Returns an iterator that is already exhausted."
    shared actual Iterator<Bottom> iterator {
        return emptyIterator;
    }

    doc "Returns `null` for any given key."
    shared actual Nothing item(Integer key) {
        return null;
    }

    doc "Returns an `Empty` for any given segment."
    shared actual Empty segment(Integer from, Integer length) {
        return this;
    }

    doc "Returns an `Empty` for any given span."
    shared actual Empty span(Integer from, Integer? to) {
        return this;
    }

    doc "Returns an `Empty`."
    shared actual Empty reversed {
	    return this;
    }

    doc "Returns a string description of the empty List: `{}`."
    shared actual String string {
        return "{}";
    }
    doc "Returns `null`."
    shared actual Nothing lastIndex { return null; }

    //shared actual Empty rest { return this; }

    doc "Returns an `Empty`."
    shared actual Empty clone {
        return this;
    }

    doc "Returns `false` for any given element."
    shared actual Boolean contains(Object element) {
        return false;
    }

    doc "Returns 0 for any given element."
    shared actual Integer count(Object element) {
        return 0;
    }

    shared actual Boolean defines(Integer index) {
        return false;
    }

    shared actual Empty map<Result>(Result selecting(Bottom element)) {
        return this;
    }
    shared actual Empty filter(Boolean selecting(Bottom element)) {
        return this;
    }
    shared actual Result fold<Result>(Result initial,
            Result accumulating(Result partial, Bottom element)) {
        return initial;
    }
    shared actual Nothing find(Boolean selecting(Bottom element)) {
        return null;
    }
    shared actual Empty sorted(Comparison? comparing(Bottom a, Bottom b)) {
        return this;
    }
    shared actual Boolean any(Boolean selecting(Bottom element)) {
        return false;
    }
    shared actual Boolean every(Boolean selecting(Bottom element)) {
        return false;
    }
    shared actual Empty skipping(Integer skip) {
        return this;
    }
    shared actual Empty taking(Integer take) {
{'fraction_non_alphanumeric': 0.08213429256594725, 'fraction_numerical': 0.0015987210231814548, 'mean_word_length': 2.3658372562205785, 'pattern_counts': {'":': 0, '<': 17, '<?xml version=': 0, '>': 17, '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': '2248144', 'n_tokens_mistral': 1314, 'n_tokens_neox': 1247, 'n_words': 502}