From 9d9707b6299d6a7e11e3c46fbe3e6e2706b2c728 Mon Sep 17 00:00:00 2001 From: David Johnson Date: Tue, 30 Jan 2024 17:18:57 -0600 Subject: [PATCH] Remove dodgy import related to `elem` (#736) --- src/Miso/FFI.hs | 2 +- src/Miso/Html/Types.hs | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/Miso/FFI.hs b/src/Miso/FFI.hs index 18ea0e2..36b0c71 100644 --- a/src/Miso/FFI.hs +++ b/src/Miso/FFI.hs @@ -64,7 +64,7 @@ import Language.Javascript.JSaddle hiding (obj, val) #else import Language.Javascript.JSaddle hiding (Success, obj, val) #endif -import Miso.String hiding (elem) +import Miso.String -- | Run given `JSM` action asynchronously, in a separate thread. forkJSM :: JSM () -> JSM () diff --git a/src/Miso/Html/Types.hs b/src/Miso/Html/Types.hs index b0fa416..3310fda 100644 --- a/src/Miso/Html/Types.hs +++ b/src/Miso/Html/Types.hs @@ -65,7 +65,7 @@ import Text.HTML.TagSoup (Tag(..)) import Miso.Effect import Miso.Event import Miso.FFI -import Miso.String hiding (elem, reverse) +import Miso.String hiding (reverse) -- | Core type for constructing a `VTree`, use this instead of `VTree` directly. data View action