You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
fromList and fromListWith are optimized to use contained in-place mutation via unsafeInsert(With).
If the data to be inserted requires side-effects (like e.g. reading lines from /dev/stdin w/o resorting to lazy I/O), an unfoldM-style generalization might be useful.
This has been suggested by @tibbe:
fromList
andfromListWith
are optimized to use contained in-place mutation viaunsafeInsert(With)
.If the data to be inserted requires side-effects (like e.g. reading lines from
/dev/stdin
w/o resorting to lazy I/O), anunfoldM
-style generalization might be useful.(somewhat related: haskell/vector#8)
The text was updated successfully, but these errors were encountered: