Skip to content

Commit

Permalink
Bump gleam
Browse files Browse the repository at this point in the history
  • Loading branch information
x0k committed Jul 29, 2024
1 parent 04c49ce commit 3c3b3a4
Show file tree
Hide file tree
Showing 22 changed files with 52 additions and 156 deletions.
2 changes: 1 addition & 1 deletion packages/gleam-runtime/gleam
Submodule gleam updated 160 files
Binary file modified packages/gleam-runtime/src/vendor/compiler/gleam_wasm_bg.wasm
Binary file not shown.
2 changes: 1 addition & 1 deletion packages/gleam-runtime/src/vendor/compiler/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"collaborators": [
"Louis Pilfold <[email protected]>"
],
"version": "1.3.0-rc1",
"version": "1.3.2",
"license": "SEE LICENSE IN LICENCE",
"files": [
"gleam_wasm_bg.wasm",
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { toList, remainderInt } from "../gleam.mjs";
import * as $string from "./string.mjs";
import * as $string from "../gleam/string.mjs";
import {
bit_array_from_string as from_string,
length as byte_size,
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import * as $order from "./order.mjs";
import * as $order from "../gleam/order.mjs";

export function and(a, b) {
return a && b;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import { toList, prepend as listPrepend, CustomType as $CustomType } from "../gleam.mjs";
import * as $bit_array from "./bit_array.mjs";
import * as $list from "./list.mjs";
import * as $string_builder from "./string_builder.mjs";
import * as $bit_array from "../gleam/bit_array.mjs";
import * as $list from "../gleam/list.mjs";
import * as $string_builder from "../gleam/string_builder.mjs";

class Bytes extends $CustomType {
constructor(x0) {
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { Error, toList, prepend as listPrepend, isEqual } from "../gleam.mjs";
import * as $option from "./option.mjs";
import * as $option from "../gleam/option.mjs";
import {
map_size as size,
map_to_list as to_list,
Expand Down
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
import { Ok, Error, toList, prepend as listPrepend, CustomType as $CustomType } from "../gleam.mjs";
import * as $dict from "./dict.mjs";
import * as $int from "./int.mjs";
import * as $list from "./list.mjs";
import * as $option from "./option.mjs";
import * as $result from "./result.mjs";
import * as $string_builder from "./string_builder.mjs";
import * as $dict from "../gleam/dict.mjs";
import * as $int from "../gleam/int.mjs";
import * as $list from "../gleam/list.mjs";
import * as $option from "../gleam/option.mjs";
import * as $result from "../gleam/result.mjs";
import * as $string_builder from "../gleam/string_builder.mjs";
import {
identity as do_from,
identity as do_unsafe_coerce,
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { Ok, Error, divideFloat } from "../gleam.mjs";
import * as $order from "./order.mjs";
import * as $order from "../gleam/order.mjs";
import {
parse_float as do_parse,
float_to_string as do_to_string,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,8 @@ import {
remainderInt,
divideInt,
} from "../gleam.mjs";
import * as $float from "./float.mjs";
import * as $order from "./order.mjs";
import * as $float from "../gleam/float.mjs";
import * as $order from "../gleam/order.mjs";
import {
parse_int as do_parse,
int_from_base_string as do_base_parse,
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import * as $string from "./string.mjs";
import * as $string from "../gleam/string.mjs";
import {
print as do_print,
print_error as do_print_error,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,13 +6,13 @@ import {
CustomType as $CustomType,
isEqual,
} from "../gleam.mjs";
import * as $dict from "./dict.mjs";
import * as $int from "./int.mjs";
import * as $list from "./list.mjs";
import * as $option from "./option.mjs";
import { None, Some } from "./option.mjs";
import * as $order from "./order.mjs";
import * as $result from "./result.mjs";
import * as $dict from "../gleam/dict.mjs";
import * as $int from "../gleam/int.mjs";
import * as $list from "../gleam/list.mjs";
import * as $option from "../gleam/option.mjs";
import { None, Some } from "../gleam/option.mjs";
import * as $order from "../gleam/order.mjs";
import * as $result from "../gleam/result.mjs";

class Stop extends $CustomType {}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,11 +6,11 @@ import {
CustomType as $CustomType,
isEqual,
} from "../gleam.mjs";
import * as $dict from "./dict.mjs";
import * as $float from "./float.mjs";
import * as $int from "./int.mjs";
import * as $order from "./order.mjs";
import * as $pair from "./pair.mjs";
import * as $dict from "../gleam/dict.mjs";
import * as $float from "../gleam/float.mjs";
import * as $int from "../gleam/int.mjs";
import * as $order from "../gleam/order.mjs";
import * as $pair from "../gleam/pair.mjs";

export class Continue extends $CustomType {
constructor(x0) {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ import {
CustomType as $CustomType,
isEqual,
} from "../gleam.mjs";
import * as $list from "./list.mjs";
import * as $list from "../gleam/list.mjs";

class Queue extends $CustomType {
constructor(in$, out) {
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { CustomType as $CustomType } from "../gleam.mjs";
import * as $option from "./option.mjs";
import * as $option from "../gleam/option.mjs";
import {
compile_regex as do_compile,
regex_check as do_check,
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { Ok, Error, toList, prepend as listPrepend } from "../gleam.mjs";
import * as $list from "./list.mjs";
import * as $list from "../gleam/list.mjs";

export function is_ok(result) {
if (!result.isOk()) {
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import { CustomType as $CustomType, isEqual } from "../gleam.mjs";
import * as $dict from "./dict.mjs";
import * as $list from "./list.mjs";
import * as $result from "./result.mjs";
import * as $dict from "../gleam/dict.mjs";
import * as $list from "../gleam/list.mjs";
import * as $result from "../gleam/result.mjs";

class Set extends $CustomType {
constructor(dict) {
Expand Down
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
import { Ok, Error, prepend as listPrepend, remainderInt, divideInt } from "../gleam.mjs";
import * as $iterator from "./iterator.mjs";
import * as $list from "./list.mjs";
import * as $option from "./option.mjs";
import { None, Some } from "./option.mjs";
import * as $order from "./order.mjs";
import * as $string_builder from "./string_builder.mjs";
import * as $iterator from "../gleam/iterator.mjs";
import * as $list from "../gleam/list.mjs";
import * as $option from "../gleam/option.mjs";
import { None, Some } from "../gleam/option.mjs";
import * as $order from "../gleam/order.mjs";
import * as $string_builder from "../gleam/string_builder.mjs";
import {
string_length as do_length,
lowercase as do_lowercase,
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { toList, isEqual } from "../gleam.mjs";
import * as $list from "./list.mjs";
import * as $list from "../gleam/list.mjs";
import {
add as do_append,
concat as do_from_strings,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,15 +6,15 @@ import {
CustomType as $CustomType,
isEqual,
} from "../gleam.mjs";
import * as $int from "./int.mjs";
import * as $list from "./list.mjs";
import * as $option from "./option.mjs";
import { None, Some } from "./option.mjs";
import * as $pair from "./pair.mjs";
import * as $regex from "./regex.mjs";
import * as $result from "./result.mjs";
import * as $string from "./string.mjs";
import * as $string_builder from "./string_builder.mjs";
import * as $int from "../gleam/int.mjs";
import * as $list from "../gleam/list.mjs";
import * as $option from "../gleam/option.mjs";
import { None, Some } from "../gleam/option.mjs";
import * as $pair from "../gleam/pair.mjs";
import * as $regex from "../gleam/regex.mjs";
import * as $result from "../gleam/result.mjs";
import * as $string from "../gleam/string.mjs";
import * as $string_builder from "../gleam/string_builder.mjs";
import {
parse_query as do_parse_query,
percent_encode as do_percent_encode,
Expand Down

This file was deleted.

This file was deleted.

0 comments on commit 3c3b3a4

Please sign in to comment.