From ec68b1ab38ec4a7f88ca1566e48fe2be9acc654c Mon Sep 17 00:00:00 2001 From: j Date: Wed, 15 Dec 2021 07:27:14 -0700 Subject: [PATCH] Alphabetize compiler/builtins/docs/ exposures --- compiler/builtins/docs/Bool.roc | 2 +- compiler/builtins/docs/Dict.roc | 14 +-- compiler/builtins/docs/List.roc | 46 ++++----- compiler/builtins/docs/Num.roc | 154 +++++++++++++++--------------- compiler/builtins/docs/Result.roc | 4 +- compiler/builtins/docs/Set.roc | 20 ++-- compiler/builtins/docs/Str.roc | 14 +-- 7 files changed, 127 insertions(+), 127 deletions(-) diff --git a/compiler/builtins/docs/Bool.roc b/compiler/builtins/docs/Bool.roc index 642733ec3d..d4a3b673fe 100644 --- a/compiler/builtins/docs/Bool.roc +++ b/compiler/builtins/docs/Bool.roc @@ -1,5 +1,5 @@ interface Bool - exposes [ not, and, or, xor, isEq, isNotEq ] + exposes [ and, isEq, isNotEq, not, or, xor ] imports [] ## Returns `False` when given `True`, and vice versa. diff --git a/compiler/builtins/docs/Dict.roc b/compiler/builtins/docs/Dict.roc index 05b1f82815..eda2e6e53c 100644 --- a/compiler/builtins/docs/Dict.roc +++ b/compiler/builtins/docs/Dict.roc @@ -2,19 +2,19 @@ interface Dict exposes [ Dict, + contains, + difference, empty, - single, get, - walk, + keys, insert, + intersection, len, remove, - contains, - keys, - values, + single, union, - intersection, - difference + values, + walk ] imports [] diff --git a/compiler/builtins/docs/List.roc b/compiler/builtins/docs/List.roc index 44c6d0c88a..09700da429 100644 --- a/compiler/builtins/docs/List.roc +++ b/compiler/builtins/docs/List.roc @@ -2,41 +2,41 @@ interface List exposes [ List, - isEmpty, - get, - set, append, - len, - walkBackwards, concat, - first, - single, - repeat, - reverse, - prepend, - join, - keepIf, contains, - sum, - walk, - last, - keepOks, + drop, + dropAt, + dropLast, + first, + get, + isEmpty, + join, keepErrs, + keepIf, + keepOks, + last, + len, map, map2, map3, map4, - mapWithIndex, - mapOrDrop, mapJoin, + mapOrDrop, + mapWithIndex, + prepend, product, - walkUntil, range, + repeat, + reverse, + set, + single, sortWith, - drop, - dropAt, - dropLast, - swap + sum, + swap, + walk, + walkBackwards, + walkUntil ] imports [] diff --git a/compiler/builtins/docs/Num.roc b/compiler/builtins/docs/Num.roc index bcad1c1208..325de0d854 100644 --- a/compiler/builtins/docs/Num.roc +++ b/compiler/builtins/docs/Num.roc @@ -2,91 +2,91 @@ interface Num exposes [ Num, - Int, - Float, - Natural, - Nat, - Decimal, - Dec, - Integer, - FloatingPoint, - I128, - U128, - I64, - U64, - I32, - U32, - I16, - U16, - I8, - U8, - F64, - F32, - maxInt, - minInt, - maxFloat, - minFloat, - abs, - neg, - add, - sub, - mul, - isLt, - isLte, - isGt, - isGte, - toFloat, - sin, - cos, - tan, - isZero, - isEven, - isOdd, - isPositive, - isNegative, - rem, - div, - divFloor, - modInt, - modFloat, - sqrt, - log, - round, - compare, - pow, - ceiling, - powInt, - floor, - addWrap, - addChecked, - atan, - acos, - toStr, - Signed128, - Signed64, - Signed32, - Signed16, - Signed8, - Unsigned128, - Unsigned64, - Unsigned32, - Unsigned16, - Unsigned8, Binary64, Binary32, + Dec, + Decimal, + Float, + FloatingPoint, + F32, + F64, + I8, + I16, + I32, + I64, + I128, + Int, + Integer, + Nat, + Natural, + Signed8, + Signed16, + Signed32, + Signed64, + Signed128, + U8, + U16, + U32, + U64, + U128, + Unsigned8, + Unsigned16, + Unsigned32, + Unsigned64, + Unsigned128, + abs, + acos, + add, + addChecked, + addWrap, + atan, bitwiseAnd, - bitwiseXor, bitwiseOr, + bitwiseXor, + ceiling, + compare, + cos, + div, + divFloor, + floor, + intCast, + isEven, + isGt, + isGte, + isLt, + isLte, + isMultipleOf, + isNegative, + isOdd, + isPositive, + isZero, + log, + maxFloat, + maxI128, + maxInt, + minFloat, + minInt, + modInt, + modFloat, + mul, + mulChecked, + mulWrap, + neg, + pow, + powInt, + rem, + round, shiftLeftBy, shiftRightBy, shiftRightZfBy, - subWrap, + sin, + sub, subChecked, - mulWrap, - mulChecked, - intCast, - maxI128, - isMultipleOf + subWrap, + sqrt, + tan, + toFloat, + toStr ] imports [] diff --git a/compiler/builtins/docs/Result.roc b/compiler/builtins/docs/Result.roc index 0fe0426eb6..0139029572 100644 --- a/compiler/builtins/docs/Result.roc +++ b/compiler/builtins/docs/Result.roc @@ -2,12 +2,12 @@ interface Result exposes [ Result, + after, isOk, isErr, map, mapErr, - withDefault, - after + withDefault ] imports [] diff --git a/compiler/builtins/docs/Set.roc b/compiler/builtins/docs/Set.roc index 608b21a9a1..98b5b3e286 100644 --- a/compiler/builtins/docs/Set.roc +++ b/compiler/builtins/docs/Set.roc @@ -2,18 +2,18 @@ interface Set exposes [ Set, - empty, - single, - len, - insert, - remove, - union, + contains, difference, - intersection, - toList, + empty, fromList, - walk, - contains + insert, + intersection, + len, + remove, + single, + toList, + union, + walk ] imports [] diff --git a/compiler/builtins/docs/Str.roc b/compiler/builtins/docs/Str.roc index d403ad888f..8bac6a7944 100644 --- a/compiler/builtins/docs/Str.roc +++ b/compiler/builtins/docs/Str.roc @@ -2,19 +2,19 @@ interface Str exposes [ Str, - isEmpty, append, concat, - joinWith, - split, countGraphemes, - startsWith, endsWith, fromUtf8, - Utf8Problem, - Utf8ByteProblem, + isEmpty, + joinWith, + split, + startsWith, + startsWithCodePt, toUtf8, - startsWithCodePt + Utf8Problem, + Utf8ByteProblem ] imports []