Top 1,000 Features Creators Resources Blog Explore Download
GitHub icon

Single-Type Arrays

< >
Example from TypeScript:
const scores: int[]
Example from HOPE:
[1,2,3]
Example from Speedie:
|array of string| s s <~ "abc" // ok s <~ 1 // fail

Languages with Single-Type Arrays include TypeScript, C3, HOPE, Speedie

Read more about Single-Type Arrays on the web: 1.

HTML of this page generated by Features.ts

View source

- Build the next great programming language About Acknowledgements Extensions Day 624 feedback@pldb.io