Vyxal

Latest version: v2.22.4

Safety actively analyzes 682244 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 10 of 26

2.15.2

_Alternatively, the first time I've manually written notes in months_

What's New

* We now have an element for counting overlapping occurances of one value in another. It's `øO`, and was added by tobyck in PR 1357.

What's Changed

* There are new overloads for `Ṡ` for numbers and strings. This type handling addition brought to you by tobyck in PR 1359.
* Powerset now returns a list of strings when given a string. This was done by chunkybanana in PR 1356.
* Shuffle (`Þ℅`) now keeps strings as strings thanks to Steffan153 in PR 1366.
* `İ` no longer includes the initial value thanks to Steffan153 in PR 1362.
* The documentation for `↔` and `İ` has been updated by Steffan153 to reflect this change in PR 1361.
* The behaviour of `Ȧ` has been improved by Steffan153 in PR 1371 when given a list as one of either `rhs` or `other`.
* The online interpreter will no longer include certain flags in CGCC submissions thanks to PR 1360 by Steffan153.

2.15.1

What's Changed
- `øḋ` (to float string) now vectorises on lists thanks to Lyxal (1330)
- `ḋ` (divmod) works when dividing by 0 thanks to Lyxal (1338)
- Sorting 0 now works thanks to Lyxal (1336)
- Parsing an integer from a string now works in all cases thanks to Lyxal (1347)

Also, sympy's `nsimplify` function transforms a python value into a sympy value. You'd expect it to transform a string representing an integer into a sympy value representing that integer, right?

Wrong.

python
>>> sympy.nsimplify('4678')
13841287201*2**(7/16)*3**(7/40)*5**(51/80)*7**(1/8)/17280000


And yes, that does resolve to 4678, but why sympy does this I have no idea.

Anyway, using `rational=True` seems to solve the problem (we hope). Fixing the last of the previous list exposed many new bugs - things also using `sympy.nsimplify` on strings. Lyxal went through and patched all of these (1350)

New stuff
You can now close multiple structures at once! Stuff like `ƛ[3|5];` no longer requires the closing `]`, as the closing delimiters `])};` close structures up to and including the one they match. For example, with `5(ƛ[3|5;` the `;` closes the `[` and the `ƛ`, but not the `(` as it's reached `ƛ` which it matches.
Thanks to Steffan153 for this (1340)

Online interpreter
Some autocompletes now work correctly thanks to Lyxal (1339)

**Full Changelog**: https://github.com/Vyxal/Vyxal/compare/v2.15.0...v2.15.1

2.15.0

_Alternatively, that one time I made a release with notes I didn't write (chunkybanana did)_

We finally fixed all the tests!!!


Online interpreter

To the digraph tooling from last week, we've added a different way of adding elements: words! For example, if you type `sum` in the code box then press <kbd>tab</kbd>, you get `∑`! This was done by chunkybanana and Steffan153 (1278). Additionally, Lyxal added some more completions to the existing digraphs. (1280)

Also, pressing tab after numbers or strings of lowercase letters compresses them thanks to Steffan (1321, 1323)

Bugs

- Indexing into a string now works correctly when the index is larger than the string, thanks to Lyxal (1288)
- You can now halve irrationals e.g. √2 thanks to Lyxal (1289)
- A variety of bizzare bugs caused by incorrect boolification of lazylists has been fixed thanks to Steffan (1272)
- `ṅ` now vectorises on lists of lazylists thansk to Lyxal (1305)
- The arrow parsing elements now work properly thanks to Lyxal (1302)
- The codepage parsing builtin now vectorises over strings correctly thanks to Lyxal (1304)
- `Ṁ` now inserts at negative indices correctly thanks to Lyxal (1293)
- Nested modifiers now have sensible arity thanks to Steffan153 (1309)

Changes
- `ÞK` and `ÞS` now return lists of numbers given lists thanks to Lyxal (1297, 1303)
- `İ` now converts indices to integers first thanks to Lyxal (1298)
- Prepending a list to a list now does *not* concatenate them thanks to Lyxal (1294)
- `↔` now works on infinite lists thanks to chunkybanana (1315)
- Various multiset builtins (`Þ∨`,`Þ∩`,`Þ∪`) now behave differently on varied types thanks to Lyxal (1314, 1316, 1317)
- Splitting and keeping delimiters (`Ẇ`) now works sensibly on fractions thanks to Lyxal (1311)

Internal
- Converting a non-integer to a digit list now doesn't turn it into a decimal thanks to Lyxal (1296)
- We got rid of the `/oeis` page, which wasn't working anyway thanks to chunkybanana (1310)
- Lyxal fixed some failing test cases for `Ǒ`, `∪`, `øḞ`, `øṄ`, `Þ⊍`, and `€` (1301, 1299, 1295, 1312, 1313, 1318)
- The final testcase (`Þ÷`) was fixed by Steffan153 (1319)
- Some variable scoping issues were fixed by cgccuser (1281)
- While loops were pushing two context variables and only popping one. This was fixed by Steffan153 (1325)


What's new

