Python logo

Syntax

Seq's syntax and semantics are borrowed from the popular and widely-used Python language. In fact, a lot of Python code will run without changes in Seq—and a lot faster! Seq is designed to be as seamless a language to learn as possible, especially for those familiar with Python.

Press ⇧ Shift+↵ Enter on any of the snippets below to try them!

Python's familiar syntax
Optional type annotations
Intuitive generic types
New language features and types