<commit_before>import leon._
import leon.lang._
import leon.annotation._
import leon.collection._

/*
 * Implementation of Binomial Heap based on "Purely Functionnal Data Structure, Okasaki, P68+"
 * @author <NAME>
 * @author <NAME>
 */

sealed abstract class BinomialHeapBI {

	def isEmpty: Boolean = this match {
		case BHList(Nil()) => true
		case _ => false
	}
	def isDefined: Boolean = !this.isEmpty
<commit_msg>comment<commit_after>import leon._
import leon.lang._
import leon.annotation._
import leon.collection._

/*
 * Implementation of Binomial Heap based on "Purely Functionnal Data Structure, Okasaki, P68+"
 * @author <NAME>
 * @author <NAME>
 */

//to use T : add a mapping from T to BigInt

sealed abstract class BinomialHeapBI {

	def isEmpty: Boolean = this match {
		case BHList(Nil()) => true
		case _ => false
	}
	def isDefined: Boolean = !this.isEmpty

{'fraction_non_alphanumeric': 0.10652920962199312, 'fraction_numerical': 0.004581901489117984, 'mean_word_length': 4.0520231213872835, 'pattern_counts': {'":': 0, '<': 7, '<?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': '6607727', 'n_tokens_mistral': 300, 'n_tokens_neox': 281, 'n_words': 94}