Wolfram Language Paclet Repository

Community-contributed installable additions to the Wolfram Language

Primary Navigation

    • Cloud & Deployment
    • Core Language & Structure
    • Data Manipulation & Analysis
    • Engineering Data & Computation
    • External Interfaces & Connections
    • Financial Data & Computation
    • Geographic Data & Computation
    • Geometry
    • Graphs & Networks
    • Higher Mathematical Computation
    • Images
    • Knowledge Representation & Natural Language
    • Machine Learning
    • Notebook Documents & Presentation
    • Scientific and Medical Data & Computation
    • Social, Cultural & Linguistic Data
    • Strings & Text
    • Symbolic & Numeric Computation
    • System Operation & Setup
    • Time-Related Computation
    • User Interface Construction
    • Visualization & Graphics
    • Random Paclet
    • Alphabetical List
  • Using Paclets
    • Get Started
    • Download Definition Notebook
  • Learn More about Wolfram Language

Lazy

Guides

  • Guide
  • MainGuide

Symbols

  • LazyDirectoryTree
  • LazyExpression
  • LazyLength
  • LazyList
  • Lazy
  • LazySplits
  • LazyTraverse
  • LazyTreeEdges
  • LazyTree
  • LazyValueArray
  • LazyValue
  • MultiwayNest
Wolfram`Lazy`
Lazy
​
​
Lazy[expr]
evaluate
expr
using lazy data structures.
​
Examples  
(1)
Basic Examples  
(1)
In[1]:=
Lazy
[Normal@Take[Select[Range[Infinity],PrimeQ],10]]
Out[1]=
{2,3,5,7,11,13,17,19,23,29}
In[2]:=
Lazy
[Normal@Take[Partition[ConstantArray[1],3],4]]
Out[2]=
{{1,1,1},{1,1,1},{1,1,1},{1,1,1}}
In[3]:=
Lazy
Normal@
LazyTraverse
@NestTree[xMod[{x+1,2x},10],1]
Out[3]=
Lists should be explicitly converted to lazy lists:
In[4]:=
Lazy
Normal@TakeMapThreadTimes,
LazyList
@{Range[Infinity],Range[2,Infinity]},4
Out[4]=
{2,6,12,20}
""

© 2025 Wolfram. All rights reserved.

  • Legal & Privacy Policy
  • Contact Us
  • WolframAlpha.com
  • WolframCloud.com