Top 1,000 Features Creators Events Podcasts Extensions Interviews Blog Explorer CSV

Single-Type Arrays

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

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

*

View all concepts with or missing a hasSingleTypeArrays measurement

*

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

View source

- Build the next great programming language About Resources Acknowledgements Part of the World Wide Scroll