Tree data structure in Haskell in the context of parallel scan on GPUs | Hacker News Reader