Jump to content

Functional coverage tree: Difference between revisions

(→‎{{header|Haskell}}: Added a Haskell draft.)
Line 347:
 
 
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:
{{Trans|Python}}
<lang haskell>{-# LANGUAGE OverloadedStrings #-}
9,655

edits

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