Add FlexibleInstances for earlier GHCs

This commit is contained in:
Nathan van Doorn 2020-06-13 15:38:36 +01:00
parent a8184a2ee0
commit 6889d053c7

View file

@ -1,4 +1,6 @@
{-# LANGUAGE DataKinds #-}
-- Flexible instances is necessary on GHC 8.4 and earlier
{-# LANGUAGE FlexibleInstances #-}
module Servant.API.Status where
import Network.HTTP.Types.Status