File tree Expand file tree Collapse file tree 5 files changed +10
-0
lines changed Expand file tree Collapse file tree 5 files changed +10
-0
lines changed Original file line number Diff line number Diff line change @@ -2179,6 +2179,8 @@ toList = G.toList
2179
2179
-- 'fromListN', which will provide the exact space the list requires but will
2180
2180
-- prevent list fusion, or @'force' . 'fromList'@, which will create the
2181
2181
-- vector and then copy it without the superfluous space.
2182
+ --
2183
+ -- @since 0.3
2182
2184
fromList :: [a ] -> Vector a
2183
2185
{-# INLINE fromList #-}
2184
2186
fromList = G. fromList
Original file line number Diff line number Diff line change @@ -2371,6 +2371,8 @@ toList = Bundle.toList . stream
2371
2371
-- 'fromListN', which will provide the exact space the list requires but will
2372
2372
-- prevent list fusion, or @'force' . 'fromList'@, which will create the
2373
2373
-- vector and then copy it without the superfluous space.
2374
+ --
2375
+ -- @since 0.4
2374
2376
fromList :: Vector v a => [a ] -> v a
2375
2377
{-# INLINE fromList #-}
2376
2378
fromList = unstream . Bundle. fromList
Original file line number Diff line number Diff line change @@ -1843,6 +1843,8 @@ toList = G.toList
1843
1843
-- 'fromListN', which will provide the exact space the list requires but will
1844
1844
-- prevent list fusion, or @'force' . 'fromList'@, which will create the
1845
1845
-- vector and then copy it without the superfluous space.
1846
+ --
1847
+ -- @since 0.4
1846
1848
fromList :: Prim a => [a ] -> Vector a
1847
1849
{-# INLINE fromList #-}
1848
1850
fromList = G. fromList
Original file line number Diff line number Diff line change @@ -1890,6 +1890,8 @@ toList = G.toList
1890
1890
-- 'fromListN', which will provide the exact space the list requires but will
1891
1891
-- prevent list fusion, or @'force' . 'fromList'@, which will create the
1892
1892
-- vector and then copy it without the superfluous space.
1893
+ --
1894
+ -- @since 0.4
1893
1895
fromList :: Storable a => [a ] -> Vector a
1894
1896
{-# INLINE fromList #-}
1895
1897
fromList = G. fromList
Original file line number Diff line number Diff line change @@ -1935,6 +1935,8 @@ toList = G.toList
1935
1935
-- 'fromListN', which will provide the exact space the list requires but will
1936
1936
-- prevent list fusion, or @'force' . 'fromList'@, which will create the
1937
1937
-- vector and then copy it without the superfluous space.
1938
+ --
1939
+ -- @since 0.3
1938
1940
fromList :: Unbox a => [a ] -> Vector a
1939
1941
{-# INLINE fromList #-}
1940
1942
fromList = G. fromList
You can’t perform that action at this time.
0 commit comments