From dc71486565ba04d85815cc17344e2bc5393f65e6 Mon Sep 17 00:00:00 2001 From: Ben Sima Date: Mon, 20 Apr 2020 20:33:21 -0700 Subject: Remove a todo GHC and GHCJS use different Http.Error types, so a WebData type doesn't make any sense. --- Network/RemoteData.hs | 3 --- 1 file changed, 3 deletions(-) (limited to 'Network/RemoteData.hs') diff --git a/Network/RemoteData.hs b/Network/RemoteData.hs index 4114f02..cbb4960 100644 --- a/Network/RemoteData.hs +++ b/Network/RemoteData.hs @@ -9,9 +9,6 @@ data RemoteData a b | Success b deriving (Eq, Show) --- TODO figure out Http.Error --- type WebData a = RemoteData Http.Error a - instance Functor (RemoteData a) where fmap _ NotAsked = NotAsked fmap _ Loading = Loading -- cgit v1.2.3