diff --git a/priv/static/squared_away.mjs b/priv/static/squared_away.mjs index f974d2b..ab358d3 100644 --- a/priv/static/squared_away.mjs +++ b/priv/static/squared_away.mjs @@ -5463,7 +5463,7 @@ function interpret(loop$env, loop$expr) { throw makeError( "let_assert", "squared_away/squared_away_lang/interpreter", - 134, + 132, "", "Pattern match failed, no pattern matched the value.", { value: $ } @@ -5479,7 +5479,7 @@ function interpret(loop$env, loop$expr) { throw makeError( "let_assert", "squared_away/squared_away_lang/interpreter", - 138, + 136, "", "Pattern match failed, no pattern matched the value.", { value: $ } @@ -5614,7 +5614,7 @@ function interpret(loop$env, loop$expr) { throw makeError( "let_assert", "squared_away/squared_away_lang/interpreter", - 220, + 218, "", "Pattern match failed, no pattern matched the value.", { value: v } @@ -5635,7 +5635,7 @@ function interpret(loop$env, loop$expr) { throw makeError( "let_assert", "squared_away/squared_away_lang/interpreter", - 228, + 226, "", "Pattern match failed, no pattern matched the value.", { value: v } @@ -5656,7 +5656,7 @@ function interpret(loop$env, loop$expr) { throw makeError( "let_assert", "squared_away/squared_away_lang/interpreter", - 236, + 234, "", "Pattern match failed, no pattern matched the value.", { value: v } @@ -6859,7 +6859,7 @@ function typecheck(env, expr) { throw makeError( "let_assert", "squared_away/squared_away_lang/typechecker", - 21, + 20, "typecheck", "Pattern match failed, no pattern matched the value.", { value: key } @@ -6923,7 +6923,7 @@ function typecheck(env, expr) { throw makeError( "let_assert", "squared_away/squared_away_lang/typechecker", - 59, + 58, "", "Pattern match failed, no pattern matched the value.", { value: i } @@ -6956,7 +6956,7 @@ function typecheck(env, expr) { throw makeError( "let_assert", "squared_away/squared_away_lang/typechecker", - 76, + 75, "", "Pattern match failed, no pattern matched the value.", { value: t2 } @@ -8296,7 +8296,7 @@ function update(model, msg) { throw makeError( "let_assert", "squared_away", - 207, + 206, "", "Pattern match failed, no pattern matched the value.", { value: maybe_expr } @@ -8311,7 +8311,7 @@ function update(model, msg) { throw makeError( "let_assert", "squared_away", - 215, + 214, "", "Pattern match failed, no pattern matched the value.", { value: $ } @@ -8338,7 +8338,7 @@ function update(model, msg) { throw makeError( "let_assert", "squared_away", - 235, + 234, "", "Pattern match failed, no pattern matched the value.", { value: $1 } @@ -8397,7 +8397,7 @@ function update(model, msg) { throw makeError( "let_assert", "squared_away", - 275, + 274, "", "Pattern match failed, no pattern matched the value.", { value: maybe_expr } @@ -8412,7 +8412,7 @@ function update(model, msg) { throw makeError( "let_assert", "squared_away", - 280, + 279, "", "Pattern match failed, no pattern matched the value.", { value: $ } @@ -8439,7 +8439,7 @@ function update(model, msg) { throw makeError( "let_assert", "squared_away", - 299, + 298, "", "Pattern match failed, no pattern matched the value.", { value: $1 } @@ -8518,7 +8518,7 @@ function main() { throw makeError( "let_assert", "squared_away", - 32, + 31, "main", "Pattern match failed, no pattern matched the value.", { value: $ } diff --git a/src/squared_away.gleam b/src/squared_away.gleam index 0301780..2f3e46b 100644 --- a/src/squared_away.gleam +++ b/src/squared_away.gleam @@ -7,9 +7,8 @@ import gleam/list import gleam/option.{type Option, None, Some} import gleam/pair import gleam/result -import gleam/string import lustre -import lustre/attribute.{class} +import lustre/attribute import lustre/effect import lustre/element import lustre/element/html diff --git a/src/squared_away/squared_away_lang/interpreter.gleam b/src/squared_away/squared_away_lang/interpreter.gleam index 34ccba7..21fb325 100644 --- a/src/squared_away/squared_away_lang/interpreter.gleam +++ b/src/squared_away/squared_away_lang/interpreter.gleam @@ -1,8 +1,6 @@ import gleam/float import gleam/int -import gleam/io -import gleam/list.{Continue, Stop} -import gleam/option.{None, Some} +import gleam/list import gleam/result import squared_away/squared_away_lang/error import squared_away/squared_away_lang/grid diff --git a/src/squared_away/squared_away_lang/typechecker.gleam b/src/squared_away/squared_away_lang/typechecker.gleam index d80197f..5b288f4 100644 --- a/src/squared_away/squared_away_lang/typechecker.gleam +++ b/src/squared_away/squared_away_lang/typechecker.gleam @@ -1,6 +1,5 @@ import gleam/bool import gleam/int -import gleam/io import gleam/list.{Continue, Stop} import gleam/option.{None, Some} import gleam/result diff --git a/src/squared_away/squared_away_lang/typechecker/typed_expr.gleam b/src/squared_away/squared_away_lang/typechecker/typed_expr.gleam index bdc5fc1..2dc786f 100644 --- a/src/squared_away/squared_away_lang/typechecker/typed_expr.gleam +++ b/src/squared_away/squared_away_lang/typechecker/typed_expr.gleam @@ -1,7 +1,5 @@ import gleam/float import gleam/int -import gleam/list -import gleam/set import gleam/string import squared_away/squared_away_lang/grid import squared_away/squared_away_lang/parser/expr