mirror of
https://github.com/quantum9Innovation/suntheme.git
synced 2024-11-28 11:03:50 -08:00
3a8fb784b8
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
|