[Haskell-cafe] Lazy vs Strict ByteStrings
alex at kazik.de
Thu Mar 16 08:47:08 UTC 2017
> Obviously, this is not exclusive to ByteString. Using the same name for
> strict and lazy versions is all over the place. Here is another example:
HashMaps and Maps lazy and strict do have the same type! Only the
function which work on them are different.
Yes, you can use a Data.HashMap.Lazy.HashMap with the
Text however has a different type for lazy and strict (like ByteString).
And yes, I agree that it's confusing.
More information about the Haskell-Cafe