summaryrefslogtreecommitdiff
path: root/Network
diff options
context:
space:
mode:
authorBen Sima <ben@bsima.me>2020-04-20 20:33:21 -0700
committerBen Sima <ben@bsima.me>2020-04-20 20:33:21 -0700
commitdc71486565ba04d85815cc17344e2bc5393f65e6 (patch)
tree0185a99c410eaf54e81c6e8aec7ba95e52ff7b2e /Network
parente68396459ecc5b04702117db5b24521b3a5014d3 (diff)
Remove a todo
GHC and GHCJS use different Http.Error types, so a WebData type doesn't make any sense.
Diffstat (limited to 'Network')
-rw-r--r--Network/RemoteData.hs3
1 files changed, 0 insertions, 3 deletions
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