This repository has been archived on 2026-07-27. You can view files and clone it, but cannot push or open issues or pull requests.
fradrive-old/src/Servant/Server/Instances.hs
2022-10-12 09:35:16 +02:00

18 lines
443 B
Haskell

-- SPDX-FileCopyrightText: 2022 Sarah Vaupel <sarah.vaupel@ifi.lmu.de>
--
-- SPDX-License-Identifier: AGPL-3.0-or-later
{-# OPTIONS_GHC -fno-warn-orphans #-}
module Servant.Server.Instances
() where
import ClassyPrelude hiding (Handler(..))
import Servant.Server
import Control.Monad.Trans.Except.Instances ()
instance MonadUnliftIO Handler where
withRunInIO cont = Handler (withRunInIO $ \runInner -> cont (runInner . runHandler'))