Jump to content

Functional coverage tree: Difference between revisions

m
Line 1,386:
 
===Python: Composition of pure functions===
Parsing the task statement text directly to a tree of dictionaries, folding a '''weightedTreeAverage''' function over that tree, and mainlyfurther usingdecorating pre-existingit genericwith functions,a includingtop-down '''foldTree''' andresidue-share '''fmapTree''':traversal.
 
Mainly uses pre-existing generic functions, including '''forestFromLineIndents''', '''foldTree''' and '''fmapTree''':
{{Works with|Python|3.7}}
<lang python>'''Functional coverage tree'''
9,655

edits

Cookies help us deliver our services. By using our services, you agree to our use of cookies.