- `ÞŻ` sorts a multidimensional list at every level, thanks to chunkybanana (1292)
- `Ṫ` now, when given a number, pushes 1 under it thanks to Lyxal (1291)
- `øA` now converts letters to numbers and vice versa thanks to chunkybanana (1290)
- You can now override the inputs with `¨S` and reset them with `¨R` thanks to Steffan153 (1308)

**Full Changelog**: https://github.com/Vyxal/Vyxal/compare/v2.14.2...v2.15.0

2.14.2

The great bug fix has somewhat come to a halt, as what remains is mostly typing ambiguities we're unsure how to handle. Also, the online interpreter has been substantially upgraded, now supporting several new functionalities.

Changes
- `kP` (printable ASCII) is now in order, and `kQ` is printable ASCII with a space [thanks to](https://github.com/Vyxal/Vyxal/pull/1254) tobyck
- Vyxal's infinite list support has greatly improved - the interpreter can now tell the difference between infinite and finite lists, opening the door to a lot of possibilities. [Thanks to](https://github.com/Vyxal/Vyxal/pull/1274) Steffan153 for this!

Bug fixes
- `Ǒ` (multiplicity) now checks for 0 and 1, [thanks to](https://github.com/Vyxal/Vyxal/pull/1245) cgccuser
- Floor (`⌊`) has been fixed twice [by](https://github.com/Vyxal/Vyxal/pull/1263) Steffan153 and [by](https://github.com/Vyxal/Vyxal/pull/1255) SE-Nitro
- Untruth (`Þǔ`) has been fixed [thanks to](https://github.com/Vyxal/Vyxal/pull/1264) Steffan153
- An old, bizarre bug where strings were printed without quotes has been fixed [by](https://github.com/Vyxal/Vyxal/pull/1259) Steffan153
- Yet another lazylist mutation bug has been patched, where negatively indexing into a lazylist used to append to itself, [thanks to ](https://github.com/Vyxal/Vyxal/pull/1262) Steffan153
- `⁺`, which decodes the next character as a number, now works with all chars [thanks to (https://github.com/Vyxal/Vyxal/pull/1275) Steffan153]
* `∆F`, 1-indexed fibonacci, now vectorizes properly [thanks to](https://github.com/Vyxal/Vyxal/pull/1271) Steffan153

Online interpreter

- The online interpreter now has a better search function. It now uses fuzzy pattern matching and sorts by closeness. [Thanks to](https://github.com/Vyxal/Vyxal/pull/1249) cjquines for this!
- The keyboard tooltips now have buttons you can click to insert digraphs, [thanks to](https://github.com/Vyxal/Vyxal/pull/1257) Steffan153
- The search function now highlights search results [thanks to](https://github.com/Vyxal/Vyxal/pull/1260) cjquines
- You can now use tab completions for unicode chars on the online interpreter, where pairs of characters will get resolved to single characters by pressing tab. For example, `.o` becomes `ȯ`, `bp` becomes `Þ`. [Thanks to](https://github.com/Vyxal/Vyxal/pull/1265) Steffan153 for this!

**Full Changelog**: https://github.com/Vyxal/Vyxal/compare/v2.14.1...v2.14.2

2.14.1

_Notes written by chunkybanana_

_This release brought to you by pxeger, lyxal, cgccuser, cjquines, chunkybanana, Steffan153, and Vyxal-Bot._

New stuff
- `ṅ` (join by empty string) vectorises over lists of lists
- `½` works sanely now, always dividing into two
- `/` also works sanely, dividing into n parts no matter what
- The `U` flag decodes strings as UTF-8, allowing for non-ASCII/codepage chars in strings with normal scoring
- Vectorised recursion (`vx`) finally works!
- Elements have been added to test if lists are strictly ascending / descending.
- We've got a multidimensional truthy indices builtin
- Take while is now a single byte
- We've got a binary string builtin
- `Þİ` works with swapped args.
-
Bug fixes
- `Ẏ`, `Ż`, and insertion leave numbers as numbers
- Fixed-point now works
- Multiset intersection now works
- Eval was broken then fixed
- `Ḟ` now works with infinite lists
- The `A` flag (testcases) has been fixed, three times.
- Find indices now works on infinite lists
- Conditional execute now works, as does the if-else modifier (`¨i`)
- We've started fixing failing tests
- Strip now works
- `⌊` now works for decimals / negatives
Online interpreter
- Tooltips now work on mobile
- Said tooltips cannot be selected anymore

Also, a bunch of internal changes have been made to clean up various things. The Great Bug Fix is almost over, hopefullyish.


**Full Changelog**: https://github.com/Vyxal/Vyxal/compare/v2.14.0...v2.14.1

2.14.0

_Alternatively: Curb your PRs_

What's Changed
* Make `F` not error when given an integer as rhs by Lyxal in https://github.com/Vyxal/Vyxal/pull/1104
* Add if/else modifier by Steffan153 in https://github.com/Vyxal/Vyxal/pull/1108
* Add connected uniquify element by Steffan153 in https://github.com/Vyxal/Vyxal/pull/1107
* Improve element docs by cjquines in https://github.com/Vyxal/Vyxal/pull/1117
* Write more element tests by cjquines in https://github.com/Vyxal/Vyxal/pull/1103
* Make modulo by 0 work by Lyxal in https://github.com/Vyxal/Vyxal/pull/1118
* Add infinite list of all integers by Steffan153 in https://github.com/Vyxal/Vyxal/pull/1126
* Fix slice from by Steffan153 in https://github.com/Vyxal/Vyxal/pull/1128
* Improve the behaviour of `Ŀ` by Lyxal in https://github.com/Vyxal/Vyxal/pull/1134
* Make `K` have negative divisors for negative numbers by Lyxal in https://github.com/Vyxal/Vyxal/pull/1133
* Make transpose return a list of strings given strings by Lyxal in https://github.com/Vyxal/Vyxal/pull/1135
* Fix the mysteriously failing `i` by cgccuser in https://github.com/Vyxal/Vyxal/pull/1145
* Fix str-str overload of `ġ` by cgccuser in https://github.com/Vyxal/Vyxal/pull/1137
* Change a test for random permutation by Lyxal in https://github.com/Vyxal/Vyxal/pull/1146
* Add element overload to find first occurrence where condition is truthy by Lyxal in https://github.com/Vyxal/Vyxal/pull/1138
* Improve the behaviour of `ŀ` by Lyxal in https://github.com/Vyxal/Vyxal/pull/1141
* Add first integer where function truthy overload to `N` by Lyxal in https://github.com/Vyxal/Vyxal/pull/1136
* Make `ẏ` and `ż` work on numbers by Lyxal in https://github.com/Vyxal/Vyxal/pull/1139
* Add element overload to find index of first element where condition is truthy by Lyxal in https://github.com/Vyxal/Vyxal/pull/1140
* Improve the behaviour of `¦` by Lyxal in https://github.com/Vyxal/Vyxal/pull/1143
* Improve the behaviour of `Ḋ` by Lyxal in https://github.com/Vyxal/Vyxal/pull/1144
* Fix dyadic modifiers when used monadically by Steffan153 in https://github.com/Vyxal/Vyxal/pull/1127
* Fix random choice (`℅`) by Lyxal in https://github.com/Vyxal/Vyxal/pull/1142
* Fix tests for `Ẋ` and `ÞẊ` by cgccuser in https://github.com/Vyxal/Vyxal/pull/1151
* Make depth (`Þj`) work with empty children by cgccuser in https://github.com/Vyxal/Vyxal/pull/1149
* Fix behavior of `/` and `Þ÷` when splitting strings/lists by cgccuser in https://github.com/Vyxal/Vyxal/pull/1148
* Fix random bits by Steffan153 in https://github.com/Vyxal/Vyxal/pull/1161
* Fix unwrap by Steffan153 in https://github.com/Vyxal/Vyxal/pull/1158
* Fix symmetric difference with string and number by Steffan153 in https://github.com/Vyxal/Vyxal/pull/1157
* Fix head remove with negative numbers by Steffan153 in https://github.com/Vyxal/Vyxal/pull/1154
* Fix surround by Steffan153 in https://github.com/Vyxal/Vyxal/pull/1156
* Fix untruth for empty lists by Steffan153 in https://github.com/Vyxal/Vyxal/pull/1160
* Fix the test for uniquify by Lyxal in https://github.com/Vyxal/Vyxal/pull/1165
* Fix from custom base by Steffan153 in https://github.com/Vyxal/Vyxal/pull/1153
* Remove a test case that was actually invalid by Lyxal in https://github.com/Vyxal/Vyxal/pull/1163
* Fix matrix determinant by Steffan153 in https://github.com/Vyxal/Vyxal/pull/1159
* Fix split and keep delimiter by Steffan153 in https://github.com/Vyxal/Vyxal/pull/1155
* Fixed mold (I think?) by chunkybanana in https://github.com/Vyxal/Vyxal/pull/1167
* Make `V` work properly with strings and numbers by Lyxal in https://github.com/Vyxal/Vyxal/pull/1171
* Improve the behaviour of `F` in regards to type handling by Lyxal in https://github.com/Vyxal/Vyxal/pull/1169
* Death to this ÞR (Matrix Row Reduce) by cgccuser in https://github.com/Vyxal/Vyxal/pull/1175
* Make assignment work on empty containers by Lyxal in https://github.com/Vyxal/Vyxal/pull/1173
* Make `O` work when given a string and number and vice-versa by Lyxal in https://github.com/Vyxal/Vyxal/pull/1170
* Change element name of `Þ÷` for clarity by Lyxal in https://github.com/Vyxal/Vyxal/pull/1174
* Fix roman numeral by Steffan153 in https://github.com/Vyxal/Vyxal/pull/1186

New Contributors
* cjquines made their first contribution in https://github.com/Vyxal/Vyxal/pull/1117

**Full Changelog**: https://github.com/Vyxal/Vyxal/compare/v2.13.3...v2.14.0

Page 10 of 26

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.