ReScript HomeReScript HomeDocsPlaygroundBlogCommunity
  • Playground
  • Blog
  • Community
  • Packages
  • X
  • Bluesky
  • GitHub
  • Forum
Language ManualAPIGuidesSyntax LookupReact
Docs / API / Stdlib / Iterable
v12 (latest)v11v9.1 - v10.1v8.2 - v9.0v6.0 - v8.1
Overview
Stdlib
submodules
  • Array
  • ArrayBuffer
  • AsyncGenerator
  • AsyncIterable
  • AsyncIterableIterator
  • AsyncIterator
  • BigInt
  • BigInt64Array
    • Constants
    BigUint64Array
    • Constants
  • Blob
  • Bool
  • Console
  • DataView
  • Date
    • UTC
  • Dict
  • Error
    • URIError
    • TypeError
    • SyntaxError
    • ReferenceError
    • RangeError
    • EvalError
  • Exn
  • File
  • Float
    • Constants
    Float32Array
    • Constants
    Float64Array
    • Constants
  • Generator
  • Int
    • Bitwise
    • Constants
    Int16Array
    • Constants
    Int32Array
    • Constants
    Int8Array
    • Constants
  • IntervalId
  • Intl
    • Segments
    • Segmenter
    • RelativeTimeFormat
    • PluralRules
    • NumberFormat
      • Grouping
    • Locale
    • ListFormat
    • DateTimeFormat
    • Collator
    • Common
  • Iterable
    • v
      ignore
    • t
      t
  • IterableIterator
  • Iterator
  • IteratorObject
  • JSON
    • Decode
    • Encode
    • Classify
    JsError
    • URIError
    • TypeError
    • SyntaxError
    • ReferenceError
    • RangeError
    • EvalError
  • JsExn
  • Lazy
  • List
  • Map
  • Math
    • Int
    • Constants
  • Null
  • Nullable
  • Object
  • Option
  • Ordering
  • Pair
  • Promise
  • RegExp
    • Result
  • Result
  • Set
  • String
  • Symbol
  • TaggedTemplate
  • TimeoutId
  • Type
    • Classify
  • TypedArray
  • Uint16Array
    • Constants
    Uint32Array
    • Constants
    Uint8Array
    • Constants
    Uint8ClampedArray
    • Constants
  • WeakMap
  • WeakSet
  • Overview
    Stdlib
    submodules
  • Array
  • ArrayBuffer
  • AsyncGenerator
  • AsyncIterable
  • AsyncIterableIterator
  • AsyncIterator
  • BigInt
  • BigInt64Array
    • Constants
    BigUint64Array
    • Constants
  • Blob
  • Bool
  • Console
  • DataView
  • Date
    • UTC
  • Dict
  • Error
    • URIError
    • TypeError
    • SyntaxError
    • ReferenceError
    • RangeError
    • EvalError
  • Exn
  • File
  • Float
    • Constants
    Float32Array
    • Constants
    Float64Array
    • Constants
  • Generator
  • Int
    • Bitwise
    • Constants
    Int16Array
    • Constants
    Int32Array
    • Constants
    Int8Array
    • Constants
  • IntervalId
  • Intl
    • Segments
    • Segmenter
    • RelativeTimeFormat
    • PluralRules
    • NumberFormat
      • Grouping
    • Locale
    • ListFormat
    • DateTimeFormat
    • Collator
    • Common
  • Iterable
    • v
      ignore
    • t
      t
  • IterableIterator
  • Iterator
  • IteratorObject
  • JSON
    • Decode
    • Encode
    • Classify
    JsError
    • URIError
    • TypeError
    • SyntaxError
    • ReferenceError
    • RangeError
    • EvalError
  • JsExn
  • Lazy
  • List
  • Map
  • Math
    • Int
    • Constants
  • Null
  • Nullable
  • Object
  • Option
  • Ordering
  • Pair
  • Promise
  • RegExp
    • Result
  • Result
  • Set
  • String
  • Symbol
  • TaggedTemplate
  • TimeoutId
  • Type
    • Classify
  • TypedArray
  • Uint16Array
    • Constants
    Uint32Array
    • Constants
    Uint8Array
    • Constants
    Uint8ClampedArray
    • Constants
  • WeakMap
  • WeakSet
  • API

    Iterable

    A JavaScript iterable.

    Values of this type implement the iterable protocol and can be consumed by for...of, Array.from, and other JavaScript APIs that expect iterables.

    See Iteration protocols on MDN.

    ignore

    RES
    let ignore: t<'a> => unit

    ignore(iterable) marks iterable as intentionally unused.

    t

    RES
    type t<'a> = iterable<'a>

    Type representing an iterable that yields values of type 'a.

    Types and values
    • v
      ignore
    • t
      t
    ReScript

    © 2026 The ReScript Project

    About
    • Community
    • Brand Assets
    • ReScript Association
    Find us on