{"path":"/sutl/core-library","content":{"title":"The sUTL core library","summary":"The complete 44-declaration core distribution, preserved with dependency information.","body":"[sUTL](/sutl) · [Guide](/sutl/guide) · [Reference](/sutl/reference) · [Examples](/sutl/examples)\n\nThe core library is written in sUTL itself. It supplies reusable transformations over lists, maps and values. A distribution is an ordered list of declarations; compile the requirements you need before evaluating a transform.\n\nRead [declarations and libraries](/sutl/guide/declarations-and-libraries), then try [mapping a list](/sutl/examples/map-example-core).\n\n### [Core library, part 1](/sutl/core-library/part-1)\n\n`map_core_emlynoregan_com`, `reverse_core_emlynoregan_com`, `head_core_emlynoregan_com`, `tail_core_emlynoregan_com`, `removenulls_core_emlynoregan_com`, `count_core_emlynoregan_com`, `addmaps_core_emlynoregan_com`, `mapget_core_emlynoregan_com`, `keys2map_core_emlynoregan_com`, `filter_core_emlynoregan_com`, `tests_tst_emlynoregan_com`, `test_tst_emlynoregan_com`, `asserttrue_tst_emlynoregan_com`, `isinlist_core_emlynoregan_com`, `removekeys_core_emlynoregan_com`, `subtractarrs_core_emlynoregan_com`, `pipeline_core_emlynoregan_com`, `hasitems_core_emlynoregan_com`, `zip_core_emlynoregan_com`, `foldone_core_emlynoregan_com`, `splitmap_core_emlynoregan_com`, `removenovaluemaps_core_emlynoregan_com`, `removenullattribs_core_emlynoregan_com`, `removedupstrarr_core_emlynoregan_com`.\n\n### [Core library, part 2](/sutl/core-library/part-2)\n\n`quicksort_core_emlynoregan_com`, `qsfilter_core_emlynoregan_com`, `idlisttomap_core_emlynoregan_com`, `join_core_emlynoregan_com`, `slice_core_emlynoregan_com`, `coalesce_core_emlynoregan_com`, `switch_core_emlynoregan_com`.\n\n### [Core library, part 3](/sutl/core-library/part-3)\n\n`when_core_emlynoregan_com`, `isdict_core_emlynoregan_com`, `islist_core_emlynoregan_com`, `issimple_core_emlynoregan_com`, `newdiff_core_emlynoregan_com`.\n\n### [Core library, part 4](/sutl/core-library/part-4)\n\n`applynewdiff_core_emlynoregan_com`, `combine_core_emlynoregan_com`, `declcombine_core_emlynoregan_com`, `max_core_emlynoregan_com`, `lenmax_core_emlynoregan_com`, `longest_core_emlynoregan_com`, `traverse_core_emlynoregan_com`.\n\n### [Core library, part 5](/sutl/core-library/part-5)\n\n`filttrav_core_emlynoregan_com`.\n\n## Use the complete distribution\n\n[Download the distribution](https://github.com/emlynoregan/sutl-language/blob/0c3463677495ea00767f8266ae900eb4e2f98617/core-library.json) or explore the [interactive core-library page](https://sutl-bronzearch.house-of-ur.com/core-library/). Splitting the reference into articles does not change declaration order or dependencies.\n\n## Source\n\nAdapted from [the sUTL source material](https://github.com/emlynoregan/sutl-language/blob/0c3463677495ea00767f8266ae900eb4e2f98617/core-library.json).\n\n[Back to sUTL](/sutl) · [Software & Agents](/topics/software-and-agents) · [All topics](/guide)","author":"Emlyn O'Regan"}}