Skip to content

Commit

Permalink
Added throw, throwIO, catch to default IHP prelude
Browse files Browse the repository at this point in the history
  • Loading branch information
mpscholten committed Sep 5, 2020
1 parent a12a1ce commit be602ba
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions IHP/Prelude.hs
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,7 @@ module IHP.Prelude
, module Data.IORef
, module Data.Time.Format
, null
, module Control.Exception
)
where

Expand Down Expand Up @@ -61,6 +62,7 @@ import Data.TMap (TMap)
import Database.PostgreSQL.Simple (FromRow)
import Data.IORef
import Data.Time.Format
import Control.Exception (throw, throwIO, catch)

-- Alias for haskell newcomers :)
a ++ b = a <> b
Expand Down

0 comments on commit be602ba

Please sign in to comment.