Data update

This commit is contained in:
Ingy döt Net 2024-03-06 22:25:12 -08:00
parent ed705008a8
commit 0df55f9f24
2196 changed files with 32999 additions and 3075 deletions

View file

@ -5,9 +5,9 @@ public program()
{
var haystack := new string[]{"Zig", "Zag", "Wally", "Ronald", "Bush", "Krusty", "Charlie", "Bush", "Bozo"};
new string[]{"Washington", "Bush"}.forEach:(needle)
new string[]{"Washington", "Bush"}.forEach::(needle)
{
var index := haystack.indexOfElement:needle;
var index := haystack.indexOfElement(needle);
if (index == -1)
{

View file

@ -1,4 +1,4 @@
import "/seq" for Lst
import "./seq" for Lst
var find = Fn.new { |haystack, needle|
var res = Lst.indicesOf(haystack, needle)