/  31
 
 
Stream Fusion for Haskell Arrays
Don StewartGalois Inc
 
 
Haskell's Data Types
Beautiful algebraic data types:
data Set a= Tip| Bin !Int a !(Set a) !(Set a)
Concise notation, inductive reasoning, type math!
Polymorphic, strongly typed, side effect free
Efficient. GCd. Strict, or lazy, or roll your own
Pointers, pointers...
 
 
But for real speed...
Sometimes we need unboxed, flat structures:

Share & Embed

More from this user

Add a Comment

Characters: ...

earlleft a comment

Better arrays in haskell... *finally* Stream Fusion for Haskell Arrays