Jump to content

Functional coverage tree: Difference between revisions

m
(Added Perl 6 example)
Line 345:
=={{header|Haskell}}==
Using a function from a text outline to an updated text outline.
 
 
The raw table (supplied in the task description) is read in from a text file, parsed to a tree structure, and updated by two traversals (one bottom-up and one top down) before being serialised back to a completed outline text, with an additional 'Share of Residue' column:
Line 537 ⟶ 536:
wine_cellar | 1 | 1.0000 | 0.0000
cinema | 1 | 0.7500 | 0.0167 </pre>
 
 
 
=={{header|J}}==
9,655

edits

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