---
title: "GopherCon 2024: Range Over Function Types - Ian Lance Taylor"
url: https://daily.dev/posts/gophercon-2024-range-over-function-types---ian-lance-taylor-xz0gmpmlz
source_url: https://www.youtube.com/watch?v=i9zwUT9dlVc
type: video:youtube
source: "GopherCon (Gopher Academy)"
published: 2026-05-31T07:46:56.336Z
updated: 2026-05-31T07:58:22.646Z
tags: ["golang"]
reading_time: 23
upvotes: 0
comments: 0
language: en
---

> ## Documentation Index
> Fetch the complete documentation index at: https://daily.dev/llms.txt
> Use this file to discover all available pages before exploring further.

# GopherCon 2024: Range Over Function Types - Ian Lance Taylor

**[GopherCon \(Gopher Academy\)](https://daily.dev/sources/gopheracademy)** · 23 min read · 0 upvotes · 0 comments

## Summary

Ian Lance Taylor's GopherCon 2024 talk covers the new Go 1.23 feature: range over function types. The talk explains the motivation — the lack of a standard iteration protocol for user-defined container types — and introduces push iterators (functions that call a yield function with each value, usable directly in for-range loops) and pull iterators (functions that return one value per call, useful for parallel iteration). The new `iter` package defines `Seq` and `Seq2` types as standard iterator signatures. New helper functions in `slices` and `maps` packages support iterators, and `iter.Pull` converts push iterators to pull iterators. Examples include iterating over a generic Set, a binary tree, and byte-slice lines without extra allocations.

## Full article

daily.dev links to this article rather than hosting it. Read it at the original source: <https://www.youtube.com/watch?v=i9zwUT9dlVc>

## Similar posts on daily.dev

- [Go 1.26 iterators turned the simplest language into functional spaghetti](https://daily.dev/posts/go-1-26-iterators-turned-the-simplest-language-into-functional-spaghetti-wlsdlr14u) · Awesome Go · 5 upvotes · 0 comments
- [Going Backward](https://daily.dev/posts/going-backward-oufacah0y) · Anton Zhiyanov · 23 upvotes · 3 comments

---

Tags: [#golang](https://daily.dev/tags/golang)

[View this post on daily.dev](https://daily.dev/posts/gophercon-2024-range-over-function-types---ian-lance-taylor-xz0gmpmlz)
