Bend2 by Example
Last updated .
First programs
- 1Hello world
- 2Functions
- 3Let bindings
- 4Conditionals
- 5Booleans
- 6Numbers
- 7Strings and characters
- 8Tuples
- 9Lists
- 10Imports
Data and matching
- 11Algebraic data types
- 12Records
- 13Maps
- 14Pattern matching
- 15Lambda match
- 16Recursion
- 17Mutual recursion
- 18Higher-order functions
- 19Closures
- 20Folds
- 21The bend construct
Parallelism
- 22Automatic parallelism
- 23Sharing and duplication
- 24Unscoped lambdas
- 25Superpositions
- 26Evaluation order
- 27Running on GPUs
- 28Measuring speedup
Types and proofs
- 29Type annotations
- 30Polymorphism
- 31Dependent types, first contact
- 32Sized lists
- 33Equality
- 34Proofs
- 35Induction
- 36Totality
Synthesis
- 37Holes
- 38Types as specifications
- 39SupGen
Effects and targets
- 40IO
- 41Files
- 42Command-line arguments
- 43Compiling to C
- 44Compiling to JavaScript
- 45Compiling to Python