Re:Pkl, a Programming Language for Configuration
by acuozzo on Saturday February 03, 2024 @09:36AM
(#39240669)
Reduce it further: strings and maps. Arrays can be represented as a map.
[ Parent
| on HN ]
Re:Pkl, a Programming Language for Configuration
by ricardobeat on Saturday February 03, 2024 @09:51AM
(#39240845)
Strings can be represented as arrays too. Doesnt make a good argument for removing them.
Re:Pkl, a Programming Language for Configuration
by acuozzo on Saturday February 03, 2024 @04:48PM
(#39245091)
Doing so would necessitate the addition of another type: character/grapheme cluster.
Representing arrays as maps would impose no additional requirements outside of validation which is already considered as part of the proposal in question.