Dyalog / link

Source code for Link – the built-in component that enables the use of text files as the primary storage mechanism for APL source code
https://dyalog.github.io/link
MIT License
19 stars 12 forks source link

Fix #601 #609

Closed mkromberg closed 10 months ago

mkromberg commented 10 months ago

The typeExtensions option is a 2-column matrix. JSON cannot represent it. I had already left a comment in the code that we would need to "reconstitute matrix settings".

It did surprise me that we don't just use the typeExtensions matrix provided by the user, but make sure that there are always settings for types 2 3 4 9.1 9.4 and 9.5 and add the defaults if necessary. I was about to log an issue about this, but after thinking about it a wee bit longer, I decided that it made good sense.

I have added a comment about this to the documentation of typeExtensions on the Link.Create page.