-
-
Notifications
You must be signed in to change notification settings - Fork 115
Component: Standard Library #5239
Copy link
Copy link
Open
Labels
ready-for-contribsThere's work here that's relatively approachable, if you're interested!There's work here that's relatively approachable, if you're interested!
Description
Activity
Metadata
Metadata
Assignees
Labels
ready-for-contribsThere's work here that's relatively approachable, if you're interested!There's work here that's relatively approachable, if you're interested!
Darklang's "standard library" is the suite of things (like many
Listfunctions) that the Dark team volunteers to steer and maintain, as opposed to functionality non-core, best designed and implemented by users. Much of these stdlib functionality is supported by Builtins for lower-level operations.This issue is to organize work related to Darklang's "standard library."
Most of the tasks here are accessible to contributors, especially with a bit of discussion.
Numerics and Math
Strings
String.trimStartandString.trimEndtoLower/toUpper(see Support "full" case mapping in Strings: toLower/toUpper #3437)Date and Time
Date::subtractwhich returns a timespanCollections
List.shuffleList.remove(some ergonomic way of removing an item)List.dropFirstif we don't have it alreadyList.indexOfList.maxByBytes
Bytes.containsBytes.toListBytes.mapBase64.urlEncodeBytes.slicebuiltinBytes.drop(usingBytes.slice)Bytes.take(usingBytes.slice)Bytes.append/Bytes.concatBytes.reverseBytes.containsSegmentBytes.startsWith,Bytes.endsWith(segment)Bytes.findBytes.indexOfBytes.lastIndexOfBytes.trimBytes.replace(either single byte or a segment of bytes)Json
URLs
Misc