<commit_before>(ns random.learning.clojure.usetheoverridexns
  (:refer-clojure :exclude [sorted?])
  (:use [random.learning.clojure.overridex])
  (:refer-clojure :exclude [sorted?])
  ;(:require [random.learning.clojure.overridex])
  )

(println clojure.core/*ns*)
;the following only works if pasted in REPL, cause ccw seems to be loading clojure.core after executing this file
(clojure.core/map 
  #(clojure.core/ns-unmap clojure.core/*ns* %)
  (clojure.core/keys 
    (clojure.core/ns-publics 'clojure.core)
    )
  )

(require '[clojure.core :as cc])
;require
;(refer '[clojure.core :as cc])

(and 
  (= false (sorted? '(1 2)))
  (= true (sorted? (sorted-set 1 2))))

;;
;; Clojure 1.5.0-RC16
;; Switching to random.learning.clojure.usetheoverridexns namespace
;#<Namespace random.learning.clojure.usetheoverridexns>
;true
;IllegalStateException sorted? already refers to: #'random.learning.clojure.overridex/sorted? in namespace: random.learning.clojure.usetheoverridexns  clojure.lang.Namespace.warnOrFailOnReplace (Namespace.java:88)
;=> cc/*ns*
;CompilerException java.lang.RuntimeException: No such namespace: cc, compiling:(NO_SOURCE_PATH:1:42) 

<commit_msg>in-ns good but ccw doesn't recognize it as a namespace so fail<commit_after>;not bad, but ccw functionality lost: switching to this namespace(on load and on demand)
(clojure.core/in-ns 'random.learning.clojure.usetheoverridexns)
(clojure.core/require '[clojure.core :as cc])

;  (:refer-clojure :exclude [sorted?])
  (cc/use '[random.learning.clojure.overridex])
  ;(:refer-clojure :exclude [sorted?])
  ;(:require [random.learning.clojure.overridex])
  ;)

(cc/println clojure.core/*ns*)
;the following only works if pasted in REPL, cause ccw seems to be loading clojure.core after executing this file
#_(clojure.core/map 
  #(clojure.core/ns-unmap clojure.core/*ns* %)
  (clojure.core/keys 
    (clojure.core/ns-publics 'clojure.core)
    )
  )

;require
;(refer '[clojure.core :as cc])

(cc/and 
  (cc/= false (sorted? '(1 2)))
  (cc/= true (sorted? (cc/sorted-set 1 2))))

;;
;; Clojure 1.5.0-RC16
;; Switching to random.learning.clojure.usetheoverridexns namespace
;#<Namespace random.learning.clojure.usetheoverridexns>
;true
;IllegalStateException sorted? already refers to: #'random.learning.clojure.overridex/sorted? in namespace: random.learning.clojure.usetheoverridexns  clojure.lang.Namespace.warnOrFailOnReplace (Namespace.java:88)
;=> cc/*ns*
;CompilerException java.lang.RuntimeException: No such namespace: cc, compiling:(NO_SOURCE_PATH:1:42) 


{'fraction_non_alphanumeric': 0.14274509803921567, 'fraction_numerical': 0.010980392156862745, 'mean_word_length': 4.905092592592593, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 7, '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': '6534427', 'n_tokens_mistral': 967, 'n_tokens_neox': 937, 'n_words': 199}