CINXE.COM

Wikifunctions:Suggest a function - Wikifunctions

<!DOCTYPE html> <html class="client-nojs vector-feature-language-in-header-disabled vector-feature-language-in-main-page-header-disabled vector-feature-sticky-header-disabled vector-feature-page-tools-pinned-disabled vector-feature-toc-pinned-clientpref-1 vector-feature-main-menu-pinned-disabled vector-feature-limited-width-clientpref-1 vector-feature-limited-width-content-enabled vector-feature-custom-font-size-clientpref-1 vector-feature-appearance-pinned-clientpref-1 vector-feature-night-mode-disabled skin-theme-clientpref-day vector-toc-available" lang="en" dir="ltr"> <head> <meta charset="UTF-8"> <title>Wikifunctions:Suggest a function - Wikifunctions</title> <script>(function(){var className="client-js vector-feature-language-in-header-disabled vector-feature-language-in-main-page-header-disabled vector-feature-sticky-header-disabled vector-feature-page-tools-pinned-disabled vector-feature-toc-pinned-clientpref-1 vector-feature-main-menu-pinned-disabled vector-feature-limited-width-clientpref-1 vector-feature-limited-width-content-enabled vector-feature-custom-font-size-clientpref-1 vector-feature-appearance-pinned-clientpref-1 vector-feature-night-mode-disabled skin-theme-clientpref-day vector-toc-available";var cookie=document.cookie.match(/(?:^|; )wikifunctionswikimwclientpreferences=([^;]+)/);if(cookie){cookie[1].split('%2C').forEach(function(pref){className=className.replace(new RegExp('(^| )'+pref.replace(/-clientpref-\w+$|[^\w-]+/g,'')+'-clientpref-\\w+( |$)'),'$1'+pref+'$2');});}document.documentElement.className=className;}());RLCONF={"wgBreakFrames":false,"wgSeparatorTransformTable":["",""],"wgDigitTransformTable":["",""], "wgDefaultDateFormat":"dmy","wgMonthNames":["","January","February","March","April","May","June","July","August","September","October","November","December"],"wgRequestId":"9c02ddfb-a559-9425-92e3-9338f742dfcd","wgCanonicalNamespace":"Project","wgCanonicalSpecialPageName":false,"wgNamespaceNumber":4,"wgPageName":"Wikifunctions:Suggest_a_function","wgTitle":"Suggest a function","wgCurRevisionId":139437,"wgRevisionId":139437,"wgArticleId":1176,"wgIsArticle":true,"wgIsRedirect":false,"wgAction":"view","wgUserName":null,"wgUserGroups":["*"],"wgCategories":["Maintenance"],"wgPageViewLanguage":"en","wgPageContentLanguage":"en","wgPageContentModel":"wikitext","wgRelevantPageName":"Wikifunctions:Suggest_a_function","wgRelevantArticleId":1176,"wgIsProbablyEditable":false,"wgRelevantPageIsProbablyEditable":false,"wgRestrictionEdit":[],"wgRestrictionMove":[],"wgNoticeProject":"wikifunctions","wgCiteReferencePreviewsActive":true,"wgMediaViewerOnClick":true,"wgMediaViewerEnabledByDefault":true, "wgVisualEditor":{"pageLanguageCode":"en","pageLanguageDir":"ltr","pageVariantFallbacks":"en"},"wgWMESchemaEditAttemptStepOversample":false,"wgWMEPageLength":20000,"wgCentralAuthMobileDomain":false,"wgEditSubmitButtonLabelPublish":true,"wgDiscussionToolsFeaturesEnabled":{"replytool":true,"newtopictool":true,"sourcemodetoolbar":true,"topicsubscription":false,"autotopicsub":false,"visualenhancements":false,"visualenhancements_reply":false,"visualenhancements_pageframe":false},"wgDiscussionToolsFallbackEditMode":"visual","wgULSPosition":"interlanguage","wgULSisCompactLinksEnabled":true,"wgVector2022LanguageInHeader":false,"wgULSisLanguageSelectorEmpty":false,"wgCheckUserClientHintsHeadersJsApi":["architecture","bitness","brands","fullVersionList","mobile","model","platform","platformVersion"],"wgUserLanguageName":"English","wgSiteNoticeId":"2.1"};RLSTATE={"ext.globalCssJs.user.styles":"ready","site.styles":"ready","user.styles":"ready","ext.globalCssJs.user":"ready","user":"ready", "user.options":"loading","ext.discussionTools.init.styles":"ready","oojs-ui-core.styles":"ready","oojs-ui.styles.indicators":"ready","mediawiki.widgets.styles":"ready","oojs-ui-core.icons":"ready","skins.vector.search.codex.styles":"ready","skins.vector.styles":"ready","skins.vector.icons":"ready","ext.wikimediamessages.styles":"ready","ext.visualEditor.desktopArticleTarget.noscript":"ready","ext.uls.interlanguage":"ready","wikibase.client.init":"ready","ext.wikimediaBadges":"ready","ext.dismissableSiteNotice.styles":"ready"};RLPAGEMODULES=["site","mediawiki.page.ready","mediawiki.toc","skins.vector.js","ext.centralNotice.geoIP","ext.centralNotice.startUp","ext.urlShortener.toolbar","ext.centralauth.centralautologin","mmv.bootstrap","ext.visualEditor.desktopArticleTarget.init","ext.visualEditor.targetLoader","ext.echo.centralauth","ext.discussionTools.init","ext.eventLogging","ext.wikimediaEvents","ext.navigationTiming","ext.uls.compactlinks","ext.uls.interface", "ext.checkUser.clientHints","ext.wikilambda.languageselector","ext.dismissableSiteNotice"];</script> <script>(RLQ=window.RLQ||[]).push(function(){mw.loader.impl(function(){return["user.options@12s5i",function($,jQuery,require,module){mw.user.tokens.set({"patrolToken":"+\\","watchToken":"+\\","csrfToken":"+\\"}); }];});});</script> <link rel="stylesheet" href="/w/load.php?lang=en&amp;modules=ext.discussionTools.init.styles%7Cext.dismissableSiteNotice.styles%7Cext.uls.interlanguage%7Cext.visualEditor.desktopArticleTarget.noscript%7Cext.wikimediaBadges%7Cext.wikimediamessages.styles%7Cmediawiki.widgets.styles%7Coojs-ui-core.icons%2Cstyles%7Coojs-ui.styles.indicators%7Cskins.vector.icons%2Cstyles%7Cskins.vector.search.codex.styles%7Cwikibase.client.init&amp;only=styles&amp;skin=vector-2022"> <script async="" src="/w/load.php?lang=en&amp;modules=startup&amp;only=scripts&amp;raw=1&amp;skin=vector-2022"></script> <meta name="ResourceLoaderDynamicStyles" content=""> <link rel="stylesheet" href="/w/load.php?lang=en&amp;modules=site.styles&amp;only=styles&amp;skin=vector-2022"> <meta name="generator" content="MediaWiki 1.44.0-wmf.3"> <meta name="referrer" content="origin"> <meta name="referrer" content="origin-when-cross-origin"> <meta name="robots" content="max-image-preview:standard"> <meta name="format-detection" content="telephone=no"> <meta name="viewport" content="width=device-width, initial-scale=1.0, user-scalable=yes, minimum-scale=0.25, maximum-scale=5.0"> <meta property="og:title" content="Wikifunctions:Suggest a function - Wikifunctions"> <meta property="og:type" content="website"> <link rel="preconnect" href="//upload.wikimedia.org"> <link rel="icon" href="/static/favicon/wikifunctions.ico"> <link rel="search" type="application/opensearchdescription+xml" href="/w/rest.php/v1/search" title="Wikifunctions (en)"> <link rel="EditURI" type="application/rsd+xml" href="//www.wikifunctions.org/w/api.php?action=rsd"> <link rel="canonical" href="https://www.wikifunctions.org/wiki/Wikifunctions:Suggest_a_function"> <link rel="license" href="/wiki/Wikifunctions:Copyright"> <link rel="alternate" type="application/atom+xml" title="Wikifunctions Atom feed" href="/w/index.php?title=Special:RecentChanges&amp;feed=atom"> <link rel="dns-prefetch" href="//meta.wikimedia.org" /> <link rel="dns-prefetch" href="//login.wikimedia.org"> </head> <body class="ext-discussiontools-replytool-enabled ext-discussiontools-newtopictool-enabled ext-discussiontools-sourcemodetoolbar-enabled skin--responsive skin-vector skin-vector-search-vue mediawiki ltr sitedir-ltr mw-hide-empty-elt ns-4 ns-subject page-Wikifunctions_Suggest_a_function rootpage-Wikifunctions_Suggest_a_function skin-vector-2022 action-view"><a class="mw-jump-link" href="#bodyContent">Jump to content</a> <div class="vector-header-container"> <header class="vector-header mw-header"> <div class="vector-header-start"> <nav class="vector-main-menu-landmark" aria-label="Site"> <div id="vector-main-menu-dropdown" class="vector-dropdown vector-main-menu-dropdown vector-button-flush-left vector-button-flush-right" > <input type="checkbox" id="vector-main-menu-dropdown-checkbox" role="button" aria-haspopup="true" data-event-name="ui.dropdown-vector-main-menu-dropdown" class="vector-dropdown-checkbox " aria-label="Main menu" > <label id="vector-main-menu-dropdown-label" for="vector-main-menu-dropdown-checkbox" class="vector-dropdown-label cdx-button cdx-button--fake-button cdx-button--fake-button--enabled cdx-button--weight-quiet cdx-button--icon-only " aria-hidden="true" ><span class="vector-icon mw-ui-icon-menu mw-ui-icon-wikimedia-menu"></span> <span class="vector-dropdown-label-text">Main menu</span> </label> <div class="vector-dropdown-content"> <div id="vector-main-menu-unpinned-container" class="vector-unpinned-container"> <div id="vector-main-menu" class="vector-main-menu vector-pinnable-element"> <div class="vector-pinnable-header vector-main-menu-pinnable-header vector-pinnable-header-unpinned" data-feature-name="main-menu-pinned" data-pinnable-element-id="vector-main-menu" data-pinned-container-id="vector-main-menu-pinned-container" data-unpinned-container-id="vector-main-menu-unpinned-container" > <div class="vector-pinnable-header-label">Main menu</div> <button class="vector-pinnable-header-toggle-button vector-pinnable-header-pin-button" data-event-name="pinnable-header.vector-main-menu.pin">move to sidebar</button> <button class="vector-pinnable-header-toggle-button vector-pinnable-header-unpin-button" data-event-name="pinnable-header.vector-main-menu.unpin">hide</button> </div> <div id="p-navigation" class="vector-menu mw-portlet mw-portlet-navigation" > <div class="vector-menu-heading"> Navigation </div> <div class="vector-menu-content"> <ul class="vector-menu-content-list"> <li id="n-mainpage-description" class="mw-list-item"><a href="/wiki/Wikifunctions:Main_Page" title="Visit the main page [z]" accesskey="z"><span>Main page</span></a></li><li id="n-portal" class="mw-list-item"><a href="/wiki/Wikifunctions:Community_portal" title="About the project, what you can do, where to find things"><span>Community portal</span></a></li><li id="n-villagepump" class="mw-list-item"><a href="/wiki/Wikifunctions:Project_chat"><span>Project chat</span></a></li><li id="n-recentchanges" class="mw-list-item"><a href="/wiki/Special:RecentChanges" title="A list of recent changes in the wiki [r]" accesskey="r"><span>Recent changes</span></a></li><li id="n-randompage" class="mw-list-item"><a href="/wiki/Special:Random" title="Load a random page [x]" accesskey="x"><span>Random page</span></a></li><li id="n-status" class="mw-list-item"><a href="/wiki/Wikifunctions:Status"><span>Current status</span></a></li><li id="n-help" class="mw-list-item"><a href="/wiki/Special:MyLanguage/Help:Contents" title="The place to find out"><span>Help</span></a></li> </ul> </div> </div> <div id="p-lang" class="vector-menu mw-portlet mw-portlet-lang" > <div class="vector-menu-heading"> In other languages </div> <div class="vector-menu-content"> <ul class="vector-menu-content-list"> </ul> <div class="after-portlet after-portlet-lang"><span class="uls-after-portlet-link"></span><span class="wb-langlinks-add wb-langlinks-link"><a href="https://www.wikidata.org/wiki/Special:NewItem?site=wikifunctionswiki&amp;page=Wikifunctions%3ASuggest+a+function" title="Add interlanguage links" class="wbc-editpage">Add links</a></span></div> </div> </div> </div> </div> </div> </div> </nav> <a href="/wiki/Wikifunctions:Main_Page" class="mw-logo"> <img class="mw-logo-icon" src="/static/images/icons/wikifunctionswiki.svg" alt="" aria-hidden="true" height="50" width="50"> <span class="mw-logo-container skin-invert"> <img class="mw-logo-wordmark" alt="Wikifunctions" src="/static/images/mobile/copyright/wikifunctionswiki-wordmark.svg" style="width: 8.75em; height: 1.125em;"> </span> </a> </div> <div class="vector-header-end"> <div id="p-search" role="search" class="vector-search-box-vue vector-search-box-collapses vector-search-box"> <a href="/wiki/Special:Search" class="cdx-button cdx-button--fake-button cdx-button--fake-button--enabled cdx-button--weight-quiet cdx-button--icon-only search-toggle" title="Search Wikifunctions [f]" accesskey="f"><span class="vector-icon mw-ui-icon-search mw-ui-icon-wikimedia-search"></span> <span>Search</span> </a> <div class="vector-typeahead-search-container"> <div class="cdx-typeahead-search"> <form action="/w/index.php" id="searchform" class="cdx-search-input cdx-search-input--has-end-button"> <div id="simpleSearch" class="cdx-search-input__input-wrapper" data-search-loc="header-moved"> <div class="cdx-text-input cdx-text-input--has-start-icon"> <input class="cdx-text-input__input" type="search" name="search" placeholder="Search Wikifunctions" aria-label="Search Wikifunctions" autocapitalize="sentences" title="Search Wikifunctions [f]" accesskey="f" id="searchInput" > <span class="cdx-text-input__icon cdx-text-input__start-icon"></span> </div> <input type="hidden" name="title" value="Special:Search"> </div> <button class="cdx-button cdx-search-input__end-button">Search</button> </form> </div> </div> </div> <nav class="vector-user-links vector-user-links-wide" aria-label="Personal tools"> <div class="vector-user-links-main"> <div id="p-vector-user-menu-preferences" class="vector-menu mw-portlet" > <div class="vector-menu-content"> <ul class="vector-menu-content-list"> <li id="ext-wikilambda-language-selector" class="mw-list-item user-links-collapsible-item"><a data-mw="interface" href="#" class="wikifunctions-trigger cdx-button cdx-button--fake-button cdx-button--fake-button--enabled cdx-button--weight-quiet"><span></span></a> </li> </ul> </div> </div> <div id="p-vector-user-menu-userpage" class="vector-menu mw-portlet emptyPortlet" > <div class="vector-menu-content"> <ul class="vector-menu-content-list"> </ul> </div> </div> <nav class="vector-appearance-landmark" aria-label="Appearance"> <div id="vector-appearance-dropdown" class="vector-dropdown " title="Change the appearance of the page&#039;s font size, width, and color" > <input type="checkbox" id="vector-appearance-dropdown-checkbox" role="button" aria-haspopup="true" data-event-name="ui.dropdown-vector-appearance-dropdown" class="vector-dropdown-checkbox " aria-label="Appearance" > <label id="vector-appearance-dropdown-label" for="vector-appearance-dropdown-checkbox" class="vector-dropdown-label cdx-button cdx-button--fake-button cdx-button--fake-button--enabled cdx-button--weight-quiet cdx-button--icon-only " aria-hidden="true" ><span class="vector-icon mw-ui-icon-appearance mw-ui-icon-wikimedia-appearance"></span> <span class="vector-dropdown-label-text">Appearance</span> </label> <div class="vector-dropdown-content"> <div id="vector-appearance-unpinned-container" class="vector-unpinned-container"> </div> </div> </div> </nav> <div id="p-vector-user-menu-notifications" class="vector-menu mw-portlet emptyPortlet" > <div class="vector-menu-content"> <ul class="vector-menu-content-list"> </ul> </div> </div> <div id="p-vector-user-menu-overflow" class="vector-menu mw-portlet" > <div class="vector-menu-content"> <ul class="vector-menu-content-list"> <li id="pt-sitesupport-2" class="user-links-collapsible-item mw-list-item user-links-collapsible-item"><a data-mw="interface" href="https://donate.wikimedia.org/?utm_source=donate&amp;utm_medium=sidebar&amp;utm_campaign=wikifunctions.org&amp;uselang=en" class=""><span>Donate</span></a> </li> <li id="pt-createaccount-2" class="user-links-collapsible-item mw-list-item user-links-collapsible-item"><a data-mw="interface" href="/w/index.php?title=Special:CreateAccount&amp;returnto=Wikifunctions%3ASuggest+a+function" title="You are encouraged to create an account and log in; however, it is not mandatory" class=""><span>Create account</span></a> </li> <li id="pt-login-2" class="user-links-collapsible-item mw-list-item user-links-collapsible-item"><a data-mw="interface" href="/w/index.php?title=Special:UserLogin&amp;returnto=Wikifunctions%3ASuggest+a+function" title="You are encouraged to log in; however, it is not mandatory [o]" accesskey="o" class=""><span>Log in</span></a> </li> </ul> </div> </div> </div> <div id="vector-user-links-dropdown" class="vector-dropdown vector-user-menu vector-button-flush-right vector-user-menu-logged-out user-links-collapsible-item" title="More options" > <input type="checkbox" id="vector-user-links-dropdown-checkbox" role="button" aria-haspopup="true" data-event-name="ui.dropdown-vector-user-links-dropdown" class="vector-dropdown-checkbox " aria-label="Personal tools" > <label id="vector-user-links-dropdown-label" for="vector-user-links-dropdown-checkbox" class="vector-dropdown-label cdx-button cdx-button--fake-button cdx-button--fake-button--enabled cdx-button--weight-quiet cdx-button--icon-only " aria-hidden="true" ><span class="vector-icon mw-ui-icon-ellipsis mw-ui-icon-wikimedia-ellipsis"></span> <span class="vector-dropdown-label-text">Personal tools</span> </label> <div class="vector-dropdown-content"> <div id="p-personal" class="vector-menu mw-portlet mw-portlet-personal user-links-collapsible-item" title="User menu" > <div class="vector-menu-content"> <ul class="vector-menu-content-list"> <li id="pt-sitesupport" class="user-links-collapsible-item mw-list-item"><a href="https://donate.wikimedia.org/?utm_source=donate&amp;utm_medium=sidebar&amp;utm_campaign=wikifunctions.org&amp;uselang=en"><span>Donate</span></a></li><li id="pt-createaccount" class="user-links-collapsible-item mw-list-item"><a href="/w/index.php?title=Special:CreateAccount&amp;returnto=Wikifunctions%3ASuggest+a+function" title="You are encouraged to create an account and log in; however, it is not mandatory"><span class="vector-icon mw-ui-icon-userAdd mw-ui-icon-wikimedia-userAdd"></span> <span>Create account</span></a></li><li id="pt-login" class="user-links-collapsible-item mw-list-item"><a href="/w/index.php?title=Special:UserLogin&amp;returnto=Wikifunctions%3ASuggest+a+function" title="You are encouraged to log in; however, it is not mandatory [o]" accesskey="o"><span class="vector-icon mw-ui-icon-logIn mw-ui-icon-wikimedia-logIn"></span> <span>Log in</span></a></li> </ul> </div> </div> </div> </div> </nav> </div> </header> </div> <div class="mw-page-container"> <div class="mw-page-container-inner"> <div class="vector-sitenotice-container"> <div id="siteNotice"><div id="mw-dismissablenotice-anonplace"></div><script>(function(){var node=document.getElementById("mw-dismissablenotice-anonplace");if(node){node.outerHTML="\u003Cdiv class=\"mw-dismissable-notice\"\u003E\u003Cdiv class=\"mw-dismissable-notice-close\"\u003E[\u003Ca tabindex=\"0\" role=\"button\"\u003Edismiss\u003C/a\u003E]\u003C/div\u003E\u003Cdiv class=\"mw-dismissable-notice-body\"\u003E\u003C!-- CentralNotice --\u003E\u003Cdiv id=\"localNotice\" data-nosnippet=\"\"\u003E\u003Cdiv class=\"sitenotice\" lang=\"en\" dir=\"ltr\"\u003E\u003Cdiv style=\"border: var(--border-style-base, 1px solid #A2A9B1); background: var(--background-color-interactive-subtle, #F8F9FA); color: inherit; padding: .5em; text-align: center;\"\u003EWikifunctions is a new project by the Wikimedia Foundation that is currently under development.\nSome features are \u003Ca href=\"/wiki/Wikifunctions:Status\" title=\"Wikifunctions:Status\"\u003Ein development\u003C/a\u003E. You can find more information about the project \u003Ca href=\"https://meta.wikimedia.org/wiki/Special:MyLanguage/Abstract_Wikipedia\" class=\"extiw\" title=\"m:Special:MyLanguage/Abstract Wikipedia\"\u003Eon Meta-Wiki\u003C/a\u003E.\u003C/div\u003E\u003C/div\u003E\u003C/div\u003E\u003C/div\u003E\u003C/div\u003E";}}());</script></div> </div> <div class="vector-column-start"> <div class="vector-main-menu-container"> <div id="mw-navigation"> <nav id="mw-panel" class="vector-main-menu-landmark" aria-label="Site"> <div id="vector-main-menu-pinned-container" class="vector-pinned-container"> </div> </nav> </div> </div> <div class="vector-sticky-pinned-container"> <nav id="mw-panel-toc" aria-label="Contents" data-event-name="ui.sidebar-toc" class="mw-table-of-contents-container vector-toc-landmark"> <div id="vector-toc-pinned-container" class="vector-pinned-container"> <div id="vector-toc" class="vector-toc vector-pinnable-element"> <div class="vector-pinnable-header vector-toc-pinnable-header vector-pinnable-header-pinned" data-feature-name="toc-pinned" data-pinnable-element-id="vector-toc" > <h2 class="vector-pinnable-header-label">Contents</h2> <button class="vector-pinnable-header-toggle-button vector-pinnable-header-pin-button" data-event-name="pinnable-header.vector-toc.pin">move to sidebar</button> <button class="vector-pinnable-header-toggle-button vector-pinnable-header-unpin-button" data-event-name="pinnable-header.vector-toc.unpin">hide</button> </div> <ul class="vector-toc-contents" id="mw-panel-toc-list"> <li id="toc-mw-content-text" class="vector-toc-list-item vector-toc-level-1"> <a href="#" class="vector-toc-link"> <div class="vector-toc-text">Beginning</div> </a> </li> <li id="toc-Proposed_functions_requiring_only_available_types_(string,_Boolean,_Natural_number,_list)" class="vector-toc-list-item vector-toc-level-1"> <a class="vector-toc-link" href="#Proposed_functions_requiring_only_available_types_(string,_Boolean,_Natural_number,_list)"> <div class="vector-toc-text"> <span class="vector-toc-numb">1</span> <span>Proposed functions requiring only available types (string, Boolean, Natural number, list)</span> </div> </a> <span class="ext-discussiontools-init-sidebar-meta">8 comments</span> <button aria-controls="toc-Proposed_functions_requiring_only_available_types_(string,_Boolean,_Natural_number,_list)-sublist" class="cdx-button cdx-button--weight-quiet cdx-button--icon-only vector-toc-toggle"> <span class="vector-icon mw-ui-icon-wikimedia-expand"></span> <span>Toggle Proposed functions requiring only available types (string, Boolean, Natural number, list) subsection</span> </button> <ul id="toc-Proposed_functions_requiring_only_available_types_(string,_Boolean,_Natural_number,_list)-sublist" class="vector-toc-list"> <li id="toc-String" class="vector-toc-list-item vector-toc-level-2"> <a class="vector-toc-link" href="#String"> <div class="vector-toc-text"> <span class="vector-toc-numb">1.1</span> <span>String</span> </div> </a> <ul id="toc-String-sublist" class="vector-toc-list"> <li id="toc-String_character_discard_functions" class="vector-toc-list-item vector-toc-level-3"> <a class="vector-toc-link" href="#String_character_discard_functions"> <div class="vector-toc-text"> <span class="vector-toc-numb">1.1.1</span> <span>String character discard functions</span> </div> </a> <ul id="toc-String_character_discard_functions-sublist" class="vector-toc-list"> </ul> </li> <li id="toc-String_character_replacement_functions" class="vector-toc-list-item vector-toc-level-3"> <a class="vector-toc-link" href="#String_character_replacement_functions"> <div class="vector-toc-text"> <span class="vector-toc-numb">1.1.2</span> <span>String character replacement functions</span> </div> </a> <ul id="toc-String_character_replacement_functions-sublist" class="vector-toc-list"> </ul> </li> <li id="toc-String_search_functions" class="vector-toc-list-item vector-toc-level-3"> <a class="vector-toc-link" href="#String_search_functions"> <div class="vector-toc-text"> <span class="vector-toc-numb">1.1.3</span> <span>String search functions</span> </div> </a> <ul id="toc-String_search_functions-sublist" class="vector-toc-list"> </ul> </li> <li id="toc-String_escaping_and_unescaping_functions" class="vector-toc-list-item vector-toc-level-3"> <a class="vector-toc-link" href="#String_escaping_and_unescaping_functions"> <div class="vector-toc-text"> <span class="vector-toc-numb">1.1.4</span> <span>String escaping and unescaping functions</span> </div> </a> <ul id="toc-String_escaping_and_unescaping_functions-sublist" class="vector-toc-list"> </ul> </li> <li id="toc-String_encoding_and_decoding_functions" class="vector-toc-list-item vector-toc-level-3"> <a class="vector-toc-link" href="#String_encoding_and_decoding_functions"> <div class="vector-toc-text"> <span class="vector-toc-numb">1.1.5</span> <span>String encoding and decoding functions</span> </div> </a> <ul id="toc-String_encoding_and_decoding_functions-sublist" class="vector-toc-list"> </ul> </li> <li id="toc-String_presentation_functions" class="vector-toc-list-item vector-toc-level-3"> <a class="vector-toc-link" href="#String_presentation_functions"> <div class="vector-toc-text"> <span class="vector-toc-numb">1.1.6</span> <span>String presentation functions</span> </div> </a> <ul id="toc-String_presentation_functions-sublist" class="vector-toc-list"> </ul> </li> <li id="toc-String_colour_notation_functions" class="vector-toc-list-item vector-toc-level-3"> <a class="vector-toc-link" href="#String_colour_notation_functions"> <div class="vector-toc-text"> <span class="vector-toc-numb">1.1.7</span> <span>String colour notation functions</span> </div> </a> <ul id="toc-String_colour_notation_functions-sublist" class="vector-toc-list"> </ul> </li> <li id="toc-String_notation_validation_checks" class="vector-toc-list-item vector-toc-level-3"> <a class="vector-toc-link" href="#String_notation_validation_checks"> <div class="vector-toc-text"> <span class="vector-toc-numb">1.1.8</span> <span>String notation validation checks</span> </div> </a> <ul id="toc-String_notation_validation_checks-sublist" class="vector-toc-list"> </ul> </li> <li id="toc-String_validation_checks" class="vector-toc-list-item vector-toc-level-3"> <a class="vector-toc-link" href="#String_validation_checks"> <div class="vector-toc-text"> <span class="vector-toc-numb">1.1.9</span> <span>String validation checks</span> </div> </a> <ul id="toc-String_validation_checks-sublist" class="vector-toc-list"> </ul> </li> <li id="toc-String_analysis_functions" class="vector-toc-list-item vector-toc-level-3"> <a class="vector-toc-link" href="#String_analysis_functions"> <div class="vector-toc-text"> <span class="vector-toc-numb">1.1.10</span> <span>String analysis functions</span> </div> </a> <ul id="toc-String_analysis_functions-sublist" class="vector-toc-list"> </ul> </li> <li id="toc-Monolingual_text" class="vector-toc-list-item vector-toc-level-3"> <a class="vector-toc-link" href="#Monolingual_text"> <div class="vector-toc-text"> <span class="vector-toc-numb">1.1.11</span> <span>Monolingual text</span> </div> </a> <ul id="toc-Monolingual_text-sublist" class="vector-toc-list"> </ul> </li> <li id="toc-String_Wikitext_operations" class="vector-toc-list-item vector-toc-level-3"> <a class="vector-toc-link" href="#String_Wikitext_operations"> <div class="vector-toc-text"> <span class="vector-toc-numb">1.1.12</span> <span>String Wikitext operations</span> </div> </a> <ul id="toc-String_Wikitext_operations-sublist" class="vector-toc-list"> </ul> </li> </ul> </li> <li id="toc-Natural_number" class="vector-toc-list-item vector-toc-level-2"> <a class="vector-toc-link" href="#Natural_number"> <div class="vector-toc-text"> <span class="vector-toc-numb">1.2</span> <span>Natural number</span> </div> </a> <ul id="toc-Natural_number-sublist" class="vector-toc-list"> </ul> </li> <li id="toc-Integer" class="vector-toc-list-item vector-toc-level-2"> <a class="vector-toc-link" href="#Integer"> <div class="vector-toc-text"> <span class="vector-toc-numb">1.3</span> <span>Integer</span> </div> </a> <ul id="toc-Integer-sublist" class="vector-toc-list"> </ul> </li> <li id="toc-Object" class="vector-toc-list-item vector-toc-level-2"> <a class="vector-toc-link" href="#Object"> <div class="vector-toc-text"> <span class="vector-toc-numb">1.4</span> <span>Object</span> </div> </a> <ul id="toc-Object-sublist" class="vector-toc-list"> </ul> </li> <li id="toc-List" class="vector-toc-list-item vector-toc-level-2"> <a class="vector-toc-link" href="#List"> <div class="vector-toc-text"> <span class="vector-toc-numb">1.5</span> <span>List</span> </div> </a> <ul id="toc-List-sublist" class="vector-toc-list"> <li id="toc-Basic_list/iterable_functions" class="vector-toc-list-item vector-toc-level-3"> <a class="vector-toc-link" href="#Basic_list/iterable_functions"> <div class="vector-toc-text"> <span class="vector-toc-numb">1.5.1</span> <span>Basic list/iterable functions</span> </div> </a> <ul id="toc-Basic_list/iterable_functions-sublist" class="vector-toc-list"> </ul> </li> <li id="toc-Complex_list_functions" class="vector-toc-list-item vector-toc-level-3"> <a class="vector-toc-link" href="#Complex_list_functions"> <div class="vector-toc-text"> <span class="vector-toc-numb">1.5.2</span> <span>Complex list functions</span> </div> </a> <ul id="toc-Complex_list_functions-sublist" class="vector-toc-list"> </ul> </li> <li id="toc-CSV_list_operations" class="vector-toc-list-item vector-toc-level-3"> <a class="vector-toc-link" href="#CSV_list_operations"> <div class="vector-toc-text"> <span class="vector-toc-numb">1.5.3</span> <span>CSV list operations</span> </div> </a> <ul id="toc-CSV_list_operations-sublist" class="vector-toc-list"> </ul> </li> </ul> </li> <li id="toc-Functions_with_functions_as_arguments" class="vector-toc-list-item vector-toc-level-2"> <a class="vector-toc-link" href="#Functions_with_functions_as_arguments"> <div class="vector-toc-text"> <span class="vector-toc-numb">1.6</span> <span>Functions with functions as arguments</span> </div> </a> <ul id="toc-Functions_with_functions_as_arguments-sublist" class="vector-toc-list"> </ul> </li> </ul> </li> <li id="toc-Morphological_functions" class="vector-toc-list-item vector-toc-level-1"> <a class="vector-toc-link" href="#Morphological_functions"> <div class="vector-toc-text"> <span class="vector-toc-numb">2</span> <span>Morphological functions</span> </div> </a> <button aria-controls="toc-Morphological_functions-sublist" class="cdx-button cdx-button--weight-quiet cdx-button--icon-only vector-toc-toggle"> <span class="vector-icon mw-ui-icon-wikimedia-expand"></span> <span>Toggle Morphological functions subsection</span> </button> <ul id="toc-Morphological_functions-sublist" class="vector-toc-list"> <li id="toc-mul_-_Multiple_languages" class="vector-toc-list-item vector-toc-level-2"> <a class="vector-toc-link" href="#mul_-_Multiple_languages"> <div class="vector-toc-text"> <span class="vector-toc-numb">2.1</span> <span>mul - Multiple languages</span> </div> </a> <ul id="toc-mul_-_Multiple_languages-sublist" class="vector-toc-list"> </ul> </li> <li id="toc-ase_-_American_Sign_Language" class="vector-toc-list-item vector-toc-level-2"> <a class="vector-toc-link" href="#ase_-_American_Sign_Language"> <div class="vector-toc-text"> <span class="vector-toc-numb">2.2</span> <span>ase - American Sign Language</span> </div> </a> <ul id="toc-ase_-_American_Sign_Language-sublist" class="vector-toc-list"> </ul> </li> <li id="toc-bn_-_Bangla" class="vector-toc-list-item vector-toc-level-2"> <a class="vector-toc-link" href="#bn_-_Bangla"> <div class="vector-toc-text"> <span class="vector-toc-numb">2.3</span> <span>bn - Bangla</span> </div> </a> <ul id="toc-bn_-_Bangla-sublist" class="vector-toc-list"> </ul> </li> <li id="toc-cy_-_Welsh" class="vector-toc-list-item vector-toc-level-2"> <a class="vector-toc-link" href="#cy_-_Welsh"> <div class="vector-toc-text"> <span class="vector-toc-numb">2.4</span> <span>cy - Welsh</span> </div> </a> <ul id="toc-cy_-_Welsh-sublist" class="vector-toc-list"> </ul> </li> <li id="toc-dag_-_Dagbani" class="vector-toc-list-item vector-toc-level-2"> <a class="vector-toc-link" href="#dag_-_Dagbani"> <div class="vector-toc-text"> <span class="vector-toc-numb">2.5</span> <span>dag - Dagbani</span> </div> </a> <ul id="toc-dag_-_Dagbani-sublist" class="vector-toc-list"> </ul> </li> <li id="toc-de_-_German" class="vector-toc-list-item vector-toc-level-2"> <a class="vector-toc-link" href="#de_-_German"> <div class="vector-toc-text"> <span class="vector-toc-numb">2.6</span> <span>de - German</span> </div> </a> <ul id="toc-de_-_German-sublist" class="vector-toc-list"> </ul> </li> <li id="toc-en_-_English" class="vector-toc-list-item vector-toc-level-2"> <a class="vector-toc-link" href="#en_-_English"> <div class="vector-toc-text"> <span class="vector-toc-numb">2.7</span> <span>en - English</span> </div> </a> <ul id="toc-en_-_English-sublist" class="vector-toc-list"> </ul> </li> <li id="toc-fr_-_French" class="vector-toc-list-item vector-toc-level-2"> <a class="vector-toc-link" href="#fr_-_French"> <div class="vector-toc-text"> <span class="vector-toc-numb">2.8</span> <span>fr - French</span> </div> </a> <ul id="toc-fr_-_French-sublist" class="vector-toc-list"> </ul> </li> <li id="toc-ha_-_Hausa" class="vector-toc-list-item vector-toc-level-2"> <a class="vector-toc-link" href="#ha_-_Hausa"> <div class="vector-toc-text"> <span class="vector-toc-numb">2.9</span> <span>ha - Hausa</span> </div> </a> <ul id="toc-ha_-_Hausa-sublist" class="vector-toc-list"> </ul> </li> <li id="toc-ig_-_Igbo" class="vector-toc-list-item vector-toc-level-2"> <a class="vector-toc-link" href="#ig_-_Igbo"> <div class="vector-toc-text"> <span class="vector-toc-numb">2.10</span> <span>ig - Igbo</span> </div> </a> <ul id="toc-ig_-_Igbo-sublist" class="vector-toc-list"> </ul> </li> <li id="toc-ldn_-_Láadan" class="vector-toc-list-item vector-toc-level-2"> <a class="vector-toc-link" href="#ldn_-_Láadan"> <div class="vector-toc-text"> <span class="vector-toc-numb">2.11</span> <span>ldn - Láadan</span> </div> </a> <ul id="toc-ldn_-_Láadan-sublist" class="vector-toc-list"> </ul> </li> <li id="toc-ml_-_Malayalam" class="vector-toc-list-item vector-toc-level-2"> <a class="vector-toc-link" href="#ml_-_Malayalam"> <div class="vector-toc-text"> <span class="vector-toc-numb">2.12</span> <span>ml - Malayalam</span> </div> </a> <ul id="toc-ml_-_Malayalam-sublist" class="vector-toc-list"> </ul> </li> </ul> </li> <li id="toc-Proposed_functions_requiring_future_types" class="vector-toc-list-item vector-toc-level-1"> <a class="vector-toc-link" href="#Proposed_functions_requiring_future_types"> <div class="vector-toc-text"> <span class="vector-toc-numb">3</span> <span>Proposed functions requiring future types</span> </div> </a> <span class="ext-discussiontools-init-sidebar-meta">6 comments</span> <button aria-controls="toc-Proposed_functions_requiring_future_types-sublist" class="cdx-button cdx-button--weight-quiet cdx-button--icon-only vector-toc-toggle"> <span class="vector-icon mw-ui-icon-wikimedia-expand"></span> <span>Toggle Proposed functions requiring future types subsection</span> </button> <ul id="toc-Proposed_functions_requiring_future_types-sublist" class="vector-toc-list"> <li id="toc-String_manipulation_functions" class="vector-toc-list-item vector-toc-level-2"> <a class="vector-toc-link" href="#String_manipulation_functions"> <div class="vector-toc-text"> <span class="vector-toc-numb">3.1</span> <span>String manipulation functions</span> </div> </a> <ul id="toc-String_manipulation_functions-sublist" class="vector-toc-list"> </ul> </li> <li id="toc-String_analysis_functions_2" class="vector-toc-list-item vector-toc-level-2"> <a class="vector-toc-link" href="#String_analysis_functions_2"> <div class="vector-toc-text"> <span class="vector-toc-numb">3.2</span> <span>String analysis functions</span> </div> </a> <ul id="toc-String_analysis_functions_2-sublist" class="vector-toc-list"> </ul> </li> <li id="toc-String_encoding_and_decoding_functions_2" class="vector-toc-list-item vector-toc-level-2"> <a class="vector-toc-link" href="#String_encoding_and_decoding_functions_2"> <div class="vector-toc-text"> <span class="vector-toc-numb">3.3</span> <span>String encoding and decoding functions</span> </div> </a> <ul id="toc-String_encoding_and_decoding_functions_2-sublist" class="vector-toc-list"> </ul> </li> <li id="toc-Natural_language_functions" class="vector-toc-list-item vector-toc-level-2"> <a class="vector-toc-link" href="#Natural_language_functions"> <div class="vector-toc-text"> <span class="vector-toc-numb">3.4</span> <span>Natural language functions</span> </div> </a> <ul id="toc-Natural_language_functions-sublist" class="vector-toc-list"> </ul> </li> <li id="toc-Cryptographic_hash_functions" class="vector-toc-list-item vector-toc-level-2"> <a class="vector-toc-link" href="#Cryptographic_hash_functions"> <div class="vector-toc-text"> <span class="vector-toc-numb">3.5</span> <span>Cryptographic hash functions</span> </div> </a> <ul id="toc-Cryptographic_hash_functions-sublist" class="vector-toc-list"> </ul> </li> <li id="toc-Colour_functions" class="vector-toc-list-item vector-toc-level-2"> <a class="vector-toc-link" href="#Colour_functions"> <div class="vector-toc-text"> <span class="vector-toc-numb">3.6</span> <span>Colour functions</span> </div> </a> <ul id="toc-Colour_functions-sublist" class="vector-toc-list"> </ul> </li> <li id="toc-Date,_time,_and_calendric_functions" class="vector-toc-list-item vector-toc-level-2"> <a class="vector-toc-link" href="#Date,_time,_and_calendric_functions"> <div class="vector-toc-text"> <span class="vector-toc-numb">3.7</span> <span>Date, time, and calendric functions</span> </div> </a> <ul id="toc-Date,_time,_and_calendric_functions-sublist" class="vector-toc-list"> <li id="toc-Bengali_calendar" class="vector-toc-list-item vector-toc-level-3"> <a class="vector-toc-link" href="#Bengali_calendar"> <div class="vector-toc-text"> <span class="vector-toc-numb">3.7.1</span> <span>Bengali calendar</span> </div> </a> <ul id="toc-Bengali_calendar-sublist" class="vector-toc-list"> </ul> </li> <li id="toc-Chinese_calendar" class="vector-toc-list-item vector-toc-level-3"> <a class="vector-toc-link" href="#Chinese_calendar"> <div class="vector-toc-text"> <span class="vector-toc-numb">3.7.2</span> <span>Chinese calendar</span> </div> </a> <ul id="toc-Chinese_calendar-sublist" class="vector-toc-list"> </ul> </li> <li id="toc-French_Republican_Calendar" class="vector-toc-list-item vector-toc-level-3"> <a class="vector-toc-link" href="#French_Republican_Calendar"> <div class="vector-toc-text"> <span class="vector-toc-numb">3.7.3</span> <span>French Republican Calendar</span> </div> </a> <ul id="toc-French_Republican_Calendar-sublist" class="vector-toc-list"> </ul> </li> <li id="toc-Gregorian" class="vector-toc-list-item vector-toc-level-3"> <a class="vector-toc-link" href="#Gregorian"> <div class="vector-toc-text"> <span class="vector-toc-numb">3.7.4</span> <span>Gregorian</span> </div> </a> <ul id="toc-Gregorian-sublist" class="vector-toc-list"> </ul> </li> <li id="toc-Holocene_calendar" class="vector-toc-list-item vector-toc-level-3"> <a class="vector-toc-link" href="#Holocene_calendar"> <div class="vector-toc-text"> <span class="vector-toc-numb">3.7.5</span> <span>Holocene calendar</span> </div> </a> <ul id="toc-Holocene_calendar-sublist" class="vector-toc-list"> </ul> </li> <li id="toc-Indian_national_calendar" class="vector-toc-list-item vector-toc-level-3"> <a class="vector-toc-link" href="#Indian_national_calendar"> <div class="vector-toc-text"> <span class="vector-toc-numb">3.7.6</span> <span>Indian national calendar</span> </div> </a> <ul id="toc-Indian_national_calendar-sublist" class="vector-toc-list"> </ul> </li> <li id="toc-Islamic" class="vector-toc-list-item vector-toc-level-3"> <a class="vector-toc-link" href="#Islamic"> <div class="vector-toc-text"> <span class="vector-toc-numb">3.7.7</span> <span>Islamic</span> </div> </a> <ul id="toc-Islamic-sublist" class="vector-toc-list"> </ul> </li> <li id="toc-Julian" class="vector-toc-list-item vector-toc-level-3"> <a class="vector-toc-link" href="#Julian"> <div class="vector-toc-text"> <span class="vector-toc-numb">3.7.8</span> <span>Julian</span> </div> </a> <ul id="toc-Julian-sublist" class="vector-toc-list"> </ul> </li> <li id="toc-Mesoamerican_calendars" class="vector-toc-list-item vector-toc-level-3"> <a class="vector-toc-link" href="#Mesoamerican_calendars"> <div class="vector-toc-text"> <span class="vector-toc-numb">3.7.9</span> <span>Mesoamerican calendars</span> </div> </a> <ul id="toc-Mesoamerican_calendars-sublist" class="vector-toc-list"> </ul> </li> <li id="toc-Persian" class="vector-toc-list-item vector-toc-level-3"> <a class="vector-toc-link" href="#Persian"> <div class="vector-toc-text"> <span class="vector-toc-numb">3.7.10</span> <span>Persian</span> </div> </a> <ul id="toc-Persian-sublist" class="vector-toc-list"> </ul> </li> <li id="toc-Thai_calendar" class="vector-toc-list-item vector-toc-level-3"> <a class="vector-toc-link" href="#Thai_calendar"> <div class="vector-toc-text"> <span class="vector-toc-numb">3.7.11</span> <span>Thai calendar</span> </div> </a> <ul id="toc-Thai_calendar-sublist" class="vector-toc-list"> </ul> </li> <li id="toc-Hebrew_calendar" class="vector-toc-list-item vector-toc-level-3"> <a class="vector-toc-link" href="#Hebrew_calendar"> <div class="vector-toc-text"> <span class="vector-toc-numb">3.7.12</span> <span>Hebrew calendar</span> </div> </a> <ul id="toc-Hebrew_calendar-sublist" class="vector-toc-list"> </ul> </li> </ul> </li> <li id="toc-Basic_numerical_functions" class="vector-toc-list-item vector-toc-level-2"> <a class="vector-toc-link" href="#Basic_numerical_functions"> <div class="vector-toc-text"> <span class="vector-toc-numb">3.8</span> <span>Basic numerical functions</span> </div> </a> <ul id="toc-Basic_numerical_functions-sublist" class="vector-toc-list"> </ul> </li> <li id="toc-Data_serialization_functions" class="vector-toc-list-item vector-toc-level-2"> <a class="vector-toc-link" href="#Data_serialization_functions"> <div class="vector-toc-text"> <span class="vector-toc-numb">3.9</span> <span>Data serialization functions</span> </div> </a> <ul id="toc-Data_serialization_functions-sublist" class="vector-toc-list"> </ul> </li> <li id="toc-Basic_list/iterable_functions_requiring_numeric_types" class="vector-toc-list-item vector-toc-level-2"> <a class="vector-toc-link" href="#Basic_list/iterable_functions_requiring_numeric_types"> <div class="vector-toc-text"> <span class="vector-toc-numb">3.10</span> <span>Basic list/iterable functions requiring numeric types</span> </div> </a> <ul id="toc-Basic_list/iterable_functions_requiring_numeric_types-sublist" class="vector-toc-list"> </ul> </li> <li id="toc-Geodetics_functions" class="vector-toc-list-item vector-toc-level-2"> <a class="vector-toc-link" href="#Geodetics_functions"> <div class="vector-toc-text"> <span class="vector-toc-numb">3.11</span> <span>Geodetics functions</span> </div> </a> <ul id="toc-Geodetics_functions-sublist" class="vector-toc-list"> <li id="toc-Earth" class="vector-toc-list-item vector-toc-level-3"> <a class="vector-toc-link" href="#Earth"> <div class="vector-toc-text"> <span class="vector-toc-numb">3.11.1</span> <span>Earth</span> </div> </a> <ul id="toc-Earth-sublist" class="vector-toc-list"> </ul> </li> <li id="toc-Mars" class="vector-toc-list-item vector-toc-level-3"> <a class="vector-toc-link" href="#Mars"> <div class="vector-toc-text"> <span class="vector-toc-numb">3.11.2</span> <span>Mars</span> </div> </a> <ul id="toc-Mars-sublist" class="vector-toc-list"> </ul> </li> </ul> </li> <li id="toc-Unit_conversion_functions" class="vector-toc-list-item vector-toc-level-2"> <a class="vector-toc-link" href="#Unit_conversion_functions"> <div class="vector-toc-text"> <span class="vector-toc-numb">3.12</span> <span>Unit conversion functions</span> </div> </a> <ul id="toc-Unit_conversion_functions-sublist" class="vector-toc-list"> </ul> </li> </ul> </li> <li id="toc-Object_/_type_/_function_functions" class="vector-toc-list-item vector-toc-level-1"> <a class="vector-toc-link" href="#Object_/_type_/_function_functions"> <div class="vector-toc-text"> <span class="vector-toc-numb">4</span> <span>Object / type / function functions</span> </div> </a> <ul id="toc-Object_/_type_/_function_functions-sublist" class="vector-toc-list"> </ul> </li> <li id="toc-External_function_lists" class="vector-toc-list-item vector-toc-level-1"> <a class="vector-toc-link" href="#External_function_lists"> <div class="vector-toc-text"> <span class="vector-toc-numb">5</span> <span>External function lists</span> </div> </a> <ul id="toc-External_function_lists-sublist" class="vector-toc-list"> </ul> </li> </ul> </div> </div> </nav> </div> </div> <div class="mw-content-container"> <main id="content" class="mw-body"> <header class="mw-body-header vector-page-titlebar"> <nav aria-label="Contents" class="vector-toc-landmark"> <div id="vector-page-titlebar-toc" class="vector-dropdown vector-page-titlebar-toc vector-button-flush-left" > <input type="checkbox" id="vector-page-titlebar-toc-checkbox" role="button" aria-haspopup="true" data-event-name="ui.dropdown-vector-page-titlebar-toc" class="vector-dropdown-checkbox " aria-label="Toggle the table of contents" > <label id="vector-page-titlebar-toc-label" for="vector-page-titlebar-toc-checkbox" class="vector-dropdown-label cdx-button cdx-button--fake-button cdx-button--fake-button--enabled cdx-button--weight-quiet cdx-button--icon-only " aria-hidden="true" ><span class="vector-icon mw-ui-icon-listBullet mw-ui-icon-wikimedia-listBullet"></span> <span class="vector-dropdown-label-text">Toggle the table of contents</span> </label> <div class="vector-dropdown-content"> <div id="vector-page-titlebar-toc-unpinned-container" class="vector-unpinned-container"> </div> </div> </div> </nav> <h1 id="firstHeading" class="firstHeading mw-first-heading"><span class="mw-page-title-namespace">Wikifunctions</span><span class="mw-page-title-separator">:</span><span class="mw-page-title-main">Suggest a function</span></h1> <div class="mw-indicators"> </div> </header> <div class="vector-page-toolbar"> <div class="vector-page-toolbar-container"> <div id="left-navigation"> <nav aria-label="Namespaces"> <div id="p-associated-pages" class="vector-menu vector-menu-tabs mw-portlet mw-portlet-associated-pages" > <div class="vector-menu-content"> <ul class="vector-menu-content-list"> <li id="ca-nstab-project" class="selected vector-tab-noicon mw-list-item"><a href="/wiki/Wikifunctions:Suggest_a_function" title="View the project page [c]" accesskey="c"><span>Project page</span></a></li><li id="ca-talk" class="vector-tab-noicon mw-list-item"><a href="/wiki/Wikifunctions_talk:Suggest_a_function" rel="discussion" title="Discussion about the content page [t]" accesskey="t"><span>Discussion</span></a></li> </ul> </div> </div> <div id="vector-variants-dropdown" class="vector-dropdown emptyPortlet" > <input type="checkbox" id="vector-variants-dropdown-checkbox" role="button" aria-haspopup="true" data-event-name="ui.dropdown-vector-variants-dropdown" class="vector-dropdown-checkbox " aria-label="Change language variant" > <label id="vector-variants-dropdown-label" for="vector-variants-dropdown-checkbox" class="vector-dropdown-label cdx-button cdx-button--fake-button cdx-button--fake-button--enabled cdx-button--weight-quiet" aria-hidden="true" ><span class="vector-dropdown-label-text">English</span> </label> <div class="vector-dropdown-content"> <div id="p-variants" class="vector-menu mw-portlet mw-portlet-variants emptyPortlet" > <div class="vector-menu-content"> <ul class="vector-menu-content-list"> </ul> </div> </div> </div> </div> </nav> </div> <div id="right-navigation" class="vector-collapsible"> <nav aria-label="Views"> <div id="p-views" class="vector-menu vector-menu-tabs mw-portlet mw-portlet-views" > <div class="vector-menu-content"> <ul class="vector-menu-content-list"> <li id="ca-view" class="selected vector-tab-noicon mw-list-item"><a href="/wiki/Wikifunctions:Suggest_a_function"><span>Read</span></a></li><li id="ca-viewsource" class="vector-tab-noicon mw-list-item"><a href="/w/index.php?title=Wikifunctions:Suggest_a_function&amp;action=edit" title="This page is protected.&#10;You can view its source [e]" accesskey="e"><span>View source</span></a></li><li id="ca-history" class="vector-tab-noicon mw-list-item"><a href="/w/index.php?title=Wikifunctions:Suggest_a_function&amp;action=history" title="Past revisions of this page [h]" accesskey="h"><span>View history</span></a></li> </ul> </div> </div> </nav> <nav class="vector-page-tools-landmark" aria-label="Page tools"> <div id="vector-page-tools-dropdown" class="vector-dropdown vector-page-tools-dropdown" > <input type="checkbox" id="vector-page-tools-dropdown-checkbox" role="button" aria-haspopup="true" data-event-name="ui.dropdown-vector-page-tools-dropdown" class="vector-dropdown-checkbox " aria-label="Tools" > <label id="vector-page-tools-dropdown-label" for="vector-page-tools-dropdown-checkbox" class="vector-dropdown-label cdx-button cdx-button--fake-button cdx-button--fake-button--enabled cdx-button--weight-quiet" aria-hidden="true" ><span class="vector-dropdown-label-text">Tools</span> </label> <div class="vector-dropdown-content"> <div id="vector-page-tools-unpinned-container" class="vector-unpinned-container"> <div id="vector-page-tools" class="vector-page-tools vector-pinnable-element"> <div class="vector-pinnable-header vector-page-tools-pinnable-header vector-pinnable-header-unpinned" data-feature-name="page-tools-pinned" data-pinnable-element-id="vector-page-tools" data-pinned-container-id="vector-page-tools-pinned-container" data-unpinned-container-id="vector-page-tools-unpinned-container" > <div class="vector-pinnable-header-label">Tools</div> <button class="vector-pinnable-header-toggle-button vector-pinnable-header-pin-button" data-event-name="pinnable-header.vector-page-tools.pin">move to sidebar</button> <button class="vector-pinnable-header-toggle-button vector-pinnable-header-unpin-button" data-event-name="pinnable-header.vector-page-tools.unpin">hide</button> </div> <div id="p-cactions" class="vector-menu mw-portlet mw-portlet-cactions emptyPortlet vector-has-collapsible-items" title="More options" > <div class="vector-menu-heading"> Actions </div> <div class="vector-menu-content"> <ul class="vector-menu-content-list"> <li id="ca-more-view" class="selected vector-more-collapsible-item mw-list-item"><a href="/wiki/Wikifunctions:Suggest_a_function"><span>Read</span></a></li><li id="ca-more-viewsource" class="vector-more-collapsible-item mw-list-item"><a href="/w/index.php?title=Wikifunctions:Suggest_a_function&amp;action=edit"><span>View source</span></a></li><li id="ca-more-history" class="vector-more-collapsible-item mw-list-item"><a href="/w/index.php?title=Wikifunctions:Suggest_a_function&amp;action=history"><span>View history</span></a></li> </ul> </div> </div> <div id="p-tb" class="vector-menu mw-portlet mw-portlet-tb" > <div class="vector-menu-heading"> General </div> <div class="vector-menu-content"> <ul class="vector-menu-content-list"> <li id="t-whatlinkshere" class="mw-list-item"><a href="/wiki/Special:WhatLinksHere/Wikifunctions:Suggest_a_function" title="A list of all wiki pages that link here [j]" accesskey="j"><span>What links here</span></a></li><li id="t-recentchangeslinked" class="mw-list-item"><a href="/wiki/Special:RecentChangesLinked/Wikifunctions:Suggest_a_function" rel="nofollow" title="Recent changes in pages linked from this page [k]" accesskey="k"><span>Related changes</span></a></li><li id="t-upload" class="mw-list-item"><a href="//commons.wikimedia.org/wiki/Special:UploadWizard" title="Upload files [u]" accesskey="u"><span>Upload file</span></a></li><li id="t-specialpages" class="mw-list-item"><a href="/wiki/Special:SpecialPages" title="A list of all special pages [q]" accesskey="q"><span>Special pages</span></a></li><li id="t-permalink" class="mw-list-item"><a href="/w/index.php?title=Wikifunctions:Suggest_a_function&amp;oldid=139437" title="Permanent link to this revision of this page"><span>Permanent link</span></a></li><li id="t-info" class="mw-list-item"><a href="/w/index.php?title=Wikifunctions:Suggest_a_function&amp;action=info" title="More information about this page"><span>Page information</span></a></li><li id="t-urlshortener" class="mw-list-item"><a href="/w/index.php?title=Special:UrlShortener&amp;url=https%3A%2F%2Fwww.wikifunctions.org%2Fwiki%2FWikifunctions%3ASuggest_a_function"><span>Get shortened URL</span></a></li><li id="t-urlshortener-qrcode" class="mw-list-item"><a href="/w/index.php?title=Special:QrCode&amp;url=https%3A%2F%2Fwww.wikifunctions.org%2Fwiki%2FWikifunctions%3ASuggest_a_function"><span>Download QR code</span></a></li> </ul> </div> </div> <div id="p-electronpdfservice-sidebar-portlet-heading" class="vector-menu mw-portlet mw-portlet-electronpdfservice-sidebar-portlet-heading" > <div class="vector-menu-heading"> Print/export </div> <div class="vector-menu-content"> <ul class="vector-menu-content-list"> <li id="electron-print_pdf" class="mw-list-item"><a href="/w/index.php?title=Special:DownloadAsPdf&amp;page=Wikifunctions%3ASuggest_a_function&amp;action=show-download-screen"><span>Download as PDF</span></a></li><li id="t-print" class="mw-list-item"><a href="javascript:print();" rel="alternate" title="Printable version of this page [p]" accesskey="p"><span>Printable version</span></a></li> </ul> </div> </div> <div id="p-wikibase-otherprojects" class="vector-menu mw-portlet mw-portlet-wikibase-otherprojects emptyPortlet" > <div class="vector-menu-heading"> In other projects </div> <div class="vector-menu-content"> <ul class="vector-menu-content-list"> </ul> </div> </div> </div> </div> </div> </div> </nav> </div> </div> </div> <div class="vector-column-end"> <div class="vector-sticky-pinned-container"> <nav class="vector-page-tools-landmark" aria-label="Page tools"> <div id="vector-page-tools-pinned-container" class="vector-pinned-container"> </div> </nav> <nav class="vector-appearance-landmark" aria-label="Appearance"> <div id="vector-appearance-pinned-container" class="vector-pinned-container"> <div id="vector-appearance" class="vector-appearance vector-pinnable-element"> <div class="vector-pinnable-header vector-appearance-pinnable-header vector-pinnable-header-pinned" data-feature-name="appearance-pinned" data-pinnable-element-id="vector-appearance" data-pinned-container-id="vector-appearance-pinned-container" data-unpinned-container-id="vector-appearance-unpinned-container" > <div class="vector-pinnable-header-label">Appearance</div> <button class="vector-pinnable-header-toggle-button vector-pinnable-header-pin-button" data-event-name="pinnable-header.vector-appearance.pin">move to sidebar</button> <button class="vector-pinnable-header-toggle-button vector-pinnable-header-unpin-button" data-event-name="pinnable-header.vector-appearance.unpin">hide</button> </div> </div> </div> </nav> </div> </div> <div id="bodyContent" class="vector-body" aria-labelledby="firstHeading" data-mw-ve-target-container> <div class="vector-body-before-content"> <div id="siteSub" class="noprint">From Wikifunctions</div> </div> <div id="contentSub"><div id="mw-content-subtitle"></div></div> <div id="mw-content-text" class="mw-body-content"><div class="mw-content-ltr mw-parser-output" lang="en" dir="ltr"><p>Do you have an idea for a new function? Suggest it here! It may help to refer to <a href="/wiki/Wikifunctions:Glossary" title="Wikifunctions:Glossary">our glossary</a>. </p><p>You can go and <a class="external text" href="https://www.wikifunctions.org/wiki/Special:CreateZObject?zid=Z8">create a function</a> right away if you have the user-rights, and it aligns with other work. </p><p>Note that for now <b>we only support strings, Booleans, Natural numbers, and lists as input and output types</b> of functions. More types are coming in the next few months. </p><p>Once created, consider adding new Functions to the <a href="/wiki/Wikifunctions:Catalogue" title="Wikifunctions:Catalogue">catalogue</a>. </p> <meta property="mw:PageProp/toc"/> <div class="mw-heading mw-heading2 ext-discussiontools-init-section"><!--__DTSUBSCRIBEBUTTONDESKTOP__{&quot;headingLevel&quot;:2,&quot;name&quot;:&quot;h-MilkyDefer-20230805112200&quot;,&quot;type&quot;:&quot;heading&quot;,&quot;level&quot;:0,&quot;id&quot;:&quot;h-Proposed_functions_requiring_only_available_types_(string,_Boolean,_Natural_numb-20230805112200&quot;,&quot;replies&quot;:[&quot;h-String-Proposed_functions_requiring_only_available_types_(string,_Boolean,_Natural_numb-20230805112200&quot;,&quot;h-Natural_number-Proposed_functions_requiring_only_available_types_(string,_Boolean,_Natural_numb&quot;,&quot;h-Integer-Proposed_functions_requiring_only_available_types_(string,_Boolean,_Natural_numb&quot;,&quot;h-Object-Proposed_functions_requiring_only_available_types_(string,_Boolean,_Natural_numb&quot;,&quot;h-List-Proposed_functions_requiring_only_available_types_(string,_Boolean,_Natural_numb-20240518112000&quot;,&quot;h-Functions_with_functions_as_arguments-Proposed_functions_requiring_only_available_types_(string,_Boolean,_Natural_numb&quot;],&quot;text&quot;:&quot;Proposed functions requiring only available types (string, Boolean, Natural number, list)&quot;,&quot;linkableTitle&quot;:&quot;Proposed functions requiring only available types (string, Boolean, Natural number, list)&quot;}--><h2 id="Proposed_functions_requiring_only_available_types_(string,_Boolean,_Natural_number,_list)" data-mw-thread-id="h-Proposed_functions_requiring_only_available_types_(string,_Boolean,_Natural_numb-20230805112200"><span id="Proposed_functions_requiring_only_available_types_.28string.2C_Boolean.2C_Natural_number.2C_list.29"></span><span data-mw-comment-start="" id="h-Proposed_functions_requiring_only_available_types_(string,_Boolean,_Natural_numb-20230805112200"></span>Proposed functions requiring only available types (string, Boolean, Natural number, list)<span data-mw-comment-end="h-Proposed_functions_requiring_only_available_types_(string,_Boolean,_Natural_numb-20230805112200"></span></h2><!--__DTELLIPSISBUTTON__{"threadItem":{"headingLevel":2,"name":"h-MilkyDefer-20230805112200","type":"heading","level":0,"id":"h-Proposed_functions_requiring_only_available_types_(string,_Boolean,_Natural_numb-20230805112200","replies":["h-String-Proposed_functions_requiring_only_available_types_(string,_Boolean,_Natural_numb-20230805112200","h-Natural_number-Proposed_functions_requiring_only_available_types_(string,_Boolean,_Natural_numb","h-Integer-Proposed_functions_requiring_only_available_types_(string,_Boolean,_Natural_numb","h-Object-Proposed_functions_requiring_only_available_types_(string,_Boolean,_Natural_numb","h-List-Proposed_functions_requiring_only_available_types_(string,_Boolean,_Natural_numb-20240518112000","h-Functions_with_functions_as_arguments-Proposed_functions_requiring_only_available_types_(string,_Boolean,_Natural_numb"]}}--><div class="ext-discussiontools-init-section-bar"><div class="ext-discussiontools-init-section-metadata"><!--__DTLATESTCOMMENTTHREAD__{"id":"c-MolecularPilot-20241026102100-String_character_discard_functions","timestamp":"20241026102100"}__--><!--__DTCOMMENTCOUNT__8__--><!--__DTAUTHORCOUNT__8__--></div><div class="ext-discussiontools-init-section-actions"><!--__DTSUBSCRIBEBUTTONMOBILE__{&quot;headingLevel&quot;:2,&quot;name&quot;:&quot;h-MilkyDefer-20230805112200&quot;,&quot;type&quot;:&quot;heading&quot;,&quot;level&quot;:0,&quot;id&quot;:&quot;h-Proposed_functions_requiring_only_available_types_(string,_Boolean,_Natural_numb-20230805112200&quot;,&quot;replies&quot;:[&quot;h-String-Proposed_functions_requiring_only_available_types_(string,_Boolean,_Natural_numb-20230805112200&quot;,&quot;h-Natural_number-Proposed_functions_requiring_only_available_types_(string,_Boolean,_Natural_numb&quot;,&quot;h-Integer-Proposed_functions_requiring_only_available_types_(string,_Boolean,_Natural_numb&quot;,&quot;h-Object-Proposed_functions_requiring_only_available_types_(string,_Boolean,_Natural_numb&quot;,&quot;h-List-Proposed_functions_requiring_only_available_types_(string,_Boolean,_Natural_numb-20240518112000&quot;,&quot;h-Functions_with_functions_as_arguments-Proposed_functions_requiring_only_available_types_(string,_Boolean,_Natural_numb&quot;],&quot;text&quot;:&quot;Proposed functions requiring only available types (string, Boolean, Natural number, list)&quot;,&quot;linkableTitle&quot;:&quot;Proposed functions requiring only available types (string, Boolean, Natural number, list)&quot;}--></div></div></div> <div class="mw-heading mw-heading3"><h3 id="String" data-mw-thread-id="h-String-Proposed_functions_requiring_only_available_types_(string,_Boolean,_Natural_numb-20230805112200"><span data-mw-comment-start="" id="h-String-Proposed_functions_requiring_only_available_types_(string,_Boolean,_Natural_numb-20230805112200"></span>String<span data-mw-comment-end="h-String-Proposed_functions_requiring_only_available_types_(string,_Boolean,_Natural_numb-20230805112200"></span></h3></div> <div class="mw-heading mw-heading4"><h4 id="String_character_discard_functions" data-mw-thread-id="h-String_character_discard_functions-String-20241026102100"><span data-mw-comment-start="" id="h-String_character_discard_functions-String-20241026102100"></span>String character discard functions<span data-mw-comment-end="h-String_character_discard_functions-String-20241026102100"></span></h4></div> <ul><li><span data-mw-comment-start="" id="c-MolecularPilot-20241026102100-String_character_discard_functions"></span>remove stereochemical specificity in <a href="https://en.wikipedia.org/wiki/Simplified_molecular-input_line-entry_system" class="extiw" title="en:Simplified molecular-input line-entry system">SMILES</a> string, like e/z isomers <ul><li>already fulfilled by someone else at: <a href="/view/en/Z11815" title="Z11815">remove stereochemical specificity at tetrahedral sites in SMILES string (<span dir="ltr">Z11815</span>)</a></li></ul></li> <li>simplify <a href="https://en.wikipedia.org/wiki/Simplified_molecular-input_line-entry_system" class="extiw" title="en:Simplified molecular-input line-entry system">SMILES</a> string according to some basic simplifications <ul><li><span title="Partly done" style="white-space: nowrap;"><span typeof="mw:File"><span><img src="//upload.wikimedia.org/wikipedia/commons/thumb/e/ee/OOjs_UI_icon_check-destructive.svg/25px-OOjs_UI_icon_check-destructive.svg.png" decoding="async" width="25" height="25" class="mw-file-element" srcset="//upload.wikimedia.org/wikipedia/commons/thumb/e/ee/OOjs_UI_icon_check-destructive.svg/38px-OOjs_UI_icon_check-destructive.svg.png 1.5x, //upload.wikimedia.org/wikipedia/commons/thumb/e/ee/OOjs_UI_icon_check-destructive.svg/50px-OOjs_UI_icon_check-destructive.svg.png 2x" data-file-width="20" data-file-height="20"/></span></span><b> Partly done</b></span>, see <a href="/view/en/Z19380" title="Z19380">simplify SMILES string (<span dir="ltr">Z19380</span>)</a>. There's testcases, and I (or someone else) can get around to the coding later. <a href="/wiki/User:MolecularPilot" title="User:MolecularPilot">MolecularPilot</a> (<a href="/w/index.php?title=User_talk:MolecularPilot&amp;action=edit&amp;redlink=1" class="new" title="User talk:MolecularPilot (page does not exist)">talk</a>) <a href="https://www.wikifunctions.org/wiki/Wikifunctions:Suggest_a_function#c-MolecularPilot-20241026102100-String_character_discard_functions" class="ext-discussiontools-init-timestamplink">10:21, 26 October 2024 (UTC)</a><span class="ext-discussiontools-init-replylink-buttons" data-mw-thread-id="c-MolecularPilot-20241026102100-String_character_discard_functions"><span class="ext-discussiontools-init-replylink-bracket">[</span><a class="ext-discussiontools-init-replylink-reply" role="button" tabindex="0" href="">reply</a><span class="ext-discussiontools-init-replylink-bracket">]</span><!--__DTELLIPSISBUTTON__{"threadItem":{"timestamp":"20241026102100","author":"MolecularPilot","type":"comment","level":2,"id":"c-MolecularPilot-20241026102100-String_character_discard_functions","replies":[]}}--></span><span data-mw-comment-end="c-MolecularPilot-20241026102100-String_character_discard_functions"></span></li></ul></li></ul> <div class="mw-heading mw-heading4"><h4 id="String_character_replacement_functions" data-mw-thread-id="h-String_character_replacement_functions-String"><span data-mw-comment-start="" id="h-String_character_replacement_functions-String"></span>String character replacement functions<span data-mw-comment-end="h-String_character_replacement_functions-String"></span></h4></div> <div class="mw-heading mw-heading4"><h4 id="String_search_functions" data-mw-thread-id="h-String_search_functions-String"><span data-mw-comment-start="" id="h-String_search_functions-String"></span>String search functions<span data-mw-comment-end="h-String_search_functions-String"></span></h4></div> <div class="mw-heading mw-heading4"><h4 id="String_escaping_and_unescaping_functions" data-mw-thread-id="h-String_escaping_and_unescaping_functions-String"><span data-mw-comment-start="" id="h-String_escaping_and_unescaping_functions-String"></span>String escaping and unescaping functions<span data-mw-comment-end="h-String_escaping_and_unescaping_functions-String"></span></h4></div> <div class="mw-heading mw-heading4"><h4 id="String_encoding_and_decoding_functions" data-mw-thread-id="h-String_encoding_and_decoding_functions-String-20231226152400"><span data-mw-comment-start="" id="h-String_encoding_and_decoding_functions-String-20231226152400"></span>String encoding and decoding functions<span data-mw-comment-end="h-String_encoding_and_decoding_functions-String-20231226152400"></span></h4></div> <ul><li><span data-mw-comment-start="" id="c-BrightSunMan-20231226152400-String_encoding_and_decoding_functions"></span>Unicode normalising functions (there are several types of normalisation)</li> <li><a href="https://www.wikidata.org/wiki/Q47467628" class="extiw" title="wikidata:Q47467628">Backslash-U with delimiters ASCII encoding of Unicode encode</a> <ul><li>Can someone elaborate on this? No example cases were given on the document, and backslash-U with delimiters is anyway not that prevalent as far as I have seen. <a href="/wiki/User:BrightSunMan" title="User:BrightSunMan">BrightSunMan</a> (<a href="/wiki/User_talk:BrightSunMan" title="User talk:BrightSunMan">talk</a>) <a href="https://www.wikifunctions.org/wiki/Wikifunctions:Suggest_a_function#c-BrightSunMan-20231226152400-String_encoding_and_decoding_functions" class="ext-discussiontools-init-timestamplink">15:24, 26 December 2023 (UTC)</a><span class="ext-discussiontools-init-replylink-buttons" data-mw-thread-id="c-BrightSunMan-20231226152400-String_encoding_and_decoding_functions"><span class="ext-discussiontools-init-replylink-bracket">[</span><a class="ext-discussiontools-init-replylink-reply" role="button" tabindex="0" href="">reply</a><span class="ext-discussiontools-init-replylink-bracket">]</span><!--__DTELLIPSISBUTTON__{"threadItem":{"timestamp":"20231226152400","author":"BrightSunMan","type":"comment","level":2,"id":"c-BrightSunMan-20231226152400-String_encoding_and_decoding_functions","replies":[]}}--></span><span data-mw-comment-end="c-BrightSunMan-20231226152400-String_encoding_and_decoding_functions"></span></li></ul></li> <li><a href="https://www.wikidata.org/wiki/Q47467628" class="extiw" title="wikidata:Q47467628">Backslash-U with delimiters ASCII encoding of Unicode decode</a></li> <li><a href="https://www.wikidata.org/wiki/Q47467628" class="extiw" title="wikidata:Q47467628">XML and HTML ASCII encoding of Unicode encode</a></li> <li><a href="https://www.wikidata.org/wiki/Q47467628" class="extiw" title="wikidata:Q47467628">XML and HTML ASCII encoding of Unicode decode</a></li> <li><a rel="nofollow" class="external text" href="https://html.spec.whatwg.org/#named-character-references">HTML named character encode</a></li> <li><a href="https://www.wikidata.org/wiki/Q47466379" class="extiw" title="wikidata:Q47466379">Punycode encode</a> - <a href="/view/en/Z10178" title="Z10178">Punycode encode (<span dir="ltr">Z10178</span>)</a> (part only, not whole url); see also <a href="/view/en/Z10185" title="Z10185">IDNA encode (<span dir="ltr">Z10185</span>)</a></li> <li><a href="https://www.wikidata.org/wiki/Q47466379" class="extiw" title="wikidata:Q47466379">Punycode decode</a> - <a href="/view/en/Z10181" title="Z10181">Punycode decode (<span dir="ltr">Z10181</span>)</a> (part only, not whole url); see also <a href="/view/en/Z10188" title="Z10188">IDNA decode (<span dir="ltr">Z10188</span>)</a></li> <li><a href="https://en.wikipedia.org/wiki/Unified_English_Braille" class="extiw" title="en:Unified English Braille">Unified English Braille encode</a> (discarding invalid characters?)</li> <li><a href="https://en.wikipedia.org/wiki/Unified_English_Braille" class="extiw" title="en:Unified English Braille">Unified English Braille decode</a></li></ul> <div class="mw-heading mw-heading4"><h4 id="String_presentation_functions" data-mw-thread-id="h-String_presentation_functions-String-20230904171500"><span data-mw-comment-start="" id="h-String_presentation_functions-String-20230904171500"></span>String presentation functions<span data-mw-comment-end="h-String_presentation_functions-String-20230904171500"></span></h4></div> <ul><li><span data-mw-comment-start="" id="c-Dexxor-20230904171500-String_presentation_functions"></span>add <a href="https://en.wikipedia.org/wiki/Quotation_mark" class="extiw" title="en:Quotation mark">locale-specific quotation marks</a> to string <ul><li>Shouldn't the output depend on the locale? See <a href="https://www.mediawiki.org/wiki/Extension:Scribunto/Lua_reference_manual#mw.language:formatNum" class="extiw" title="mw:Extension:Scribunto/Lua reference manual">mw.language:formatNum</a>. —<a href="/wiki/User:Dexxor" title="User:Dexxor">Dexxor</a> (<a href="/w/index.php?title=User_talk:Dexxor&amp;action=edit&amp;redlink=1" class="new" title="User talk:Dexxor (page does not exist)">talk</a>) <a href="https://www.wikifunctions.org/wiki/Wikifunctions:Suggest_a_function#c-Dexxor-20230904171500-String_presentation_functions" class="ext-discussiontools-init-timestamplink">17:15, 4 September 2023 (UTC)</a><span class="ext-discussiontools-init-replylink-buttons" data-mw-thread-id="c-Dexxor-20230904171500-String_presentation_functions"><span class="ext-discussiontools-init-replylink-bracket">[</span><a class="ext-discussiontools-init-replylink-reply" role="button" tabindex="0" href="">reply</a><span class="ext-discussiontools-init-replylink-bracket">]</span><!--__DTELLIPSISBUTTON__{"threadItem":{"timestamp":"20230904171500","author":"Dexxor","type":"comment","level":2,"id":"c-Dexxor-20230904171500-String_presentation_functions","replies":[]}}--></span><span data-mw-comment-end="c-Dexxor-20230904171500-String_presentation_functions"></span></li></ul></li></ul> <div class="mw-heading mw-heading4"><h4 id="String_colour_notation_functions" data-mw-thread-id="h-String_colour_notation_functions-String-20230805112200"><span data-mw-comment-start="" id="h-String_colour_notation_functions-String-20230805112200"></span>String colour notation functions<span data-mw-comment-end="h-String_colour_notation_functions-String-20230805112200"></span></h4></div> <ul><li><a href="https://en.wikipedia.org/wiki/Complementary_colors" class="extiw" title="en:Complementary colors"><span data-mw-comment-start="" id="c-MilkyDefer-20230805112200-String_colour_notation_functions"></span>complementary colour</a> in RGB colour model ("#FF0000" ⇒ "#00FFFF") <ul><li>Any specification on invalid inputs? <a href="/wiki/User:MilkyDefer" title="User:MilkyDefer"><span style="color:#09C">Milky</span></a><a href="/wiki/User_talk:MilkyDefer" title="User talk:MilkyDefer"><b><span style="color:#F09">Defer</span></b></a> <a href="https://www.wikifunctions.org/wiki/Wikifunctions:Suggest_a_function#c-MilkyDefer-20230805112200-String_colour_notation_functions" class="ext-discussiontools-init-timestamplink">11:22, 5 August 2023 (UTC)</a><span class="ext-discussiontools-init-replylink-buttons" data-mw-thread-id="c-MilkyDefer-20230805112200-String_colour_notation_functions"><span class="ext-discussiontools-init-replylink-bracket">[</span><a class="ext-discussiontools-init-replylink-reply" role="button" tabindex="0" href="">reply</a><span class="ext-discussiontools-init-replylink-bracket">]</span><!--__DTELLIPSISBUTTON__{"threadItem":{"timestamp":"20230805112200","author":"MilkyDefer","type":"comment","level":2,"id":"c-MilkyDefer-20230805112200-String_colour_notation_functions","replies":["c-Dhx1-20230806132300-MilkyDefer-20230805112200"],"displayName":"Milky"}}--></span><span data-mw-comment-end="c-MilkyDefer-20230805112200-String_colour_notation_functions"></span></li></ul> <dl><dd><span data-mw-comment-start="" id="c-Dhx1-20230806132300-MilkyDefer-20230805112200"></span>Great question. I don't think there is a position documented on Wikifunctions for how to handle invalid input to a function. Can we throw exceptions? Return null? <a href="/wiki/User:Dhx1" title="User:Dhx1">Dhx1</a> (<a href="/wiki/User_talk:Dhx1" title="User talk:Dhx1">talk</a>) <a href="https://www.wikifunctions.org/wiki/Wikifunctions:Suggest_a_function#c-Dhx1-20230806132300-MilkyDefer-20230805112200" class="ext-discussiontools-init-timestamplink">13:23, 6 August 2023 (UTC)</a><span class="ext-discussiontools-init-replylink-buttons" data-mw-thread-id="c-Dhx1-20230806132300-MilkyDefer-20230805112200"><span class="ext-discussiontools-init-replylink-bracket">[</span><a class="ext-discussiontools-init-replylink-reply" role="button" tabindex="0" href="">reply</a><span class="ext-discussiontools-init-replylink-bracket">]</span><!--__DTELLIPSISBUTTON__{"threadItem":{"timestamp":"20230806132300","author":"Dhx1","type":"comment","level":3,"id":"c-Dhx1-20230806132300-MilkyDefer-20230805112200","replies":["c-0xDeadbeef-20230807123800-Dhx1-20230806132300"]}}--></span><span data-mw-comment-end="c-Dhx1-20230806132300-MilkyDefer-20230805112200"></span> <dl><dd><span data-mw-comment-start="" id="c-0xDeadbeef-20230807123800-Dhx1-20230806132300"></span>This shouldn't be a string function. This should be a type that represents a RGB color (with corresponding validation function (hopefully it can just be three unsigned 8bit integers)) and a function that returns the complementary color. <a href="/wiki/User:0xDeadbeef" title="User:0xDeadbeef">0xDeadbeef</a> (<a href="/wiki/User_talk:0xDeadbeef" title="User talk:0xDeadbeef">talk</a>) <a href="https://www.wikifunctions.org/wiki/Wikifunctions:Suggest_a_function#c-0xDeadbeef-20230807123800-Dhx1-20230806132300" class="ext-discussiontools-init-timestamplink">12:38, 7 August 2023 (UTC)</a><span class="ext-discussiontools-init-replylink-buttons" data-mw-thread-id="c-0xDeadbeef-20230807123800-Dhx1-20230806132300"><span class="ext-discussiontools-init-replylink-bracket">[</span><a class="ext-discussiontools-init-replylink-reply" role="button" tabindex="0" href="">reply</a><span class="ext-discussiontools-init-replylink-bracket">]</span><!--__DTELLIPSISBUTTON__{"threadItem":{"timestamp":"20230807123800","author":"0xDeadbeef","type":"comment","level":4,"id":"c-0xDeadbeef-20230807123800-Dhx1-20230806132300","replies":[]}}--></span><span data-mw-comment-end="c-0xDeadbeef-20230807123800-Dhx1-20230806132300"></span></dd></dl></dd></dl></li></ul> <div class="mw-heading mw-heading4"><h4 id="String_notation_validation_checks" data-mw-thread-id="h-String_notation_validation_checks-String-20231221142800"><span data-mw-comment-start="" id="h-String_notation_validation_checks-String-20231221142800"></span>String notation validation checks<span data-mw-comment-end="h-String_notation_validation_checks-String-20231221142800"></span></h4></div> <ul><li><span data-mw-comment-start="" id="c-Alexander-Mart-Earth-20231221142800-String_notation_validation_checks"></span>check if string is an <a href="https://en.wikipedia.org/wiki/International_Chemical_Identifier" class="extiw" title="en:International Chemical Identifier">en:International_Chemical_Identifier</a></li> <li>check if string is a <a href="https://en.wikipedia.org/wiki/SMILES_arbitrary_target_specification" class="extiw" title="en:SMILES arbitrary target specification">SMILES arbitrary target specification (SMARTS) notation</a></li> <li>check if string is an <a href="https://en.wikipedia.org/wiki/ABC_notation" class="extiw" title="en:ABC notation">ABC notation</a></li> <li>check if string is a <a href="https://en.wikipedia.org/wiki/LilyPond" class="extiw" title="en:LilyPond">LilyPond notation</a></li> <li><span title="Doing" style="white-space:nowrap"><span class="mw-default-size" typeof="mw:File"><span title="22.5px"><img alt="22.5px" src="//upload.wikimedia.org/wikipedia/commons/thumb/d/dd/OOjs_UI_icon_clock.svg/20px-OOjs_UI_icon_clock.svg.png" decoding="async" width="20" height="20" class="mw-file-element" srcset="//upload.wikimedia.org/wikipedia/commons/thumb/d/dd/OOjs_UI_icon_clock.svg/30px-OOjs_UI_icon_clock.svg.png 1.5x, //upload.wikimedia.org/wikipedia/commons/thumb/d/dd/OOjs_UI_icon_clock.svg/40px-OOjs_UI_icon_clock.svg.png 2x" data-file-width="20" data-file-height="20"/></span></span> <b>Doing...</b></span> check if string is a <a href="https://en.wikipedia.org/wiki/Portable_Game_Notation" class="extiw" title="en:Portable Game Notation">portable game notation</a> for a chess game (<a href="/view/en/Z15867" title="Z15867">is portable game notation (<span dir="ltr">Z15867</span>)</a>, figuring out how to add newlines to the test input)</li> <li><a href="/view/en/Z14643" title="Z14643">is Forsyth–Edwards Notation (<span dir="ltr">Z14643</span>)</a> check if string is <a href="https://en.wikipedia.org/wiki/Forsyth%E2%80%93Edwards_Notation" class="extiw" title="en:Forsyth–Edwards Notation">Forsyth–Edwards Notation</a> for a chess position</li> <li>check if string is a <a href="https://en.wikipedia.org/wiki/UIC_classification_of_locomotive_axle_arrangements" class="extiw" title="en:UIC classification of locomotive axle arrangements">UIC classification of locomotive axle arrangements notation</a></li> <li>check if a string is a valid <a href="https://en.wikipedia.org/wiki/ISBN" class="extiw" title="en:ISBN">ISBN</a>-13 (probably just a simple variant of <a href="/view/en/Z10821" title="Z10821">is EAN (<span dir="ltr">Z10821</span>)</a>, dropping/validating the hyphens)</li> <li>check if a string is a valid <a href="https://en.wikipedia.org/wiki/Digital_object_identifier" class="extiw" title="en:Digital object identifier">DOI</a> <ul><li>Something about implementation difficulties: <a rel="nofollow" class="external free" href="https://stackoverflow.com/questions/27910/finding-a-doi-in-a-document-or-page">https://stackoverflow.com/questions/27910/finding-a-doi-in-a-document-or-page</a> <a href="/wiki/User:Alexander-Mart-Earth" title="User:Alexander-Mart-Earth">Alexander-Mart-Earth</a> (<a href="/wiki/User_talk:Alexander-Mart-Earth" title="User talk:Alexander-Mart-Earth">talk</a>) <a href="https://www.wikifunctions.org/wiki/Wikifunctions:Suggest_a_function#c-Alexander-Mart-Earth-20231221142800-String_notation_validation_checks" class="ext-discussiontools-init-timestamplink">14:28, 21 December 2023 (UTC)</a><span class="ext-discussiontools-init-replylink-buttons" data-mw-thread-id="c-Alexander-Mart-Earth-20231221142800-String_notation_validation_checks"><span class="ext-discussiontools-init-replylink-bracket">[</span><a class="ext-discussiontools-init-replylink-reply" role="button" tabindex="0" href="">reply</a><span class="ext-discussiontools-init-replylink-bracket">]</span><!--__DTELLIPSISBUTTON__{"threadItem":{"timestamp":"20231221142800","author":"Alexander-Mart-Earth","type":"comment","level":2,"id":"c-Alexander-Mart-Earth-20231221142800-String_notation_validation_checks","replies":[]}}--></span><span data-mw-comment-end="c-Alexander-Mart-Earth-20231221142800-String_notation_validation_checks"></span></li></ul></li> <li>check if a string is a valid <a href="https://en.wikipedia.org/wiki/ISWN" class="extiw" title="en:ISWN">ISWN</a></li></ul> <div class="mw-heading mw-heading4"><h4 id="String_validation_checks" data-mw-thread-id="h-String_validation_checks-String"><span data-mw-comment-start="" id="h-String_validation_checks-String"></span>String validation checks<span data-mw-comment-end="h-String_validation_checks-String"></span></h4></div> <ul><li><span title="Doing" style="white-space:nowrap"><span class="mw-default-size" typeof="mw:File"><span title="22.5px"><img alt="22.5px" src="//upload.wikimedia.org/wikipedia/commons/thumb/d/dd/OOjs_UI_icon_clock.svg/20px-OOjs_UI_icon_clock.svg.png" decoding="async" width="20" height="20" class="mw-file-element" srcset="//upload.wikimedia.org/wikipedia/commons/thumb/d/dd/OOjs_UI_icon_clock.svg/30px-OOjs_UI_icon_clock.svg.png 1.5x, //upload.wikimedia.org/wikipedia/commons/thumb/d/dd/OOjs_UI_icon_clock.svg/40px-OOjs_UI_icon_clock.svg.png 2x" data-file-width="20" data-file-height="20"/></span></span> <b>Doing...</b></span> check if string is in <a href="https://en.wikipedia.org/wiki/Camel_case" class="extiw" title="en:Camel case">lower camel case</a></li> <li>check if string is a valid ISO 3166 country code</li> <li>check if string is a valid ISO 8601 date/time (2023-08-03 ⇒ true; 2023-02-30 ⇒ false; 2023-08-03 15:00:00.000 ⇒ true; 2023-08-03 25:00:00.000 ⇒ false)</li> <li>check if string is a valid <a href="https://en.wikipedia.org/wiki/ISO_8601#EDTF" class="extiw" title="en:ISO 8601">EDTF</a> date/time</li> <li><span title="Doing" style="white-space:nowrap"><span class="mw-default-size" typeof="mw:File"><span title="22.5px"><img alt="22.5px" src="//upload.wikimedia.org/wikipedia/commons/thumb/d/dd/OOjs_UI_icon_clock.svg/20px-OOjs_UI_icon_clock.svg.png" decoding="async" width="20" height="20" class="mw-file-element" srcset="//upload.wikimedia.org/wikipedia/commons/thumb/d/dd/OOjs_UI_icon_clock.svg/30px-OOjs_UI_icon_clock.svg.png 1.5x, //upload.wikimedia.org/wikipedia/commons/thumb/d/dd/OOjs_UI_icon_clock.svg/40px-OOjs_UI_icon_clock.svg.png 2x" data-file-width="20" data-file-height="20"/></span></span> <b>Doing...</b></span> check if string is a valid email address (watch out, see <a rel="nofollow" class="external text" href="https://github.com/kdeldycke/awesome-falsehood#emails">this list of falsehoods</a> about email addresses to create unit tests - email addresses are more complicated than they seem) — <a href="/view/en/Z10410" title="Z10410">is valid email address (<span dir="ltr">Z10410</span>)</a> creating test cases in progress. Currently it is stuck on figuring out what exactly is a valid emaill address. Nearly every errata for <a href="//tools.ietf.org/html/rfc3696" class="extiw" title="rfc:3696">RFC:3696</a> is about that.</li> <li><span title="Doing" style="white-space:nowrap"><span class="mw-default-size" typeof="mw:File"><span title="22.5px"><img alt="22.5px" src="//upload.wikimedia.org/wikipedia/commons/thumb/d/dd/OOjs_UI_icon_clock.svg/20px-OOjs_UI_icon_clock.svg.png" decoding="async" width="20" height="20" class="mw-file-element" srcset="//upload.wikimedia.org/wikipedia/commons/thumb/d/dd/OOjs_UI_icon_clock.svg/30px-OOjs_UI_icon_clock.svg.png 1.5x, //upload.wikimedia.org/wikipedia/commons/thumb/d/dd/OOjs_UI_icon_clock.svg/40px-OOjs_UI_icon_clock.svg.png 2x" data-file-width="20" data-file-height="20"/></span></span> <b>Doing...</b></span> check if string is a valid <a href="https://www.wikidata.org/wiki/Help:Items" class="extiw" title="d:Help:Items">Wikidata item</a> — <a href="/view/en/Z10696" title="Z10696">Is valid Qid (<span dir="ltr">Z10696</span>)</a> (possibly stuck on <a href="https://phabricator.wikimedia.org/T343593" class="extiw" title="phab:T343593">phab:T343593</a>?)</li></ul> <div class="mw-heading mw-heading4"><h4 id="String_analysis_functions" data-mw-thread-id="h-String_analysis_functions-String"><span data-mw-comment-start="" id="h-String_analysis_functions-String"></span>String analysis functions<span data-mw-comment-end="h-String_analysis_functions-String"></span></h4></div> <ul><li>Word frequency counting. Provide a list of words and their frequencies.</li></ul> <div class="mw-heading mw-heading4"><h4 id="Monolingual_text" data-mw-thread-id="h-Monolingual_text-String"><span data-mw-comment-start="" id="h-Monolingual_text-String"></span>Monolingual text<span data-mw-comment-end="h-Monolingual_text-String"></span></h4></div> <div class="mw-heading mw-heading4"><h4 id="String_Wikitext_operations" data-mw-thread-id="h-String_Wikitext_operations-String"><span data-mw-comment-start="" id="h-String_Wikitext_operations-String"></span>String Wikitext operations<span data-mw-comment-end="h-String_Wikitext_operations-String"></span></h4></div> <p>... </p> <div class="mw-heading mw-heading3"><h3 id="Natural_number" data-mw-thread-id="h-Natural_number-Proposed_functions_requiring_only_available_types_(string,_Boolean,_Natural_numb"><span data-mw-comment-start="" id="h-Natural_number-Proposed_functions_requiring_only_available_types_(string,_Boolean,_Natural_numb"></span>Natural number<span data-mw-comment-end="h-Natural_number-Proposed_functions_requiring_only_available_types_(string,_Boolean,_Natural_numb"></span></h3></div> <ul><li>rectified linear unit (ReLU) - <a class="external free" href="https://www.wikifunctions.org/view/en/Z13909">https://www.wikifunctions.org/view/en/Z13909</a></li></ul> <div class="mw-heading mw-heading3"><h3 id="Integer" data-mw-thread-id="h-Integer-Proposed_functions_requiring_only_available_types_(string,_Boolean,_Natural_numb"><span data-mw-comment-start="" id="h-Integer-Proposed_functions_requiring_only_available_types_(string,_Boolean,_Natural_numb"></span>Integer<span data-mw-comment-end="h-Integer-Proposed_functions_requiring_only_available_types_(string,_Boolean,_Natural_numb"></span></h3></div> <ul><li>multiply vectors</li></ul> <div class="mw-heading mw-heading3"><h3 id="Object" data-mw-thread-id="h-Object-Proposed_functions_requiring_only_available_types_(string,_Boolean,_Natural_numb"><span data-mw-comment-start="" id="h-Object-Proposed_functions_requiring_only_available_types_(string,_Boolean,_Natural_numb"></span>Object<span data-mw-comment-end="h-Object-Proposed_functions_requiring_only_available_types_(string,_Boolean,_Natural_numb"></span></h3></div> <ul><li><a href="/view/en/Z17180" title="Z17180">is void <small>(Z17180)</small></a>: <small>check if an object (usually the result of a function) is void</small></li></ul> <div class="mw-heading mw-heading3"><h3 id="List" data-mw-thread-id="h-List-Proposed_functions_requiring_only_available_types_(string,_Boolean,_Natural_numb-20240518112000"><span data-mw-comment-start="" id="h-List-Proposed_functions_requiring_only_available_types_(string,_Boolean,_Natural_numb-20240518112000"></span>List<span data-mw-comment-end="h-List-Proposed_functions_requiring_only_available_types_(string,_Boolean,_Natural_numb-20240518112000"></span></h3></div> <div class="mw-heading mw-heading4"><h4 id="Basic_list/iterable_functions" data-mw-thread-id="h-Basic_list/iterable_functions-List"><span id="Basic_list.2Fiterable_functions"></span><span data-mw-comment-start="" id="h-Basic_list/iterable_functions-List"></span>Basic list/iterable functions<span data-mw-comment-end="h-Basic_list/iterable_functions-List"></span></h4></div> <ul><li>group</li> <li><a href="https://en.wikipedia.org/wiki/Circular_shift" class="extiw" title="w:Circular shift">w:Circular shift</a></li></ul> <div class="mw-heading mw-heading4"><h4 id="Complex_list_functions" data-mw-thread-id="h-Complex_list_functions-List"><span data-mw-comment-start="" id="h-Complex_list_functions-List"></span>Complex list functions<span data-mw-comment-end="h-Complex_list_functions-List"></span></h4></div> <ul><li>zip lists together: for [ A .. Z ] and [ 1 .. 26 ] return [ [ A, 1 ], [ B, 2 ], .. ] <ul><li>Unsure what happens if input lists are of different lengths.</li> <li>If possible this function should be able to zip more than 2 lists together... 3, 4, n? Perhaps the input should be list(list, list, list, list, ..).</li></ul></li> <li><a href="/view/en/Z19198" title="Z19198">remove elements common to second list <small>(Z19198)</small></a>: <small>return the first list with any elements common to the second list removed</small></li></ul> <div class="mw-heading mw-heading4"><h4 id="CSV_list_operations" data-mw-thread-id="h-CSV_list_operations-List-20240518112000"><span data-mw-comment-start="" id="h-CSV_list_operations-List-20240518112000"></span>CSV list operations<span data-mw-comment-end="h-CSV_list_operations-List-20240518112000"></span></h4></div> <ul><li><span data-mw-comment-start="" id="c-Well_very_well-20240518112000-CSV_list_operations"></span>list of strings to csv</li></ul> <dl><dd>number -> list of decimal digits<br/>number -> list of binary digits<br/>number -> list of digits in base provided <a href="/wiki/User:Well_very_well" title="User:Well very well">Well very well</a> (<a href="/w/index.php?title=User_talk:Well_very_well&amp;action=edit&amp;redlink=1" class="new" title="User talk:Well very well (page does not exist)">talk</a>) <a href="https://www.wikifunctions.org/wiki/Wikifunctions:Suggest_a_function#c-Well_very_well-20240518112000-CSV_list_operations" class="ext-discussiontools-init-timestamplink">11:20, 18 May 2024 (UTC)</a><span class="ext-discussiontools-init-replylink-buttons" data-mw-thread-id="c-Well_very_well-20240518112000-CSV_list_operations"><span class="ext-discussiontools-init-replylink-bracket">[</span><a class="ext-discussiontools-init-replylink-reply" role="button" tabindex="0" href="">reply</a><span class="ext-discussiontools-init-replylink-bracket">]</span><!--__DTELLIPSISBUTTON__{"threadItem":{"timestamp":"20240518112000","author":"Well very well","type":"comment","level":2,"id":"c-Well_very_well-20240518112000-CSV_list_operations","replies":[]}}--></span><span data-mw-comment-end="c-Well_very_well-20240518112000-CSV_list_operations"></span></dd></dl> <div class="mw-heading mw-heading3"><h3 id="Functions_with_functions_as_arguments" data-mw-thread-id="h-Functions_with_functions_as_arguments-Proposed_functions_requiring_only_available_types_(string,_Boolean,_Natural_numb"><span data-mw-comment-start="" id="h-Functions_with_functions_as_arguments-Proposed_functions_requiring_only_available_types_(string,_Boolean,_Natural_numb"></span>Functions with functions as arguments<span data-mw-comment-end="h-Functions_with_functions_as_arguments-Proposed_functions_requiring_only_available_types_(string,_Boolean,_Natural_numb"></span></h3></div> <ul><li>sort, by a given function</li> <li>test whether certain functions have specific properties of <a href="https://en.wikipedia.org/wiki/Homogeneous_relation" class="extiw" title="w:Homogeneous relation">homogeneous relations</a> for particular lists/sets</li> <li>remove first element matching filter from list</li></ul> <div class="mw-heading mw-heading2 ext-discussiontools-init-section"><h2 id="Morphological_functions" data-mw-thread-id="h-Morphological_functions"><span data-mw-comment-start="" id="h-Morphological_functions"></span>Morphological functions<span data-mw-comment-end="h-Morphological_functions"></span></h2><!--__DTELLIPSISBUTTON__{"threadItem":{"headingLevel":2,"name":"h-","type":"heading","level":0,"id":"h-Morphological_functions","replies":["h-mul_-_Multiple_languages-Morphological_functions","h-ase_-_American_Sign_Language-Morphological_functions","h-bn_-_Bangla-Morphological_functions","h-cy_-_Welsh-Morphological_functions","h-dag_-_Dagbani-Morphological_functions","h-de_-_German-Morphological_functions","h-en_-_English-Morphological_functions","h-fr_-_French-Morphological_functions","h-ha_-_Hausa-Morphological_functions","h-ig_-_Igbo-Morphological_functions","h-ldn_-_L\u00e1adan-Morphological_functions","h-ml_-_Malayalam-Morphological_functions"]}}--></div> <p>morphology is the part of linguistics that studies how language parts are 'shaped' and change diachronically and when inflected. Hausa, Igbo, Malayalam, Bangla/Bengali and Dagbani are <a href="https://www.wikidata.org/wiki/Wikidata:Lexicographical_data/Focus_languages" class="extiw" title="d:Wikidata:Lexicographical data/Focus languages">focus languages</a> for Wikidata's lexicographic dataset, which is an important aspect of <a href="/wiki/Wikifunctions:Glossary#Abstract_Wikipedia" title="Wikifunctions:Glossary">Abstract Wikipedia</a>. </p> <div class="mw-heading mw-heading3"><h3 id="mul_-_Multiple_languages" data-mw-thread-id="h-mul_-_Multiple_languages-Morphological_functions"><span data-mw-comment-start="" id="h-mul_-_Multiple_languages-Morphological_functions"></span>mul - Multiple languages<span data-mw-comment-end="h-mul_-_Multiple_languages-Morphological_functions"></span></h3></div> <ul><li>inputs: natural number (new numeric type) and language Z-number; output: 'singular', 'dual', 'paucal', 'plural', etc. as string <dl><dd><span title="Doing" style="white-space:nowrap"><span class="mw-default-size" typeof="mw:File"><span title="22.5px"><img alt="22.5px" src="//upload.wikimedia.org/wikipedia/commons/thumb/d/dd/OOjs_UI_icon_clock.svg/20px-OOjs_UI_icon_clock.svg.png" decoding="async" width="20" height="20" class="mw-file-element" srcset="//upload.wikimedia.org/wikipedia/commons/thumb/d/dd/OOjs_UI_icon_clock.svg/30px-OOjs_UI_icon_clock.svg.png 1.5x, //upload.wikimedia.org/wikipedia/commons/thumb/d/dd/OOjs_UI_icon_clock.svg/40px-OOjs_UI_icon_clock.svg.png 2x" data-file-width="20" data-file-height="20"/></span></span> <b>Doing...</b></span>: <a href="/view/en/Z15977" title="Z15977">(!) return grammatical number for an integer and language <small>(Z15977)</small></a></dd></dl></li></ul> <div class="mw-heading mw-heading3"><h3 id="ase_-_American_Sign_Language" data-mw-thread-id="h-ase_-_American_Sign_Language-Morphological_functions"><span data-mw-comment-start="" id="h-ase_-_American_Sign_Language-Morphological_functions"></span>ase - American Sign Language<span data-mw-comment-end="h-ase_-_American_Sign_Language-Morphological_functions"></span></h3></div> <ul><li>string: Stokoe to ase-<a rel="nofollow" class="external text" href="https://github.com/sutton-signwriting/core">Sgnw</a> and vice-versa (consult <span class="template-ping">@<a href="/w/index.php?title=User:Slevinski&amp;action=edit&amp;redlink=1" class="new" title="User:Slevinski (page does not exist)">Slevinski</a>:</span> as to best approach)</li></ul> <div class="mw-heading mw-heading3"><h3 id="bn_-_Bangla" data-mw-thread-id="h-bn_-_Bangla-Morphological_functions"><span data-mw-comment-start="" id="h-bn_-_Bangla-Morphological_functions"></span>bn - Bangla<span data-mw-comment-end="h-bn_-_Bangla-Morphological_functions"></span></h3></div> <div class="mw-heading mw-heading3"><h3 id="cy_-_Welsh" data-mw-thread-id="h-cy_-_Welsh-Morphological_functions"><span data-mw-comment-start="" id="h-cy_-_Welsh-Morphological_functions"></span>cy - Welsh<span data-mw-comment-end="h-cy_-_Welsh-Morphological_functions"></span></h3></div> <p><a href="https://en.wikipedia.org/wiki/en:colloquial_Welsh_morphology" class="extiw" title="w:en:colloquial Welsh morphology">w:en:colloquial Welsh morphology</a> </p> <div class="mw-heading mw-heading3"><h3 id="dag_-_Dagbani" data-mw-thread-id="h-dag_-_Dagbani-Morphological_functions"><span data-mw-comment-start="" id="h-dag_-_Dagbani-Morphological_functions"></span>dag - Dagbani<span data-mw-comment-end="h-dag_-_Dagbani-Morphological_functions"></span></h3></div> <div class="mw-heading mw-heading3"><h3 id="de_-_German" data-mw-thread-id="h-de_-_German-Morphological_functions"><span data-mw-comment-start="" id="h-de_-_German-Morphological_functions"></span>de - German<span data-mw-comment-end="h-de_-_German-Morphological_functions"></span></h3></div> <ul><li>tense * person * number for each verb <ul><li>tenses: present, past, ...?</li> <li>person: first, second, third</li> <li>number: singular, plural</li> <li><span title="Doing" style="white-space:nowrap"><span class="mw-default-size" typeof="mw:File"><span title="22.5px"><img alt="22.5px" src="//upload.wikimedia.org/wikipedia/commons/thumb/d/dd/OOjs_UI_icon_clock.svg/20px-OOjs_UI_icon_clock.svg.png" decoding="async" width="20" height="20" class="mw-file-element" srcset="//upload.wikimedia.org/wikipedia/commons/thumb/d/dd/OOjs_UI_icon_clock.svg/30px-OOjs_UI_icon_clock.svg.png 1.5x, //upload.wikimedia.org/wikipedia/commons/thumb/d/dd/OOjs_UI_icon_clock.svg/40px-OOjs_UI_icon_clock.svg.png 2x" data-file-width="20" data-file-height="20"/></span></span> <b>Doing...</b></span> third person singular present</li> <li>second person singular preterite</li></ul></li></ul> <div class="mw-heading mw-heading3"><h3 id="en_-_English" data-mw-thread-id="h-en_-_English-Morphological_functions"><span data-mw-comment-start="" id="h-en_-_English-Morphological_functions"></span>en - English<span data-mw-comment-end="h-en_-_English-Morphological_functions"></span></h3></div> <ul><li><a href="/view/en/Z11390" title="Z11390">English verb to agent noun (<span dir="ltr">Z11390</span>)</a> Verb -> agent noun, e.g. "dance"->"dancer"</li> <li>Join English morphemes (extends <a href="/view/en/Z13254" title="Z13254">suffix English word (<span dir="ltr">Z13254</span>)</a> to cases like re + en + able + er + s → re-enablers. <a href="/view/en/Z13254" title="Z13254">suffix English word (<span dir="ltr">Z13254</span>)</a> will correctly join re-enable + ers or re- + enablers, but re + enablers → “renablers” (incorrect). <a href="/view/en/Z13275" title="Z13275">English morpheme agglutination (<span dir="ltr">Z13275</span>)</a> tests the Reduce function to produce “detoxification” from a list of four morphemes (orchestrator limit exceeded with five). I doubt we’ll want to derive “toxify” from “toxic”, however.</li> <li>Derive lemmas from a form. This is envisaged as the converse of Join English morphemes. The focus would be identifying the base form (the lexeme’s lemma) rather than further segmenting the lemma. For example, “underlay” should return “underlie” (for which it is the past participle) and the noun “underlay” (for which it is the lemma) and (perhaps) the verb “underlay”, which might be the tendency of an unproductive hen or the activity of a carpet-fitter. As this is a purely functional converse, every string will have itself as a possible lemma.</li> <li>Generate <a href="https://en.wikipedia.org/wiki/Numeral_prefix" class="extiw" title="w:Numeral prefix">Numerical prefixes</a> of various kinds from a natural number input.</li> <li><a href="/view/en/Z19499" title="Z19499">sort English adjectives <small>(Z19499)</small></a>: <small>Sort a list of English adjectives into the correct order: quantity, opinion, size, physical quality, shape, age, colour, origin, material, type, purpose. Where equal, leave in original order.</small></li></ul> <p><b><big>eu - Basque</big></b> </p> <ul><li>Basque language declension system in rather regular based on suffixes. <ul><li>Here a few examples for Basque declension: <ul><li><a href="/view/en/Z18541" title="Z18541">Basque plural noun <small>(Z18541)</small></a>: <small>This function creates the plural for a noun in Basque</small></li> <li><a href="/view/en/Z18670" title="Z18670">Basque ergative singular case declension <small>(Z18670)</small></a>: <small>This function returns the singular ergative case for a noun (proper or not) in Basque language</small></li></ul></li> <li>Before implementing all of them, we may propose an overall classification that eases both the implementation and the future usage of the functions. Here a first try based on bibliography from the <a rel="nofollow" class="external text" href="https://www.euskaltzaindia.eus/index.php?option=com_ebe&amp;view=bilaketa&amp;task=pdf&amp;Itemid=1161&amp;atala=deklinabide-taulak">Basque Language Academy</a>: <ul><li>Personal pronouns: they can be treated as exceptions (e.g. "zuek -> zuei", etc.) together with proper noun declension, or as a separate case.</li> <li>Determiners: they can be treated as exceptions (e.g. "hau" -> "honek", etc) together with common noun declension, or as a separated case</li> <li>Grammatical cases: <ul><li>Absolutive ("Nor"): indefinite, singular and plural</li> <li>Ergative ("Nork"): indefinite, singular and plural</li> <li>Dative ("Nori"): indefinite, singular and plural</li></ul></li> <li>Place and Time: we must distinguish animate (AN) and inanimate (IN) <ul><li>Inessive IN ("Non"): indefinite, singular and plural</li> <li>Inessive AN ("Norengan"): indefinite, singular and plural - It could be a composition of "Noren" + "-gan"</li> <li>Place and time ("Nongo"): indefinite, singular and plural</li> <li>Allative IN ("Nora"): indefinite, singular and plural</li> <li>Allative AN ("Norengana"): indefinite, singular and plural - It could be a composition of "Noren/Norengan" + "-gan/-a"</li> <li>Finished Allative AN ("Noraino"): indefinite, singular and plural - It could be a composition of "Nora" + "-ino"</li> <li>Finished Allative AN ("Norengainaino"): indefinite, singular and plural - It could be a composition of "Noregana" + "-ino"</li> <li>Right way Allative IN ("Noratz"): indefinite, singular and plural - It could be a composition of "Nora" + "-ntz"</li> <li>Right way Allative AN ("Norenganantz"): indefinite, singular and plural - It could be a composition of "Norengana" + "-ntz"</li> <li>Ablative IN ("Nondik"): indefinite, singular and plural</li> <li>Ablative AN ("Norengandik"): indefinite, singular and plural</li></ul></li> <li>Rest of the cases: <ul><li>Partitive ("Zerik"): indefinite</li> <li>Possessive ("Noren"): indefinite, singular and plural</li> <li>Sociative ("Norekin"): indefinite, singular and plural</li> <li>Instrumental ("Zerez"): indefinite, singular and plural</li> <li>Motivative ("Zerengatik"): indefinite, singular and plural</li> <li>Destinative ("Norentzat"): indefinite, singular and plural - It could be a composition of "Noren" + "-tzat"</li></ul></li> <li>Special case: <ul><li>Prolative ("Nortzat"): indefinite</li></ul></li> <li>To take into consideration: <ul><li>Together with animate and inanimate classification, we should also consider if the noun is a proper noun ("izen berezia"). We can identify that automatically (e.g. check if written in Title case, but this may not be always possible like in the beginning of sentences), but a dedicated function may be preferred (or a boolean to the generic function saying it is a proper noun).</li> <li>The main distinction is between noun ending by vowel or consonant that can be easily computed</li></ul></li></ul></li></ul></li></ul> <div class="mw-heading mw-heading3"><h3 id="fr_-_French" data-mw-thread-id="h-fr_-_French-Morphological_functions"><span data-mw-comment-start="" id="h-fr_-_French-Morphological_functions"></span>fr - French<span data-mw-comment-end="h-fr_-_French-Morphological_functions"></span></h3></div> <ul><li><a href="/view/en/Z11590" title="Z11590">French masculine adjective to feminine (<span dir="ltr">Z11590</span>)</a> Masculine adjective -> feminine, e.g. "exact"->"exacte"</li> <li>Conjugated verb => Infinitive, e.g. "alla" => "aller", "mordit" => "mordre"</li></ul> <div class="mw-heading mw-heading3"><h3 id="ha_-_Hausa" data-mw-thread-id="h-ha_-_Hausa-Morphological_functions"><span data-mw-comment-start="" id="h-ha_-_Hausa-Morphological_functions"></span>ha - Hausa<span data-mw-comment-end="h-ha_-_Hausa-Morphological_functions"></span></h3></div> <p>A notated demo sentence ("Aishà taa jeefar dà kàren Indoo" ― "Aisha threw away Indo's dog") is available at <a rel="nofollow" class="external free" href="http://intent.xigt.org">http://intent.xigt.org</a> </p> <div class="mw-heading mw-heading3"><h3 id="ig_-_Igbo" data-mw-thread-id="h-ig_-_Igbo-Morphological_functions"><span data-mw-comment-start="" id="h-ig_-_Igbo-Morphological_functions"></span>ig - Igbo<span data-mw-comment-end="h-ig_-_Igbo-Morphological_functions"></span></h3></div> <div class="mw-heading mw-heading3"><h3 id="ldn_-_Láadan" data-mw-thread-id="h-ldn_-_Láadan-Morphological_functions"><span id="ldn_-_L.C3.A1adan"></span><span data-mw-comment-start="" id="h-ldn_-_Láadan-Morphological_functions"></span>ldn - Láadan<span data-mw-comment-end="h-ldn_-_Láadan-Morphological_functions"></span></h3></div> <p>section moved to <a href="/wiki/Wikifunctions:Human_languages/Z1882" title="Wikifunctions:Human languages/Z1882">WF:human languages/Z1882</a> </p> <div class="mw-heading mw-heading3"><h3 id="ml_-_Malayalam" data-mw-thread-id="h-ml_-_Malayalam-Morphological_functions"><span data-mw-comment-start="" id="h-ml_-_Malayalam-Morphological_functions"></span>ml - Malayalam<span data-mw-comment-end="h-ml_-_Malayalam-Morphological_functions"></span></h3></div> <div class="mw-heading mw-heading2 ext-discussiontools-init-section"><!--__DTSUBSCRIBEBUTTONDESKTOP__{&quot;headingLevel&quot;:2,&quot;name&quot;:&quot;h-0xDeadbeef-20230805161600&quot;,&quot;type&quot;:&quot;heading&quot;,&quot;level&quot;:0,&quot;id&quot;:&quot;h-Proposed_functions_requiring_future_types-20230805161600&quot;,&quot;replies&quot;:[&quot;h-String_manipulation_functions-Proposed_functions_requiring_future_types&quot;,&quot;h-String_analysis_functions_2-Proposed_functions_requiring_future_types&quot;,&quot;h-String_encoding_and_decoding_functions_2-Proposed_functions_requiring_future_types&quot;,&quot;h-Natural_language_functions-Proposed_functions_requiring_future_types-20231026185400&quot;,&quot;h-Cryptographic_hash_functions-Proposed_functions_requiring_future_types&quot;,&quot;h-Colour_functions-Proposed_functions_requiring_future_types&quot;,&quot;h-Date,_time,_and_calendric_functions-Proposed_functions_requiring_future_types&quot;,&quot;h-Basic_numerical_functions-Proposed_functions_requiring_future_types-20231224193600&quot;,&quot;h-Data_serialization_functions-Proposed_functions_requiring_future_types-20230805161600&quot;,&quot;h-Basic_list\/iterable_functions_requiring_numeric_types-Proposed_functions_requiring_future_types&quot;,&quot;h-Geodetics_functions-Proposed_functions_requiring_future_types&quot;,&quot;h-Unit_conversion_functions-Proposed_functions_requiring_future_types&quot;],&quot;text&quot;:&quot;Proposed functions requiring future types&quot;,&quot;linkableTitle&quot;:&quot;Proposed functions requiring future types&quot;}--><h2 id="Proposed_functions_requiring_future_types" data-mw-thread-id="h-Proposed_functions_requiring_future_types-20230805161600"><span data-mw-comment-start="" id="h-Proposed_functions_requiring_future_types-20230805161600"></span>Proposed functions requiring future types<span data-mw-comment-end="h-Proposed_functions_requiring_future_types-20230805161600"></span></h2><!--__DTELLIPSISBUTTON__{"threadItem":{"headingLevel":2,"name":"h-0xDeadbeef-20230805161600","type":"heading","level":0,"id":"h-Proposed_functions_requiring_future_types-20230805161600","replies":["h-String_manipulation_functions-Proposed_functions_requiring_future_types","h-String_analysis_functions_2-Proposed_functions_requiring_future_types","h-String_encoding_and_decoding_functions_2-Proposed_functions_requiring_future_types","h-Natural_language_functions-Proposed_functions_requiring_future_types-20231026185400","h-Cryptographic_hash_functions-Proposed_functions_requiring_future_types","h-Colour_functions-Proposed_functions_requiring_future_types","h-Date,_time,_and_calendric_functions-Proposed_functions_requiring_future_types","h-Basic_numerical_functions-Proposed_functions_requiring_future_types-20231224193600","h-Data_serialization_functions-Proposed_functions_requiring_future_types-20230805161600","h-Basic_list\/iterable_functions_requiring_numeric_types-Proposed_functions_requiring_future_types","h-Geodetics_functions-Proposed_functions_requiring_future_types","h-Unit_conversion_functions-Proposed_functions_requiring_future_types"]}}--><div class="ext-discussiontools-init-section-bar"><div class="ext-discussiontools-init-section-metadata"><!--__DTLATESTCOMMENTTHREAD__{"id":"c-Dolphyb-20240215161400-0xDeadbeef-20230805161600","timestamp":"20240215161400"}__--><!--__DTCOMMENTCOUNT__6__--><!--__DTAUTHORCOUNT__6__--></div><div class="ext-discussiontools-init-section-actions"><!--__DTSUBSCRIBEBUTTONMOBILE__{&quot;headingLevel&quot;:2,&quot;name&quot;:&quot;h-0xDeadbeef-20230805161600&quot;,&quot;type&quot;:&quot;heading&quot;,&quot;level&quot;:0,&quot;id&quot;:&quot;h-Proposed_functions_requiring_future_types-20230805161600&quot;,&quot;replies&quot;:[&quot;h-String_manipulation_functions-Proposed_functions_requiring_future_types&quot;,&quot;h-String_analysis_functions_2-Proposed_functions_requiring_future_types&quot;,&quot;h-String_encoding_and_decoding_functions_2-Proposed_functions_requiring_future_types&quot;,&quot;h-Natural_language_functions-Proposed_functions_requiring_future_types-20231026185400&quot;,&quot;h-Cryptographic_hash_functions-Proposed_functions_requiring_future_types&quot;,&quot;h-Colour_functions-Proposed_functions_requiring_future_types&quot;,&quot;h-Date,_time,_and_calendric_functions-Proposed_functions_requiring_future_types&quot;,&quot;h-Basic_numerical_functions-Proposed_functions_requiring_future_types-20231224193600&quot;,&quot;h-Data_serialization_functions-Proposed_functions_requiring_future_types-20230805161600&quot;,&quot;h-Basic_list\/iterable_functions_requiring_numeric_types-Proposed_functions_requiring_future_types&quot;,&quot;h-Geodetics_functions-Proposed_functions_requiring_future_types&quot;,&quot;h-Unit_conversion_functions-Proposed_functions_requiring_future_types&quot;],&quot;text&quot;:&quot;Proposed functions requiring future types&quot;,&quot;linkableTitle&quot;:&quot;Proposed functions requiring future types&quot;}--></div></div></div> <p><b>Note these functions cannot be implemented properly until the needed types are requested and approved.</b> </p><p>If one wishes to nevertheless attempt to define and implement them, </p> <ul><li>the functions and implementations should indicate prominently in their labels that their input/output types must be adjusted once support for the appropriate replacement types become available; <i>and</i></li> <li>the functions should <i>not</i> be used in the implementations of any other functions, as the later adjustment of input/output types to appropriate replacements will break those implementations.</li></ul> <div class="mw-heading mw-heading3"><h3 id="String_manipulation_functions" data-mw-thread-id="h-String_manipulation_functions-Proposed_functions_requiring_future_types"><span data-mw-comment-start="" id="h-String_manipulation_functions-Proposed_functions_requiring_future_types"></span>String manipulation functions<span data-mw-comment-end="h-String_manipulation_functions-Proposed_functions_requiring_future_types"></span></h3></div> <div class="mw-heading mw-heading3"><h3 id="String_analysis_functions_2" data-mw-thread-id="h-String_analysis_functions_2-Proposed_functions_requiring_future_types"><span data-mw-comment-start="" id="h-String_analysis_functions_2-Proposed_functions_requiring_future_types"></span>String analysis functions<span data-mw-comment-end="h-String_analysis_functions_2-Proposed_functions_requiring_future_types"></span></h3></div> <ul><li>count distance between two letters in given alphabet (default to 26-charcater western alphabet. case insensitive. e.g. "a" &amp; "A" ⇒ 0; "K" &amp; "N" ⇒ 3)</li></ul> <div class="mw-heading mw-heading3"><h3 id="String_encoding_and_decoding_functions_2" data-mw-thread-id="h-String_encoding_and_decoding_functions_2-Proposed_functions_requiring_future_types"><span data-mw-comment-start="" id="h-String_encoding_and_decoding_functions_2-Proposed_functions_requiring_future_types"></span>String encoding and decoding functions<span data-mw-comment-end="h-String_encoding_and_decoding_functions_2-Proposed_functions_requiring_future_types"></span></h3></div> <p>(would be better with types representing a stream of bytes) </p> <ul><li><a href="https://www.wikidata.org/wiki/Q113486941" class="extiw" title="wikidata:Q113486941">BASE45 encode</a></li> <li><a href="https://www.wikidata.org/wiki/Q113486941" class="extiw" title="wikidata:Q113486941">BASE45 decode</a></li> <li>Hexadecimal UTF-8 encode ("ABC ₤" ⇒ "41 42 43 20 E2 82 A4")</li> <li>Hexadecimal UTF-8 decode ("41 42 43 20 E2 82 A4" ⇒ "ABC ₤")</li> <li>Decimal UTF-8 encode ("ABC ₤" ⇒ "65 66 67 32 226 130 164")</li> <li>Decimal UTF-8 decode ("65 66 67 32 226 130 164" ⇒ "ABC ₤")</li> <li>Octal UTF-8 encode ("ABC ₤" ⇒ "101 102 103 40 342 202 244")</li> <li>Octal UTF-8 decode ("101 102 103 40 342 202 244" ⇒ "ABC ₤")</li> <li>Binary UTF-8 encode ("ABC ₤" ⇒ "01000001 01000010 01000011 00100000 11100010 10000010 10100100")</li> <li>Binary UTF-8 decode ("01000001 01000010 01000011 00100000 11100010 10000010 10100100" ⇒ "ABC ₤")</li> <li>Unicode code point encode ("ABC ₤" ⇒ "41 42 43 20 20A4") - <a href="/view/en/Z10785" title="Z10785">Unicode code point encode hex (<span dir="ltr">Z10785</span>)</a></li> <li>Unicode code point decode ("41 42 43 20 20A4" ⇒ "ABC ₤")</li> <li>Create regular expression object/string (i.e: "test" &amp; "i" to /test/i)</li></ul> <div class="mw-heading mw-heading3"><h3 id="Natural_language_functions" data-mw-thread-id="h-Natural_language_functions-Proposed_functions_requiring_future_types-20231026185400"><span data-mw-comment-start="" id="h-Natural_language_functions-Proposed_functions_requiring_future_types-20231026185400"></span>Natural language functions<span data-mw-comment-end="h-Natural_language_functions-Proposed_functions_requiring_future_types-20231026185400"></span></h3></div> <ul><li><span data-mw-comment-start="" id="c-魔琴-20231026185400-Natural_language_functions"></span>Choose singular or plural based on number (e.g. singularOrPlural("person",6") -> "people") <ul><li>Note that there are also dual and other <a href="https://en.wikipedia.org/wiki/grammatical_number" class="extiw" title="w:grammatical number">grammatical numbers</a> in other languages. <a href="/wiki/User:%E9%AD%94%E7%90%B4" title="User:魔琴">魔琴</a> (<a href="/w/index.php?title=User_talk:%E9%AD%94%E7%90%B4&amp;action=edit&amp;redlink=1" class="new" title="User talk:魔琴 (page does not exist)">talk</a>) <a href="https://www.wikifunctions.org/wiki/Wikifunctions:Suggest_a_function#c-魔琴-20231026185400-Natural_language_functions" class="ext-discussiontools-init-timestamplink">18:54, 26 October 2023 (UTC)</a><span class="ext-discussiontools-init-replylink-buttons" data-mw-thread-id="c-魔琴-20231026185400-Natural_language_functions"><span class="ext-discussiontools-init-replylink-bracket">[</span><a class="ext-discussiontools-init-replylink-reply" role="button" tabindex="0" href="">reply</a><span class="ext-discussiontools-init-replylink-bracket">]</span><!--__DTELLIPSISBUTTON__{"threadItem":{"timestamp":"20231026185400","author":"\u9b54\u7434","type":"comment","level":2,"id":"c-\u9b54\u7434-20231026185400-Natural_language_functions","replies":["c-Arlo_Barnes-20240209041500-\u9b54\u7434-20231026185400"]}}--></span><span data-mw-comment-end="c-魔琴-20231026185400-Natural_language_functions"></span></li> <li><span data-mw-comment-start="" id="c-Arlo_Barnes-20240209041500-魔琴-20231026185400"></span>relevant interwiki link: <a href="https://www.wikidata.org/wiki/WD:property_proposal/plural_forms" class="extiw" title="d:WD:property proposal/plural forms">d:WD:property proposal/plural forms</a> <a href="/wiki/User:Arlo_Barnes" title="User:Arlo Barnes">Arlo Barnes</a> (<a href="/wiki/User_talk:Arlo_Barnes" title="User talk:Arlo Barnes">talk</a>) <a href="https://www.wikifunctions.org/wiki/Wikifunctions:Suggest_a_function#c-Arlo_Barnes-20240209041500-魔琴-20231026185400" class="ext-discussiontools-init-timestamplink">04:15, 9 February 2024 (UTC)</a><span class="ext-discussiontools-init-replylink-buttons" data-mw-thread-id="c-Arlo_Barnes-20240209041500-魔琴-20231026185400"><span class="ext-discussiontools-init-replylink-bracket">[</span><a class="ext-discussiontools-init-replylink-reply" role="button" tabindex="0" href="">reply</a><span class="ext-discussiontools-init-replylink-bracket">]</span><!--__DTELLIPSISBUTTON__{"threadItem":{"timestamp":"20240209041500","author":"Arlo Barnes","type":"comment","level":3,"id":"c-Arlo_Barnes-20240209041500-\u9b54\u7434-20231026185400","replies":[]}}--></span><span data-mw-comment-end="c-Arlo_Barnes-20240209041500-魔琴-20231026185400"></span></li></ul></li></ul> <div class="mw-heading mw-heading3"><h3 id="Cryptographic_hash_functions" data-mw-thread-id="h-Cryptographic_hash_functions-Proposed_functions_requiring_future_types"><span data-mw-comment-start="" id="h-Cryptographic_hash_functions-Proposed_functions_requiring_future_types"></span>Cryptographic hash functions<span data-mw-comment-end="h-Cryptographic_hash_functions-Proposed_functions_requiring_future_types"></span></h3></div> <p>(would be better with types representing a stream of bytes) </p> <ul><li><b style="white-space:nowrap"><span typeof="mw:File"><span><img src="//upload.wikimedia.org/wikipedia/commons/thumb/a/a8/OOjs_UI_icon_lightbulb-yellow.svg/20px-OOjs_UI_icon_lightbulb-yellow.svg.png" decoding="async" width="20" height="20" class="mw-file-element" srcset="//upload.wikimedia.org/wikipedia/commons/thumb/a/a8/OOjs_UI_icon_lightbulb-yellow.svg/30px-OOjs_UI_icon_lightbulb-yellow.svg.png 1.5x, //upload.wikimedia.org/wikipedia/commons/thumb/a/a8/OOjs_UI_icon_lightbulb-yellow.svg/40px-OOjs_UI_icon_lightbulb-yellow.svg.png 2x" data-file-width="20" data-file-height="20"/></span></span> To do</b> <a href="https://www.wikidata.org/wiki/Q47477417" class="extiw" title="wikidata:Q47477417">MD2</a> - <a href="/view/en/Z10135" title="Z10135">MD2 (<span dir="ltr">Z10135</span>)</a></li> <li><b style="white-space:nowrap"><span typeof="mw:File"><span><img src="//upload.wikimedia.org/wikipedia/commons/thumb/a/a8/OOjs_UI_icon_lightbulb-yellow.svg/20px-OOjs_UI_icon_lightbulb-yellow.svg.png" decoding="async" width="20" height="20" class="mw-file-element" srcset="//upload.wikimedia.org/wikipedia/commons/thumb/a/a8/OOjs_UI_icon_lightbulb-yellow.svg/30px-OOjs_UI_icon_lightbulb-yellow.svg.png 1.5x, //upload.wikimedia.org/wikipedia/commons/thumb/a/a8/OOjs_UI_icon_lightbulb-yellow.svg/40px-OOjs_UI_icon_lightbulb-yellow.svg.png 2x" data-file-width="20" data-file-height="20"/></span></span> To do</b> <a href="https://www.wikidata.org/wiki/Q47462255" class="extiw" title="wikidata:Q47462255">MD4</a> - <a href="/view/en/Z10136" title="Z10136">MD4 (<span dir="ltr">Z10136</span>)</a></li> <li><b style="white-space:nowrap"><span typeof="mw:File"><span><img src="//upload.wikimedia.org/wikipedia/commons/thumb/a/a8/OOjs_UI_icon_lightbulb-yellow.svg/20px-OOjs_UI_icon_lightbulb-yellow.svg.png" decoding="async" width="20" height="20" class="mw-file-element" srcset="//upload.wikimedia.org/wikipedia/commons/thumb/a/a8/OOjs_UI_icon_lightbulb-yellow.svg/30px-OOjs_UI_icon_lightbulb-yellow.svg.png 1.5x, //upload.wikimedia.org/wikipedia/commons/thumb/a/a8/OOjs_UI_icon_lightbulb-yellow.svg/40px-OOjs_UI_icon_lightbulb-yellow.svg.png 2x" data-file-width="20" data-file-height="20"/></span></span> To do</b> <a href="https://www.wikidata.org/wiki/Q27036232" class="extiw" title="wikidata:Q27036232">MD5</a> - <a href="/view/en/Z10137" title="Z10137">MD5 (<span dir="ltr">Z10137</span>)</a></li> <li><b style="white-space:nowrap"><span typeof="mw:File"><span><img src="//upload.wikimedia.org/wikipedia/commons/thumb/a/a8/OOjs_UI_icon_lightbulb-yellow.svg/20px-OOjs_UI_icon_lightbulb-yellow.svg.png" decoding="async" width="20" height="20" class="mw-file-element" srcset="//upload.wikimedia.org/wikipedia/commons/thumb/a/a8/OOjs_UI_icon_lightbulb-yellow.svg/30px-OOjs_UI_icon_lightbulb-yellow.svg.png 1.5x, //upload.wikimedia.org/wikipedia/commons/thumb/a/a8/OOjs_UI_icon_lightbulb-yellow.svg/40px-OOjs_UI_icon_lightbulb-yellow.svg.png 2x" data-file-width="20" data-file-height="20"/></span></span> To do</b> <a href="https://www.wikidata.org/wiki/Q47208127" class="extiw" title="wikidata:Q47208127">RIPEMD-128</a> - <a href="/view/en/Z10138" title="Z10138">RIPEMD-128 (<span dir="ltr">Z10138</span>)</a></li> <li><b style="white-space:nowrap"><span typeof="mw:File"><span><img src="//upload.wikimedia.org/wikipedia/commons/thumb/a/a8/OOjs_UI_icon_lightbulb-yellow.svg/20px-OOjs_UI_icon_lightbulb-yellow.svg.png" decoding="async" width="20" height="20" class="mw-file-element" srcset="//upload.wikimedia.org/wikipedia/commons/thumb/a/a8/OOjs_UI_icon_lightbulb-yellow.svg/30px-OOjs_UI_icon_lightbulb-yellow.svg.png 1.5x, //upload.wikimedia.org/wikipedia/commons/thumb/a/a8/OOjs_UI_icon_lightbulb-yellow.svg/40px-OOjs_UI_icon_lightbulb-yellow.svg.png 2x" data-file-width="20" data-file-height="20"/></span></span> To do</b> <a href="https://www.wikidata.org/wiki/Q47208127" class="extiw" title="wikidata:Q47208127">RIPEMD-160</a> - <a href="/view/en/Z10139" title="Z10139">RIPEMD-160 (<span dir="ltr">Z10139</span>)</a></li> <li><b style="white-space:nowrap"><span typeof="mw:File"><span><img src="//upload.wikimedia.org/wikipedia/commons/thumb/a/a8/OOjs_UI_icon_lightbulb-yellow.svg/20px-OOjs_UI_icon_lightbulb-yellow.svg.png" decoding="async" width="20" height="20" class="mw-file-element" srcset="//upload.wikimedia.org/wikipedia/commons/thumb/a/a8/OOjs_UI_icon_lightbulb-yellow.svg/30px-OOjs_UI_icon_lightbulb-yellow.svg.png 1.5x, //upload.wikimedia.org/wikipedia/commons/thumb/a/a8/OOjs_UI_icon_lightbulb-yellow.svg/40px-OOjs_UI_icon_lightbulb-yellow.svg.png 2x" data-file-width="20" data-file-height="20"/></span></span> To do</b> <a href="https://www.wikidata.org/wiki/Q47463469" class="extiw" title="wikidata:Q47463469">BLAKE2b-160</a> - <a href="/view/en/Z10140" title="Z10140">BLAKE2b-160 (<span dir="ltr">Z10140</span>)</a></li> <li><b style="white-space:nowrap"><span typeof="mw:File"><span><img src="//upload.wikimedia.org/wikipedia/commons/thumb/a/a8/OOjs_UI_icon_lightbulb-yellow.svg/20px-OOjs_UI_icon_lightbulb-yellow.svg.png" decoding="async" width="20" height="20" class="mw-file-element" srcset="//upload.wikimedia.org/wikipedia/commons/thumb/a/a8/OOjs_UI_icon_lightbulb-yellow.svg/30px-OOjs_UI_icon_lightbulb-yellow.svg.png 1.5x, //upload.wikimedia.org/wikipedia/commons/thumb/a/a8/OOjs_UI_icon_lightbulb-yellow.svg/40px-OOjs_UI_icon_lightbulb-yellow.svg.png 2x" data-file-width="20" data-file-height="20"/></span></span> To do</b> <a href="https://www.wikidata.org/wiki/Q47463469" class="extiw" title="wikidata:Q47463469">BLAKE2b-256</a> - <a href="/view/en/Z10141" title="Z10141">BLAKE2b-256 (<span dir="ltr">Z10141</span>)</a></li> <li><b style="white-space:nowrap"><span typeof="mw:File"><span><img src="//upload.wikimedia.org/wikipedia/commons/thumb/a/a8/OOjs_UI_icon_lightbulb-yellow.svg/20px-OOjs_UI_icon_lightbulb-yellow.svg.png" decoding="async" width="20" height="20" class="mw-file-element" srcset="//upload.wikimedia.org/wikipedia/commons/thumb/a/a8/OOjs_UI_icon_lightbulb-yellow.svg/30px-OOjs_UI_icon_lightbulb-yellow.svg.png 1.5x, //upload.wikimedia.org/wikipedia/commons/thumb/a/a8/OOjs_UI_icon_lightbulb-yellow.svg/40px-OOjs_UI_icon_lightbulb-yellow.svg.png 2x" data-file-width="20" data-file-height="20"/></span></span> To do</b> <a href="https://www.wikidata.org/wiki/Q47463469" class="extiw" title="wikidata:Q47463469">BLAKE2b-384</a> - <a href="/view/en/Z10142" title="Z10142">BLAKE2b-384 (<span dir="ltr">Z10142</span>)</a></li> <li><b style="white-space:nowrap"><span typeof="mw:File"><span><img src="//upload.wikimedia.org/wikipedia/commons/thumb/a/a8/OOjs_UI_icon_lightbulb-yellow.svg/20px-OOjs_UI_icon_lightbulb-yellow.svg.png" decoding="async" width="20" height="20" class="mw-file-element" srcset="//upload.wikimedia.org/wikipedia/commons/thumb/a/a8/OOjs_UI_icon_lightbulb-yellow.svg/30px-OOjs_UI_icon_lightbulb-yellow.svg.png 1.5x, //upload.wikimedia.org/wikipedia/commons/thumb/a/a8/OOjs_UI_icon_lightbulb-yellow.svg/40px-OOjs_UI_icon_lightbulb-yellow.svg.png 2x" data-file-width="20" data-file-height="20"/></span></span> To do</b> <a href="https://www.wikidata.org/wiki/Q47463469" class="extiw" title="wikidata:Q47463469">BLAKE2b-512</a> - <a href="/view/en/Z10143" title="Z10143">BLAKE2b-512 (<span dir="ltr">Z10143</span>)</a></li> <li><b style="white-space:nowrap"><span typeof="mw:File"><span><img src="//upload.wikimedia.org/wikipedia/commons/thumb/a/a8/OOjs_UI_icon_lightbulb-yellow.svg/20px-OOjs_UI_icon_lightbulb-yellow.svg.png" decoding="async" width="20" height="20" class="mw-file-element" srcset="//upload.wikimedia.org/wikipedia/commons/thumb/a/a8/OOjs_UI_icon_lightbulb-yellow.svg/30px-OOjs_UI_icon_lightbulb-yellow.svg.png 1.5x, //upload.wikimedia.org/wikipedia/commons/thumb/a/a8/OOjs_UI_icon_lightbulb-yellow.svg/40px-OOjs_UI_icon_lightbulb-yellow.svg.png 2x" data-file-width="20" data-file-height="20"/></span></span> To do</b> <a href="https://www.wikidata.org/wiki/Q47463469" class="extiw" title="wikidata:Q47463469">BLAKE2s-128</a> - <a href="/view/en/Z10144" title="Z10144">BLAKE2s-128 (<span dir="ltr">Z10144</span>)</a></li> <li><b style="white-space:nowrap"><span typeof="mw:File"><span><img src="//upload.wikimedia.org/wikipedia/commons/thumb/a/a8/OOjs_UI_icon_lightbulb-yellow.svg/20px-OOjs_UI_icon_lightbulb-yellow.svg.png" decoding="async" width="20" height="20" class="mw-file-element" srcset="//upload.wikimedia.org/wikipedia/commons/thumb/a/a8/OOjs_UI_icon_lightbulb-yellow.svg/30px-OOjs_UI_icon_lightbulb-yellow.svg.png 1.5x, //upload.wikimedia.org/wikipedia/commons/thumb/a/a8/OOjs_UI_icon_lightbulb-yellow.svg/40px-OOjs_UI_icon_lightbulb-yellow.svg.png 2x" data-file-width="20" data-file-height="20"/></span></span> To do</b> <a href="https://www.wikidata.org/wiki/Q47463469" class="extiw" title="wikidata:Q47463469">BLAKE2s-160</a> - <a href="/view/en/Z10145" title="Z10145">BLAKE2s-160 (<span dir="ltr">Z10145</span>)</a></li> <li><b style="white-space:nowrap"><span typeof="mw:File"><span><img src="//upload.wikimedia.org/wikipedia/commons/thumb/a/a8/OOjs_UI_icon_lightbulb-yellow.svg/20px-OOjs_UI_icon_lightbulb-yellow.svg.png" decoding="async" width="20" height="20" class="mw-file-element" srcset="//upload.wikimedia.org/wikipedia/commons/thumb/a/a8/OOjs_UI_icon_lightbulb-yellow.svg/30px-OOjs_UI_icon_lightbulb-yellow.svg.png 1.5x, //upload.wikimedia.org/wikipedia/commons/thumb/a/a8/OOjs_UI_icon_lightbulb-yellow.svg/40px-OOjs_UI_icon_lightbulb-yellow.svg.png 2x" data-file-width="20" data-file-height="20"/></span></span> To do</b> <a href="https://www.wikidata.org/wiki/Q47463469" class="extiw" title="wikidata:Q47463469">BLAKE2s-224</a> - <a href="/view/en/Z10146" title="Z10146">BLAKE2s-224 (<span dir="ltr">Z10146</span>)</a></li> <li><b style="white-space:nowrap"><span typeof="mw:File"><span><img src="//upload.wikimedia.org/wikipedia/commons/thumb/a/a8/OOjs_UI_icon_lightbulb-yellow.svg/20px-OOjs_UI_icon_lightbulb-yellow.svg.png" decoding="async" width="20" height="20" class="mw-file-element" srcset="//upload.wikimedia.org/wikipedia/commons/thumb/a/a8/OOjs_UI_icon_lightbulb-yellow.svg/30px-OOjs_UI_icon_lightbulb-yellow.svg.png 1.5x, //upload.wikimedia.org/wikipedia/commons/thumb/a/a8/OOjs_UI_icon_lightbulb-yellow.svg/40px-OOjs_UI_icon_lightbulb-yellow.svg.png 2x" data-file-width="20" data-file-height="20"/></span></span> To do</b> <a href="https://www.wikidata.org/wiki/Q47463469" class="extiw" title="wikidata:Q47463469">BLAKE2s-256</a> - <a href="/view/en/Z10147" title="Z10147">BLAKE2s-256 (<span dir="ltr">Z10147</span>)</a></li> <li><b style="white-space:nowrap"><span typeof="mw:File"><span><img src="//upload.wikimedia.org/wikipedia/commons/thumb/a/a8/OOjs_UI_icon_lightbulb-yellow.svg/20px-OOjs_UI_icon_lightbulb-yellow.svg.png" decoding="async" width="20" height="20" class="mw-file-element" srcset="//upload.wikimedia.org/wikipedia/commons/thumb/a/a8/OOjs_UI_icon_lightbulb-yellow.svg/30px-OOjs_UI_icon_lightbulb-yellow.svg.png 1.5x, //upload.wikimedia.org/wikipedia/commons/thumb/a/a8/OOjs_UI_icon_lightbulb-yellow.svg/40px-OOjs_UI_icon_lightbulb-yellow.svg.png 2x" data-file-width="20" data-file-height="20"/></span></span> To do</b> <a href="https://www.wikidata.org/wiki/Q47465971" class="extiw" title="wikidata:Q47465971">SHA-224</a> - <a href="/view/en/Z10149" title="Z10149">SHA-224 (<span dir="ltr">Z10149</span>)</a></li> <li><b style="white-space:nowrap"><span typeof="mw:File"><span><img src="//upload.wikimedia.org/wikipedia/commons/thumb/a/a8/OOjs_UI_icon_lightbulb-yellow.svg/20px-OOjs_UI_icon_lightbulb-yellow.svg.png" decoding="async" width="20" height="20" class="mw-file-element" srcset="//upload.wikimedia.org/wikipedia/commons/thumb/a/a8/OOjs_UI_icon_lightbulb-yellow.svg/30px-OOjs_UI_icon_lightbulb-yellow.svg.png 1.5x, //upload.wikimedia.org/wikipedia/commons/thumb/a/a8/OOjs_UI_icon_lightbulb-yellow.svg/40px-OOjs_UI_icon_lightbulb-yellow.svg.png 2x" data-file-width="20" data-file-height="20"/></span></span> To do</b> <a href="https://www.wikidata.org/wiki/Q47465971" class="extiw" title="wikidata:Q47465971">HMAC-SHA-256</a></li> <li><b style="white-space:nowrap"><span typeof="mw:File"><span><img src="//upload.wikimedia.org/wikipedia/commons/thumb/a/a8/OOjs_UI_icon_lightbulb-yellow.svg/20px-OOjs_UI_icon_lightbulb-yellow.svg.png" decoding="async" width="20" height="20" class="mw-file-element" srcset="//upload.wikimedia.org/wikipedia/commons/thumb/a/a8/OOjs_UI_icon_lightbulb-yellow.svg/30px-OOjs_UI_icon_lightbulb-yellow.svg.png 1.5x, //upload.wikimedia.org/wikipedia/commons/thumb/a/a8/OOjs_UI_icon_lightbulb-yellow.svg/40px-OOjs_UI_icon_lightbulb-yellow.svg.png 2x" data-file-width="20" data-file-height="20"/></span></span> To do</b> <a href="https://www.wikidata.org/wiki/Q87486893" class="extiw" title="wikidata:Q87486893">SHAKE-128</a> - <a href="/view/en/Z10150" title="Z10150">SHAKE-128 (<span dir="ltr">Z10150</span>)</a></li> <li><b style="white-space:nowrap"><span typeof="mw:File"><span><img src="//upload.wikimedia.org/wikipedia/commons/thumb/a/a8/OOjs_UI_icon_lightbulb-yellow.svg/20px-OOjs_UI_icon_lightbulb-yellow.svg.png" decoding="async" width="20" height="20" class="mw-file-element" srcset="//upload.wikimedia.org/wikipedia/commons/thumb/a/a8/OOjs_UI_icon_lightbulb-yellow.svg/30px-OOjs_UI_icon_lightbulb-yellow.svg.png 1.5x, //upload.wikimedia.org/wikipedia/commons/thumb/a/a8/OOjs_UI_icon_lightbulb-yellow.svg/40px-OOjs_UI_icon_lightbulb-yellow.svg.png 2x" data-file-width="20" data-file-height="20"/></span></span> To do</b> <a href="https://www.wikidata.org/wiki/Q87486893" class="extiw" title="wikidata:Q87486893">SHAKE-256</a> - <a href="/view/en/Z10151" title="Z10151">SHAKE-256 (<span dir="ltr">Z10151</span>)</a></li></ul> <div class="mw-heading mw-heading3"><h3 id="Colour_functions" data-mw-thread-id="h-Colour_functions-Proposed_functions_requiring_future_types"><span data-mw-comment-start="" id="h-Colour_functions-Proposed_functions_requiring_future_types"></span>Colour functions<span data-mw-comment-end="h-Colour_functions-Proposed_functions_requiring_future_types"></span></h3></div> <ul><li>return colour contrast ratio (per <a rel="nofollow" class="external autonumber" href="https://webaim.org/articles/contrast/">[1]</a>) of two RGB colours (provided as strings e.g. "#FF0000")</li></ul> <div class="mw-heading mw-heading3"><h3 id="Date,_time,_and_calendric_functions" data-mw-thread-id="h-Date,_time,_and_calendric_functions-Proposed_functions_requiring_future_types"><span id="Date.2C_time.2C_and_calendric_functions"></span><span data-mw-comment-start="" id="h-Date,_time,_and_calendric_functions-Proposed_functions_requiring_future_types"></span>Date, time, and calendric functions<span data-mw-comment-end="h-Date,_time,_and_calendric_functions-Proposed_functions_requiring_future_types"></span></h3></div> <p>Note: 'time' type not yet supported, use 'string' (or for strictly numeric values, 'natural number') </p> <div class="mw-heading mw-heading4"><h4 id="Bengali_calendar" data-mw-thread-id="h-Bengali_calendar-Date,_time,_and_calendric_functions"><span data-mw-comment-start="" id="h-Bengali_calendar-Date,_time,_and_calendric_functions"></span>Bengali calendar<span data-mw-comment-end="h-Bengali_calendar-Date,_time,_and_calendric_functions"></span></h4></div> <p><a href="/view/en/Z12926" title="Z12926">Gregorian to Bengali date (Bangladesh) <small>(Z12926)</small></a>: <small>Converts a Gregorian date to Bangla date per Bangladeshi calendar. Inputs: Year, Month, Day.</small> </p> <div class="mw-heading mw-heading4"><h4 id="Chinese_calendar" data-mw-thread-id="h-Chinese_calendar-Date,_time,_and_calendric_functions"><span data-mw-comment-start="" id="h-Chinese_calendar-Date,_time,_and_calendric_functions"></span>Chinese calendar<span data-mw-comment-end="h-Chinese_calendar-Date,_time,_and_calendric_functions"></span></h4></div> <div class="mw-heading mw-heading4"><h4 id="French_Republican_Calendar" data-mw-thread-id="h-French_Republican_Calendar-Date,_time,_and_calendric_functions"><span data-mw-comment-start="" id="h-French_Republican_Calendar-Date,_time,_and_calendric_functions"></span>French Republican Calendar<span data-mw-comment-end="h-French_Republican_Calendar-Date,_time,_and_calendric_functions"></span></h4></div> <p>decimalises and secularises the Gregorian </p> <ul><li>day names: <a href="/view/en/Z13006" title="Z13006">is the day name part of the French Republican Calendar 'rural' naming? <small>(Z13006)</small></a>: <small>tests if input is one of the French-language names for days in the FRC</small><b style="white-space:nowrap"><span typeof="mw:File"><span><img src="//upload.wikimedia.org/wikipedia/commons/thumb/7/77/OOjs_UI_icon_close-ltr-destructive.svg/25px-OOjs_UI_icon_close-ltr-destructive.svg.png" decoding="async" width="25" height="25" class="mw-file-element" srcset="//upload.wikimedia.org/wikipedia/commons/thumb/7/77/OOjs_UI_icon_close-ltr-destructive.svg/38px-OOjs_UI_icon_close-ltr-destructive.svg.png 1.5x, //upload.wikimedia.org/wikipedia/commons/thumb/7/77/OOjs_UI_icon_close-ltr-destructive.svg/50px-OOjs_UI_icon_close-ltr-destructive.svg.png 2x" data-file-width="20" data-file-height="20"/></span></span> Not done</b> <b>yet</b></li></ul> <div class="mw-heading mw-heading4"><h4 id="Gregorian" data-mw-thread-id="h-Gregorian-Date,_time,_and_calendric_functions"><span data-mw-comment-start="" id="h-Gregorian-Date,_time,_and_calendric_functions"></span>Gregorian<span data-mw-comment-end="h-Gregorian-Date,_time,_and_calendric_functions"></span></h4></div> <p>widely used calendar derived from the Julian, basis for <a href="https://xkcd.com/1179" class="extiw" title="xkcd:1179">ISO 8601</a> </p> <ul><li>date to ISO week number <a href="https://www.wikidata.org/wiki/Q2110154" class="extiw" title="d:Q2110154">ISO week date <small>(Q2110154)</small></a></li> <li>string to date</li> <li>date to ISO 8601 string</li> <li>date to year (yyyy)</li> <li>date to month of the year (1-12)</li> <li>date to month name (January-December)</li> <li>date to day of the month (1-31)</li> <li>date to hour of the day (0-23)</li> <li>date to minutes (0-59)</li> <li>date to seconds (0-59)</li></ul> <div class="mw-heading mw-heading4"><h4 id="Holocene_calendar" data-mw-thread-id="h-Holocene_calendar-Date,_time,_and_calendric_functions"><span data-mw-comment-start="" id="h-Holocene_calendar-Date,_time,_and_calendric_functions"></span>Holocene calendar<span data-mw-comment-end="h-Holocene_calendar-Date,_time,_and_calendric_functions"></span></h4></div> <ul><li><a href="https://en.wikipedia.org/wiki/en:Holocene_calendar#Conversion" class="extiw" title="w:en:Holocene calendar">w:en:Holocene calendar#Conversion</a></li></ul> <div class="mw-heading mw-heading4"><h4 id="Indian_national_calendar" data-mw-thread-id="h-Indian_national_calendar-Date,_time,_and_calendric_functions"><span data-mw-comment-start="" id="h-Indian_national_calendar-Date,_time,_and_calendric_functions"></span>Indian national calendar<span data-mw-comment-end="h-Indian_national_calendar-Date,_time,_and_calendric_functions"></span></h4></div> <div class="mw-heading mw-heading4"><h4 id="Islamic" data-mw-thread-id="h-Islamic-Date,_time,_and_calendric_functions"><span data-mw-comment-start="" id="h-Islamic-Date,_time,_and_calendric_functions"></span>Islamic<span data-mw-comment-end="h-Islamic-Date,_time,_and_calendric_functions"></span></h4></div> <p>a solar calendar, also called Hijri </p> <div class="mw-heading mw-heading4"><h4 id="Julian" data-mw-thread-id="h-Julian-Date,_time,_and_calendric_functions"><span data-mw-comment-start="" id="h-Julian-Date,_time,_and_calendric_functions"></span>Julian<span data-mw-comment-end="h-Julian-Date,_time,_and_calendric_functions"></span></h4></div> <p>mostly used by astronomers, some historians, and some Orthodox Christian denominations </p> <div class="mw-heading mw-heading4"><h4 id="Mesoamerican_calendars" data-mw-thread-id="h-Mesoamerican_calendars-Date,_time,_and_calendric_functions"><span data-mw-comment-start="" id="h-Mesoamerican_calendars-Date,_time,_and_calendric_functions"></span>Mesoamerican calendars<span data-mw-comment-end="h-Mesoamerican_calendars-Date,_time,_and_calendric_functions"></span></h4></div> <p>including civil and clerical forms </p> <div class="mw-heading mw-heading4"><h4 id="Persian" data-mw-thread-id="h-Persian-Date,_time,_and_calendric_functions"><span data-mw-comment-start="" id="h-Persian-Date,_time,_and_calendric_functions"></span>Persian<span data-mw-comment-end="h-Persian-Date,_time,_and_calendric_functions"></span></h4></div> <p>also called Jalali </p> <div class="mw-heading mw-heading4"><h4 id="Thai_calendar" data-mw-thread-id="h-Thai_calendar-Date,_time,_and_calendric_functions"><span data-mw-comment-start="" id="h-Thai_calendar-Date,_time,_and_calendric_functions"></span>Thai calendar<span data-mw-comment-end="h-Thai_calendar-Date,_time,_and_calendric_functions"></span></h4></div> <div class="mw-heading mw-heading4"><h4 id="Hebrew_calendar" data-mw-thread-id="h-Hebrew_calendar-Date,_time,_and_calendric_functions"><span data-mw-comment-start="" id="h-Hebrew_calendar-Date,_time,_and_calendric_functions"></span>Hebrew calendar<span data-mw-comment-end="h-Hebrew_calendar-Date,_time,_and_calendric_functions"></span></h4></div> <div class="mw-heading mw-heading3"><h3 id="Basic_numerical_functions" data-mw-thread-id="h-Basic_numerical_functions-Proposed_functions_requiring_future_types-20231224193600"><span data-mw-comment-start="" id="h-Basic_numerical_functions-Proposed_functions_requiring_future_types-20231224193600"></span>Basic numerical functions<span data-mw-comment-end="h-Basic_numerical_functions-Proposed_functions_requiring_future_types-20231224193600"></span></h3></div> <ul><li><span data-mw-comment-start="" id="c-BrightSunMan-20231224193600-Basic_numerical_functions"></span>round up ("1.289" &amp; "2" ⇒ "1.29"; "5678" &amp; "2" ⇒ "5700") <dl><dd>So if the number is floating point, round to n decimal places, and if not, round to n significant figures. Is that right? <a href="/wiki/User:BrightSunMan" title="User:BrightSunMan">BrightSunMan</a> (<a href="/wiki/User_talk:BrightSunMan" title="User talk:BrightSunMan">talk</a>) <a href="https://www.wikifunctions.org/wiki/Wikifunctions:Suggest_a_function#c-BrightSunMan-20231224193600-Basic_numerical_functions" class="ext-discussiontools-init-timestamplink">19:36, 24 December 2023 (UTC)</a><span class="ext-discussiontools-init-replylink-buttons" data-mw-thread-id="c-BrightSunMan-20231224193600-Basic_numerical_functions"><span class="ext-discussiontools-init-replylink-bracket">[</span><a class="ext-discussiontools-init-replylink-reply" role="button" tabindex="0" href="">reply</a><span class="ext-discussiontools-init-replylink-bracket">]</span><!--__DTELLIPSISBUTTON__{"threadItem":{"timestamp":"20231224193600","author":"BrightSunMan","type":"comment","level":2,"id":"c-BrightSunMan-20231224193600-Basic_numerical_functions","replies":[]}}--></span><span data-mw-comment-end="c-BrightSunMan-20231224193600-Basic_numerical_functions"></span></dd></dl></li> <li>round down</li> <li>return integer value (5678.678 ⇒ 5678)</li> <li><a href="/view/en/Z13587" title="Z13587">English cardinal <small>(Z13587)</small></a>: <small>expresses a natural number in English words</small> (23 ⇒ "twenty-three")</li> <li>Convert money from US$ to anything else <ul><li>requires source of conversion rates, which is a hole in function-likeness</li></ul></li> <li>Arabic numeral to Etruscan numeral</li> <li>Etruscan numeral to Arabic numeral</li></ul> <div class="mw-heading mw-heading3"><h3 id="Data_serialization_functions" data-mw-thread-id="h-Data_serialization_functions-Proposed_functions_requiring_future_types-20230805161600"><span data-mw-comment-start="" id="h-Data_serialization_functions-Proposed_functions_requiring_future_types-20230805161600"></span>Data serialization functions<span data-mw-comment-end="h-Data_serialization_functions-Proposed_functions_requiring_future_types-20230805161600"></span></h3></div> <ul><li><span data-mw-comment-start="" id="c-0xDeadbeef-20230805161600-Data_serialization_functions"></span>parse a string as <a href="https://en.wikipedia.org/wiki/JSON" class="extiw" title="en:JSON">JSON</a></li> <li>extract string from JSON object based on <a href="https://www.wikidata.org/wiki/Q121208951" class="extiw" title="d:Q121208951">JSONPath</a> (<code>{"name":"Alice"}</code>, "$.name" ⇒ "Alice") <dl><dd>Why not first convert a JSON string to an object, and then have a function that extracts fields based on JSONPath? Doing Stringly-typed things like this proposal as defined isn't a good idea. <a href="/wiki/User:0xDeadbeef" title="User:0xDeadbeef">0xDeadbeef</a> (<a href="/wiki/User_talk:0xDeadbeef" title="User talk:0xDeadbeef">talk</a>) <a href="https://www.wikifunctions.org/wiki/Wikifunctions:Suggest_a_function#c-0xDeadbeef-20230805161600-Data_serialization_functions" class="ext-discussiontools-init-timestamplink">16:16, 5 August 2023 (UTC)</a><span class="ext-discussiontools-init-replylink-buttons" data-mw-thread-id="c-0xDeadbeef-20230805161600-Data_serialization_functions"><span class="ext-discussiontools-init-replylink-bracket">[</span><a class="ext-discussiontools-init-replylink-reply" role="button" tabindex="0" href="">reply</a><span class="ext-discussiontools-init-replylink-bracket">]</span><!--__DTELLIPSISBUTTON__{"threadItem":{"timestamp":"20230805161600","author":"0xDeadbeef","type":"comment","level":2,"id":"c-0xDeadbeef-20230805161600-Data_serialization_functions","replies":["c-1-Byte-20230806095100-0xDeadbeef-20230805161600","c-Dolphyb-20240215161400-0xDeadbeef-20230805161600"]}}--></span><span data-mw-comment-end="c-0xDeadbeef-20230805161600-Data_serialization_functions"></span> <dl><dd><span data-mw-comment-start="" id="c-1-Byte-20230806095100-0xDeadbeef-20230805161600"></span>This seems to be a good idea, thanks! I moved and splitted the proposal accordingly. --<a href="/wiki/User:1-Byte" title="User:1-Byte">1-Byte</a> (<a href="/w/index.php?title=User_talk:1-Byte&amp;action=edit&amp;redlink=1" class="new" title="User talk:1-Byte (page does not exist)">talk</a>) <a href="https://www.wikifunctions.org/wiki/Wikifunctions:Suggest_a_function#c-1-Byte-20230806095100-0xDeadbeef-20230805161600" class="ext-discussiontools-init-timestamplink">09:51, 6 August 2023 (UTC)</a><span class="ext-discussiontools-init-replylink-buttons" data-mw-thread-id="c-1-Byte-20230806095100-0xDeadbeef-20230805161600"><span class="ext-discussiontools-init-replylink-bracket">[</span><a class="ext-discussiontools-init-replylink-reply" role="button" tabindex="0" href="">reply</a><span class="ext-discussiontools-init-replylink-bracket">]</span><!--__DTELLIPSISBUTTON__{"threadItem":{"timestamp":"20230806095100","author":"1-Byte","type":"comment","level":4,"id":"c-1-Byte-20230806095100-0xDeadbeef-20230805161600","replies":[]}}--></span><span data-mw-comment-end="c-1-Byte-20230806095100-0xDeadbeef-20230805161600"></span></dd> <dd><span data-mw-comment-start="" id="c-Dolphyb-20240215161400-0xDeadbeef-20230805161600"></span>is it okay to go ahead to create this 'extract string from JSON object based on JSONPath' as a function ? <a href="/wiki/User:Dolphyb" title="User:Dolphyb">Dolphyb</a> (<a href="/wiki/User_talk:Dolphyb" title="User talk:Dolphyb">talk</a>) <a href="https://www.wikifunctions.org/wiki/Wikifunctions:Suggest_a_function#c-Dolphyb-20240215161400-0xDeadbeef-20230805161600" class="ext-discussiontools-init-timestamplink">16:14, 15 February 2024 (UTC)</a><span class="ext-discussiontools-init-replylink-buttons" data-mw-thread-id="c-Dolphyb-20240215161400-0xDeadbeef-20230805161600"><span class="ext-discussiontools-init-replylink-bracket">[</span><a class="ext-discussiontools-init-replylink-reply" role="button" tabindex="0" href="">reply</a><span class="ext-discussiontools-init-replylink-bracket">]</span><!--__DTELLIPSISBUTTON__{"threadItem":{"timestamp":"20240215161400","author":"Dolphyb","type":"comment","level":4,"id":"c-Dolphyb-20240215161400-0xDeadbeef-20230805161600","replies":[]}}--></span><span data-mw-comment-end="c-Dolphyb-20240215161400-0xDeadbeef-20230805161600"></span></dd></dl></dd></dl></li></ul> <div class="mw-heading mw-heading3"><h3 id="Basic_list/iterable_functions_requiring_numeric_types" data-mw-thread-id="h-Basic_list/iterable_functions_requiring_numeric_types-Proposed_functions_requiring_future_types"><span id="Basic_list.2Fiterable_functions_requiring_numeric_types"></span><span data-mw-comment-start="" id="h-Basic_list/iterable_functions_requiring_numeric_types-Proposed_functions_requiring_future_types"></span>Basic list/iterable functions requiring numeric types<span data-mw-comment-end="h-Basic_list/iterable_functions_requiring_numeric_types-Proposed_functions_requiring_future_types"></span></h3></div> <ul><li>Sum the elements of a numeric list - <a href="/view/en/Z14038" title="Z14038">sum the elements of a list of natural numbers (<span dir="ltr">Z14038</span>)</a></li> <li>Product of the elements of a numeric list</li> <li><a href="/view/en/Z12676" title="Z12676">flat a list <small>(Z12676)</small></a>: <small>flatten a list to limited depth</small></li> <li>Slice of list elements: for the supplied list, return a list of elements that are at indexes between a supplied range n:m <ul><li>Zero indexing is used (first element is index 0)?</li> <li>n and m are are included in the range?</li> <li>What happens if n and/or m are invalid indexes?</li></ul></li> <li>Remove slice of elements from list: return the supplied list with elements between a supplied range of indexes removed <ul><li>Zero indexing is used (first element is index 0)?</li> <li>n and m are are included in the range?</li> <li>What happens if n and/or m are invalid indexes?</li></ul></li> <li>Every nth element of list: returns every nth element of the supplied list</li> <li>Remove every nth element of list: removes every nth element of the supplied list -</li> <li>sample n objects from list (return up to n <a href="/wiki/Wikifunctions:Determinism" title="Wikifunctions:Determinism">random</a> objects from the list)</li> <li>Jaccard similarity coefficient (see <a class="external free" href="https://en.wikipedia.org/wiki/Jaccard_index">https://en.wikipedia.org/wiki/Jaccard_index</a>)</li></ul> <div class="mw-heading mw-heading3"><h3 id="Geodetics_functions" data-mw-thread-id="h-Geodetics_functions-Proposed_functions_requiring_future_types"><span data-mw-comment-start="" id="h-Geodetics_functions-Proposed_functions_requiring_future_types"></span>Geodetics functions<span data-mw-comment-end="h-Geodetics_functions-Proposed_functions_requiring_future_types"></span></h3></div> <p><a href="https://en.wikipedia.org/wiki/en:planetary_coordinate_system" class="extiw" title="w:en:planetary coordinate system">w:en:planetary coordinate system</a>, <a href="https://en.wikipedia.org/wiki/en:well-known_text_representation_of_coordinate_reference_systems" class="extiw" title="w:en:well-known text representation of coordinate reference systems">w:en:well-known text representation of coordinate reference systems</a> </p> <div class="mw-heading mw-heading4"><h4 id="Earth" data-mw-thread-id="h-Earth-Geodetics_functions"><span data-mw-comment-start="" id="h-Earth-Geodetics_functions"></span>Earth<span data-mw-comment-end="h-Earth-Geodetics_functions"></span></h4></div> <ul><li>convert coordinates outside of the ranges (-180, 180) for longitude and (-90, 90) for latitude to a canonical form</li></ul> <div class="mw-heading mw-heading4"><h4 id="Mars" data-mw-thread-id="h-Mars-Geodetics_functions"><span data-mw-comment-start="" id="h-Mars-Geodetics_functions"></span>Mars<span data-mw-comment-end="h-Mars-Geodetics_functions"></span></h4></div> <ul><li>convert coordinates outside of the ranges [0, 360) for longitude and (-90, 90) for latitude to a canonical form</li></ul> <div class="mw-heading mw-heading3"><h3 id="Unit_conversion_functions" data-mw-thread-id="h-Unit_conversion_functions-Proposed_functions_requiring_future_types"><span data-mw-comment-start="" id="h-Unit_conversion_functions-Proposed_functions_requiring_future_types"></span>Unit conversion functions<span data-mw-comment-end="h-Unit_conversion_functions-Proposed_functions_requiring_future_types"></span></h3></div> <ul><li><a href="/view/en/Z15560" title="Z15560">Fahrenheit to Celsius <small>(Z15560)</small></a>: <small>Converts Fahrenheit (°F) to Celsius (°C)</small></li></ul> <div class="mw-heading mw-heading2 ext-discussiontools-init-section"><h2 id="Object_/_type_/_function_functions" data-mw-thread-id="h-Object_/_type_/_function_functions"><span id="Object_.2F_type_.2F_function_functions"></span><span data-mw-comment-start="" id="h-Object_/_type_/_function_functions"></span>Object / type / function functions<span data-mw-comment-end="h-Object_/_type_/_function_functions"></span></h2><!--__DTELLIPSISBUTTON__{"threadItem":{"headingLevel":2,"name":"h-","type":"heading","level":0,"id":"h-Object_\/_type_\/_function_functions","replies":[]}}--></div> <ul><li><a href="/view/en/Z17893" title="Z17893">ZID of object type <small>(Z17893)</small></a>: <small>returns a string with the ZID of the type of the object passed in</small></li></ul> <div class="mw-heading mw-heading2 ext-discussiontools-init-section"><h2 id="External_function_lists" data-mw-thread-id="h-External_function_lists"><span data-mw-comment-start="" id="h-External_function_lists"></span>External function lists<span data-mw-comment-end="h-External_function_lists"></span></h2><!--__DTELLIPSISBUTTON__{"threadItem":{"headingLevel":2,"name":"h-","type":"heading","level":0,"id":"h-External_function_lists","replies":[]}}--></div> <ul><li><a href="/wiki/Wikifunctions:Importing" title="Wikifunctions:Importing">WF:importing</a></li></ul> <!-- NewPP limit report Parsed by mw‐wikifunctions.codfw.main‐7d5bcd6cf5‐sbghs Cached time: 20241119084223 Cache expiry: 2592000 Reduced expiry: false Complications: [show‐toc] DiscussionTools time usage: 0.031 seconds CPU time usage: 0.292 seconds Real time usage: 0.739 seconds Preprocessor visited node count: 2846/1000000 Post‐expand include size: 10450/2097152 bytes Template argument size: 1648/2097152 bytes Highest expansion depth: 12/100 Expensive parser function count: 0/500 Unstrip recursion depth: 0/20 Unstrip post‐expand size: 826/5000000 bytes Lua time usage: 0.066/10.000 seconds Lua memory usage: 1784644/52428800 bytes Number of Wikibase entities loaded: 0/400 --> <!-- Transclusion expansion time report (%,ms,calls,template) 100.00% 191.833 1 -total 59.48% 114.096 11 Template:Z+ 12.53% 24.039 1 Template:Q 11.54% 22.139 3 Template:LangSwitch 9.68% 18.563 1 Template:Partly_done 9.50% 18.217 1 Template:Label 4.77% 9.152 1 Template:Z 4.64% 8.908 1 Template:Ping 3.27% 6.271 6 Template:Doing 2.93% 5.626 1 Template:Pagelang --> <!-- Saved in parser cache with key wikifunctionswiki:pcache:idhash:1176-0!canonical and timestamp 20241119084242 and revision id 139437. Rendering was triggered because: edit-page --> </div><!--esi <esi:include src="/esitest-fa8a495983347898/content" /> --><noscript><img src="https://login.wikimedia.org/wiki/Special:CentralAutoLogin/start?type=1x1" alt="" width="1" height="1" style="border: none; position: absolute;"></noscript> <div class="printfooter" data-nosnippet="">Retrieved from "<a dir="ltr" href="https://www.wikifunctions.org/w/index.php?title=Wikifunctions:Suggest_a_function&amp;oldid=139437">https://www.wikifunctions.org/w/index.php?title=Wikifunctions:Suggest_a_function&amp;oldid=139437</a>"</div></div> <div id="catlinks" class="catlinks" data-mw="interface"><div id="mw-normal-catlinks" class="mw-normal-catlinks"><a href="/wiki/Special:Categories" title="Special:Categories">Category</a>: <ul><li><a href="/wiki/Category:Maintenance" title="Category:Maintenance">Maintenance</a></li></ul></div></div> </div> </main> </div> <div class="mw-footer-container"> <footer id="footer" class="mw-footer" > <ul id="footer-info"> <li id="footer-info-lastmod"> This page was last edited on 19 November 2024, at 08:42.</li> <li id="footer-info-copyright">All function definitions, labels, and documentation in the main namespace are available under the <a rel="nofollow" class="external text" href="//creativecommons.org/publicdomain/zero/1.0/">Creative Commons CC0 License</a>. All code fragments and implementations in the main namespace are available under the <a rel="nofollow" class="external text" href="https://www.apache.org/licenses/LICENSE-2.0">Apache 2.0 License</a>. Text in other namespaces is available under the <a rel="nofollow" class="external text" href="//creativecommons.org/licenses/by-sa/4.0/">Creative Commons Attribution-ShareAlike License</a>; additional terms may apply. By using this site, you agree to the <a class="external text" href="https://foundation.wikimedia.org/wiki/Special:MyLanguage/Policy:Terms_of_Use">Terms of Use</a> and <a class="external text" href="https://foundation.wikimedia.org/wiki/Special:MyLanguage/Policy:Privacy_policy">Privacy Policy</a>.</li> </ul> <ul id="footer-places"> <li id="footer-places-privacy"><a href="https://foundation.wikimedia.org/wiki/Special:MyLanguage/Policy:Privacy_policy">Privacy policy</a></li> <li id="footer-places-about"><a href="/wiki/Wikifunctions:About">About Wikifunctions</a></li> <li id="footer-places-disclaimers"><a href="/wiki/Wikifunctions:General_disclaimer">Disclaimers</a></li> <li id="footer-places-wm-codeofconduct"><a href="https://foundation.wikimedia.org/wiki/Special:MyLanguage/Policy:Universal_Code_of_Conduct">Code of Conduct</a></li> <li id="footer-places-developers"><a href="https://developer.wikimedia.org">Developers</a></li> <li id="footer-places-statslink"><a href="https://stats.wikimedia.org/#/www.wikifunctions.org">Statistics</a></li> <li id="footer-places-cookiestatement"><a href="https://foundation.wikimedia.org/wiki/Special:MyLanguage/Policy:Cookie_statement">Cookie statement</a></li> </ul> <ul id="footer-icons" class="noprint"> <li id="footer-copyrightico"><a href="https://wikimediafoundation.org/" class="cdx-button cdx-button--fake-button cdx-button--size-large cdx-button--fake-button--enabled"><img src="/static/images/footer/wikimedia-button.svg" width="84" height="29" alt="Wikimedia Foundation" loading="lazy"></a></li> <li id="footer-poweredbyico"><a href="https://www.mediawiki.org/" class="cdx-button cdx-button--fake-button cdx-button--size-large cdx-button--fake-button--enabled"><img src="/w/resources/assets/poweredby_mediawiki.svg" alt="Powered by MediaWiki" width="88" height="31" loading="lazy"></a></li> </ul> </footer> </div> </div> </div> <div class="vector-settings" id="p-dock-bottom"> <ul></ul> </div><script>(RLQ=window.RLQ||[]).push(function(){mw.config.set({"wgHostname":"mw-wikifunctions.codfw.main-58f6cd5665-nwln5","wgBackendResponseTime":118,"wgDiscussionToolsPageThreads":[{"headingLevel":2,"name":"h-MilkyDefer-20230805112200","type":"heading","level":0,"id":"h-Proposed_functions_requiring_only_available_types_(string,_Boolean,_Natural_numb-20230805112200","replies":[{"headingLevel":3,"name":"h-MilkyDefer-20230805112200","type":"heading","level":0,"id":"h-String-Proposed_functions_requiring_only_available_types_(string,_Boolean,_Natural_numb-20230805112200","replies":[{"headingLevel":4,"name":"h-MolecularPilot-20241026102100","type":"heading","level":0,"id":"h-String_character_discard_functions-String-20241026102100","replies":[{"timestamp":"20241026102100","author":"MolecularPilot","type":"comment","level":2,"id":"c-MolecularPilot-20241026102100-String_character_discard_functions","replies":[]}]},{"headingLevel":4,"name":"h-","type":"heading","level":0,"id":"h-String_character_replacement_functions-String","replies":[]},{"headingLevel":4,"name":"h-","type":"heading","level":0,"id":"h-String_search_functions-String","replies":[]},{"headingLevel":4,"name":"h-","type":"heading","level":0,"id":"h-String_escaping_and_unescaping_functions-String","replies":[]},{"headingLevel":4,"name":"h-BrightSunMan-20231226152400","type":"heading","level":0,"id":"h-String_encoding_and_decoding_functions-String-20231226152400","replies":[{"timestamp":"20231226152400","author":"BrightSunMan","type":"comment","level":2,"id":"c-BrightSunMan-20231226152400-String_encoding_and_decoding_functions","replies":[]}]},{"headingLevel":4,"name":"h-Dexxor-20230904171500","type":"heading","level":0,"id":"h-String_presentation_functions-String-20230904171500","replies":[{"timestamp":"20230904171500","author":"Dexxor","type":"comment","level":2,"id":"c-Dexxor-20230904171500-String_presentation_functions","replies":[]}]},{"headingLevel":4,"name":"h-MilkyDefer-20230805112200","type":"heading","level":0,"id":"h-String_colour_notation_functions-String-20230805112200","replies":[{"timestamp":"20230805112200","author":"MilkyDefer","type":"comment","level":2,"id":"c-MilkyDefer-20230805112200-String_colour_notation_functions","replies":[{"timestamp":"20230806132300","author":"Dhx1","type":"comment","level":3,"id":"c-Dhx1-20230806132300-MilkyDefer-20230805112200","replies":[{"timestamp":"20230807123800","author":"0xDeadbeef","type":"comment","level":4,"id":"c-0xDeadbeef-20230807123800-Dhx1-20230806132300","replies":[]}]}],"displayName":"Milky"}]},{"headingLevel":4,"name":"h-Alexander-Mart-Earth-20231221142800","type":"heading","level":0,"id":"h-String_notation_validation_checks-String-20231221142800","replies":[{"timestamp":"20231221142800","author":"Alexander-Mart-Earth","type":"comment","level":2,"id":"c-Alexander-Mart-Earth-20231221142800-String_notation_validation_checks","replies":[]}]},{"headingLevel":4,"name":"h-","type":"heading","level":0,"id":"h-String_validation_checks-String","replies":[]},{"headingLevel":4,"name":"h-","type":"heading","level":0,"id":"h-String_analysis_functions-String","replies":[]},{"headingLevel":4,"name":"h-","type":"heading","level":0,"id":"h-Monolingual_text-String","replies":[]},{"headingLevel":4,"name":"h-","type":"heading","level":0,"id":"h-String_Wikitext_operations-String","replies":[]}]},{"headingLevel":3,"name":"h-","type":"heading","level":0,"id":"h-Natural_number-Proposed_functions_requiring_only_available_types_(string,_Boolean,_Natural_numb","replies":[]},{"headingLevel":3,"name":"h-","type":"heading","level":0,"id":"h-Integer-Proposed_functions_requiring_only_available_types_(string,_Boolean,_Natural_numb","replies":[]},{"headingLevel":3,"name":"h-","type":"heading","level":0,"id":"h-Object-Proposed_functions_requiring_only_available_types_(string,_Boolean,_Natural_numb","replies":[]},{"headingLevel":3,"name":"h-Well_very_well-20240518112000","type":"heading","level":0,"id":"h-List-Proposed_functions_requiring_only_available_types_(string,_Boolean,_Natural_numb-20240518112000","replies":[{"headingLevel":4,"name":"h-","type":"heading","level":0,"id":"h-Basic_list/iterable_functions-List","replies":[]},{"headingLevel":4,"name":"h-","type":"heading","level":0,"id":"h-Complex_list_functions-List","replies":[]},{"headingLevel":4,"name":"h-Well_very_well-20240518112000","type":"heading","level":0,"id":"h-CSV_list_operations-List-20240518112000","replies":[{"timestamp":"20240518112000","author":"Well very well","type":"comment","level":2,"id":"c-Well_very_well-20240518112000-CSV_list_operations","replies":[]}]}]},{"headingLevel":3,"name":"h-","type":"heading","level":0,"id":"h-Functions_with_functions_as_arguments-Proposed_functions_requiring_only_available_types_(string,_Boolean,_Natural_numb","replies":[]}]},{"headingLevel":2,"name":"h-","type":"heading","level":0,"id":"h-Morphological_functions","replies":[{"headingLevel":3,"name":"h-","type":"heading","level":0,"id":"h-mul_-_Multiple_languages-Morphological_functions","replies":[]},{"headingLevel":3,"name":"h-","type":"heading","level":0,"id":"h-ase_-_American_Sign_Language-Morphological_functions","replies":[]},{"headingLevel":3,"name":"h-","type":"heading","level":0,"id":"h-bn_-_Bangla-Morphological_functions","replies":[]},{"headingLevel":3,"name":"h-","type":"heading","level":0,"id":"h-cy_-_Welsh-Morphological_functions","replies":[]},{"headingLevel":3,"name":"h-","type":"heading","level":0,"id":"h-dag_-_Dagbani-Morphological_functions","replies":[]},{"headingLevel":3,"name":"h-","type":"heading","level":0,"id":"h-de_-_German-Morphological_functions","replies":[]},{"headingLevel":3,"name":"h-","type":"heading","level":0,"id":"h-en_-_English-Morphological_functions","replies":[]},{"headingLevel":3,"name":"h-","type":"heading","level":0,"id":"h-fr_-_French-Morphological_functions","replies":[]},{"headingLevel":3,"name":"h-","type":"heading","level":0,"id":"h-ha_-_Hausa-Morphological_functions","replies":[]},{"headingLevel":3,"name":"h-","type":"heading","level":0,"id":"h-ig_-_Igbo-Morphological_functions","replies":[]},{"headingLevel":3,"name":"h-","type":"heading","level":0,"id":"h-ldn_-_Láadan-Morphological_functions","replies":[]},{"headingLevel":3,"name":"h-","type":"heading","level":0,"id":"h-ml_-_Malayalam-Morphological_functions","replies":[]}]},{"headingLevel":2,"name":"h-0xDeadbeef-20230805161600","type":"heading","level":0,"id":"h-Proposed_functions_requiring_future_types-20230805161600","replies":[{"headingLevel":3,"name":"h-","type":"heading","level":0,"id":"h-String_manipulation_functions-Proposed_functions_requiring_future_types","replies":[]},{"headingLevel":3,"name":"h-","type":"heading","level":0,"id":"h-String_analysis_functions_2-Proposed_functions_requiring_future_types","replies":[]},{"headingLevel":3,"name":"h-","type":"heading","level":0,"id":"h-String_encoding_and_decoding_functions_2-Proposed_functions_requiring_future_types","replies":[]},{"headingLevel":3,"name":"h-魔琴-20231026185400","type":"heading","level":0,"id":"h-Natural_language_functions-Proposed_functions_requiring_future_types-20231026185400","replies":[{"timestamp":"20231026185400","author":"魔琴","type":"comment","level":2,"id":"c-魔琴-20231026185400-Natural_language_functions","replies":[{"timestamp":"20240209041500","author":"Arlo Barnes","type":"comment","level":3,"id":"c-Arlo_Barnes-20240209041500-魔琴-20231026185400","replies":[]}]}]},{"headingLevel":3,"name":"h-","type":"heading","level":0,"id":"h-Cryptographic_hash_functions-Proposed_functions_requiring_future_types","replies":[]},{"headingLevel":3,"name":"h-","type":"heading","level":0,"id":"h-Colour_functions-Proposed_functions_requiring_future_types","replies":[]},{"headingLevel":3,"name":"h-","type":"heading","level":0,"id":"h-Date,_time,_and_calendric_functions-Proposed_functions_requiring_future_types","replies":[{"headingLevel":4,"name":"h-","type":"heading","level":0,"id":"h-Bengali_calendar-Date,_time,_and_calendric_functions","replies":[]},{"headingLevel":4,"name":"h-","type":"heading","level":0,"id":"h-Chinese_calendar-Date,_time,_and_calendric_functions","replies":[]},{"headingLevel":4,"name":"h-","type":"heading","level":0,"id":"h-French_Republican_Calendar-Date,_time,_and_calendric_functions","replies":[]},{"headingLevel":4,"name":"h-","type":"heading","level":0,"id":"h-Gregorian-Date,_time,_and_calendric_functions","replies":[]},{"headingLevel":4,"name":"h-","type":"heading","level":0,"id":"h-Holocene_calendar-Date,_time,_and_calendric_functions","replies":[]},{"headingLevel":4,"name":"h-","type":"heading","level":0,"id":"h-Indian_national_calendar-Date,_time,_and_calendric_functions","replies":[]},{"headingLevel":4,"name":"h-","type":"heading","level":0,"id":"h-Islamic-Date,_time,_and_calendric_functions","replies":[]},{"headingLevel":4,"name":"h-","type":"heading","level":0,"id":"h-Julian-Date,_time,_and_calendric_functions","replies":[]},{"headingLevel":4,"name":"h-","type":"heading","level":0,"id":"h-Mesoamerican_calendars-Date,_time,_and_calendric_functions","replies":[]},{"headingLevel":4,"name":"h-","type":"heading","level":0,"id":"h-Persian-Date,_time,_and_calendric_functions","replies":[]},{"headingLevel":4,"name":"h-","type":"heading","level":0,"id":"h-Thai_calendar-Date,_time,_and_calendric_functions","replies":[]},{"headingLevel":4,"name":"h-","type":"heading","level":0,"id":"h-Hebrew_calendar-Date,_time,_and_calendric_functions","replies":[]}]},{"headingLevel":3,"name":"h-BrightSunMan-20231224193600","type":"heading","level":0,"id":"h-Basic_numerical_functions-Proposed_functions_requiring_future_types-20231224193600","replies":[{"timestamp":"20231224193600","author":"BrightSunMan","type":"comment","level":2,"id":"c-BrightSunMan-20231224193600-Basic_numerical_functions","replies":[]}]},{"headingLevel":3,"name":"h-0xDeadbeef-20230805161600","type":"heading","level":0,"id":"h-Data_serialization_functions-Proposed_functions_requiring_future_types-20230805161600","replies":[{"timestamp":"20230805161600","author":"0xDeadbeef","type":"comment","level":2,"id":"c-0xDeadbeef-20230805161600-Data_serialization_functions","replies":[{"timestamp":"20230806095100","author":"1-Byte","type":"comment","level":4,"id":"c-1-Byte-20230806095100-0xDeadbeef-20230805161600","replies":[]},{"timestamp":"20240215161400","author":"Dolphyb","type":"comment","level":4,"id":"c-Dolphyb-20240215161400-0xDeadbeef-20230805161600","replies":[]}]}]},{"headingLevel":3,"name":"h-","type":"heading","level":0,"id":"h-Basic_list/iterable_functions_requiring_numeric_types-Proposed_functions_requiring_future_types","replies":[]},{"headingLevel":3,"name":"h-","type":"heading","level":0,"id":"h-Geodetics_functions-Proposed_functions_requiring_future_types","replies":[{"headingLevel":4,"name":"h-","type":"heading","level":0,"id":"h-Earth-Geodetics_functions","replies":[]},{"headingLevel":4,"name":"h-","type":"heading","level":0,"id":"h-Mars-Geodetics_functions","replies":[]}]},{"headingLevel":3,"name":"h-","type":"heading","level":0,"id":"h-Unit_conversion_functions-Proposed_functions_requiring_future_types","replies":[]}]},{"headingLevel":2,"name":"h-","type":"heading","level":0,"id":"h-Object_/_type_/_function_functions","replies":[]},{"headingLevel":2,"name":"h-","type":"heading","level":0,"id":"h-External_function_lists","replies":[]}],"wgPageParseReport":{"discussiontools":{"limitreport-timeusage":"0.031"},"limitreport":{"cputime":"0.292","walltime":"0.739","ppvisitednodes":{"value":2846,"limit":1000000},"postexpandincludesize":{"value":10450,"limit":2097152},"templateargumentsize":{"value":1648,"limit":2097152},"expansiondepth":{"value":12,"limit":100},"expensivefunctioncount":{"value":0,"limit":500},"unstrip-depth":{"value":0,"limit":20},"unstrip-size":{"value":826,"limit":5000000},"entityaccesscount":{"value":0,"limit":400},"timingprofile":["100.00% 191.833 1 -total"," 59.48% 114.096 11 Template:Z+"," 12.53% 24.039 1 Template:Q"," 11.54% 22.139 3 Template:LangSwitch"," 9.68% 18.563 1 Template:Partly_done"," 9.50% 18.217 1 Template:Label"," 4.77% 9.152 1 Template:Z"," 4.64% 8.908 1 Template:Ping"," 3.27% 6.271 6 Template:Doing"," 2.93% 5.626 1 Template:Pagelang"]},"scribunto":{"limitreport-timeusage":{"value":"0.066","limit":"10.000"},"limitreport-memusage":{"value":1784644,"limit":52428800}},"cachereport":{"origin":"mw-wikifunctions.codfw.main-7d5bcd6cf5-sbghs","timestamp":"20241119084223","ttl":2592000,"transientcontent":false}}});});</script> </body> </html>

Pages: 1 2 3 4 5 6 7 8 9 10