Tree from nesting levels: Difference between revisions
m
→{{header|Haskell}}
Line 364:
where
go Nothing xs = concat xs
go (Just x) xs = x :
forestFromNestLevels :: [(Int, a)] -> Forest a
|