Functional coverage tree: Difference between revisions
→{{header|Haskell}}
(→{{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 #-}
|