stream-fusion Questions
2
Solved
Every now and again I have been noticing the following in Haskell documentation:
(for example in Data.Text):
Subject to fusion
What is fusion and how do I use it?
Comity asked 11/8, 2016 at 20:17
0
I have implemented a simple L1 distance calculator using Haskell. Since I am interested in performance I used unboxed vectors to store the images to compare.
calculateL1Distance :: LabeledImage -&...
Reporter asked 9/5, 2017 at 9:55
2
Solved
The following code unexpectedly (at least for me) produces an intermediate vector:
import qualified Data.Vector as Vector
main :: IO ()
main =
print (test n)
n :: Int
n = 1000000
test :: Int -...
Mathre asked 18/3, 2016 at 23:28
1
Solved
I'm interested in creating a new Haskell container type (strict lists), and I want to make sure that operations on them are eligible for stream fusion. How do I opt-in to ghc's stream fusion capabi...
Wildon asked 3/12, 2014 at 5:16
1
© 2022 - 2024 — McMap. All rights reserved.