<commit_before>namespace $ {

	export function $mol_atom2_prop< Host , Value >(
		obj? : Host ,
		name? : string ,
		descr? : TypedPropertyDescriptor< ( next? : Value )=> Value >
	) {

		const value = descr.value
		const store = new WeakMap< Object , $mol_atom2<Value> >()
		
		descr.value = function $mol_mem_prop_value( next? : Value ) {
			const host : Host = this
		
			let atom : $mol_atom2<Value> = store.get( host )
			if( !atom ) {
				
				atom = new $mol_atom2<Value>(
					`${ host }.${ name }()` ,
					value.bind( host ) ,
					()=> store.delete( host ) ,
				)

				store.set( host , atom )
			}

			return atom.value( next )
		}
		
		Object.defineProperty( obj , name + "()" , { get : function() { return store.get( this ) } } )

		descr.value[ 'value' ] = value
	}
	
}<commit_msg>$mol_atom2: Fixed name internal func<commit_after>namespace $ {

	export function $mol_atom2_prop< Host , Value >(
		obj? : Host ,
		name? : string ,
		descr? : TypedPropertyDescriptor< ( next? : Value )=> Value >
	) {

		const value = descr.value
		const store = new WeakMap< Object , $mol_atom2<Value> >()
		
		descr.value = function $mol_atom2_prop_value( next? : Value ) {
			const host : Host = this
		
			let atom : $mol_atom2<Value> = store.get( host )
			if( !atom ) {
				
				atom = new $mol_atom2<Value>(
					`${ host }.${ name }()` ,
					value.bind( host ) ,
					()=> store.delete( host ) ,
				)

				store.set( host , atom )
			}

			return atom.value( next )
		}
		
		Object.defineProperty( obj , name + "()" , { get : function() { return store.get( this ) } } )

		descr.value[ 'value' ] = value
	}
	
}
{'fraction_non_alphanumeric': 0.15955473098330242, 'fraction_numerical': 0.006184291898577613, 'mean_word_length': 2.6196868008948546, 'pattern_counts': {'":': 0, '<': 15, '<?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': '7013261', 'n_tokens_mistral': 703, 'n_tokens_neox': 566, 'n_words': 136}