Use protolude 0.2.2, replace undefined with witness

protolude provides headMay since 0.2.2, it can be used instead of safe.
This commit is contained in:
Felix Yan
2018-05-28 13:08:27 -05:00
committed by Steve Chávez
parent 384767708b
commit 9ea7529f30
6 changed files with 6 additions and 8 deletions
-1
View File
@@ -61,7 +61,6 @@ import PostgREST.OpenAPI
import Data.Function (id)
import Protolude hiding (intercalate, Proxy)
import Safe (headMay)
postgrest :: AppConfig -> IORef (Maybe DbStructure) -> P.Pool -> IO UTCTime -> IO () -> Application
postgrest conf refDbStructure pool getTime worker =