Vocabularysequences.
n-basedClass descriptionAn adaptor class that allows a sequence to be treated as an assoc with non-zero-based keys.
Examples
USING: assocs prettyprint kernel sequences.n-based ;
IN: scratchpad
: months ( -- assoc )
{
"January"
"February"
"March"
"April"
"May"
"June"
"July"
"August"
"September"
"October"
"November"
"December"
} 1 <n-based-assoc> ;
10 months at .
"October"
See also<n-based-assoc>DefinitionMethods