From ec1ecf5ca8cac236d0be632d2e226853f159576a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Christoph=20R=C3=BC=C3=9Fler?= Date: Wed, 14 Feb 2024 20:33:03 +0100 Subject: [PATCH] Remove unused code --- app/elm/Logo.elm | 5 ++--- app/elm/Main.elm | 1 - 2 files changed, 2 insertions(+), 4 deletions(-) diff --git a/app/elm/Logo.elm b/app/elm/Logo.elm index 507d267..7e06b07 100644 --- a/app/elm/Logo.elm +++ b/app/elm/Logo.elm @@ -14,10 +14,9 @@ module Logo exposing import Compiler.Ast as Ast exposing (Context(..)) import Compiler.Linker as Linker import Compiler.Parser as Parser -import Dict import Environment exposing (Environment) import Environment.History exposing (History) -import Parser.Advanced as Parser exposing (DeadEnd) +import Parser.Advanced as Parser import StandardLibrary import Vm.Vm as Vm exposing (State(..), Vm) @@ -85,7 +84,7 @@ compile program logo = Ok newVm -> Logo <| Paused { newVm | environment = Environment.input program newVm.environment } - Err error -> + Err _ -> Logo <| Done { vm | environment = Environment.error "parse error" vm.environment } diff --git a/app/elm/Main.elm b/app/elm/Main.elm index 68a86ae..3da43d3 100644 --- a/app/elm/Main.elm +++ b/app/elm/Main.elm @@ -10,7 +10,6 @@ import Css , boxShadow5 , height , left - , none , overflowY , pct , position