mirror of
https://github.com/quantum9Innovation/suntheme.git
synced 2024-11-25 01:43:50 -08:00
f22d715b8e
introduce Workers, Cache modules and shuffle around some existing functions
7 lines
185 B
Haskell
7 lines
185 B
Haskell
module Getters where
|
|
|
|
import Control.Exception (SomeException, try)
|
|
import Network.HTTP.Request (Response, get)
|
|
|
|
fetch :: String -> IO (Either SomeException Response)
|
|
fetch = try . get
|