<commit_before>//
//  ColdSignal.swift
//  ReactiveCocoa
//
//  Created by <NAME> on 2014-06-25.
//  Copyright (c) 2014 GitHub. All rights reserved.
//

import LlamaKit

func doNothing<T>(value: T) {}
func doNothing(error: NSError) {}
func doNothing() {}

/// Represents a stream event.
///
/// Streams must conform to the grammar:
/// `Next* (Error | Completed)?`
public enum Event<T> {
	/// A value provided by the stream.
	case Next(Box<T>)

	/// The stream terminated because of an error.
	case Error(NSError)

	/// The stream successfully terminated.<commit_msg>Hide `doNothing` declarations<commit_after>//
//  ColdSignal.swift
//  ReactiveCocoa
//
//  Created by <NAME> on 2014-06-25.
//  Copyright (c) 2014 GitHub. All rights reserved.
//

import LlamaKit

private func doNothing<T>(value: T) {}
private func doNothing(error: NSError) {}
private func doNothing() {}

/// Represents a stream event.
///
/// Streams must conform to the grammar:
/// `Next* (Error | Completed)?`
public enum Event<T> {
	/// A value provided by the stream.
	case Next(Box<T>)

	/// The stream terminated because of an error.
	case Error(NSError)

	/// The stream successfully terminated.
{'fraction_non_alphanumeric': 0.1465076660988075, 'fraction_numerical': 0.020442930153321975, 'mean_word_length': 3.1666666666666665, 'pattern_counts': {'":': 0, '<': 11, '<?xml version=': 0, '>': 11, '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': '4874366', 'n_tokens_mistral': 413, 'n_tokens_neox': 371, 'n_words': 128}