<commit_before>(*  Title:      HOL/W0/W0.thy
    ID:         $Id$
    Author:     <NAME>, <NAME>, <NAME>, and <NAME>
    License:    GPL (GNU GENERAL PUBLIC LICENSE)
*)

theory W0 = Main:

section {* Universal error monad *}

datatype 'a maybe = Ok 'a | Fail

constdefs
  bind :: "'a maybe \<Rightarrow> ('a \<Rightarrow> 'b maybe) \<Rightarrow> 'b maybe"    (infixl "\<bind>" 60)<commit_msg>tuned;<commit_after>(*  Title:      HOL/W0/W0.thy
    ID:         $Id$
    Author:     <NAME>, <NAME>, <NAME>, <NAME>
    License:    GPL (GNU GENERAL PUBLIC LICENSE)
*)

theory W0 = Main:

section {* Universal error monad *}

datatype 'a maybe = Ok 'a | Fail

constdefs
  bind :: "'a maybe \<Rightarrow> ('a \<Rightarrow> 'b maybe) \<Rightarrow> 'b maybe"    (infixl "\<bind>" 60)
{'fraction_non_alphanumeric': 0.16946959896507116, 'fraction_numerical': 0.0129366106080207, 'mean_word_length': 2.87, 'pattern_counts': {'":': 0, '<': 19, '<?xml version=': 0, '>': 19, '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': '303761', 'n_tokens_mistral': 307, 'n_tokens_neox': 277, 'n_words': 88}