diff --git a/inline-r.cabal b/inline-r.cabal
--- a/inline-r.cabal
+++ b/inline-r.cabal
@@ -1,9 +1,9 @@
 name:                inline-r
-version:             0.10.3
+version:             0.10.4
 license:             BSD3
 license-file:        LICENSE
 copyright:           Copyright (c) 2013-2015 Amgen, Inc.
-                     Copyright (c) 2015-2018 Tweag I/O Limited.
+                     Copyright (c) 2015-2020 Tweag I/O Limited.
 author:              Mathieu Boespflug, Facundo Dominguez, Alexander Vershilov
 maintainer:          Mathieu Boespflug <m@tweag.io>
 build-type:          Simple
diff --git a/src/Foreign/R.hsc b/src/Foreign/R.hsc
--- a/src/Foreign/R.hsc
+++ b/src/Foreign/R.hsc
@@ -156,7 +156,9 @@
   ) where
 
 import Control.Memory.Region
+#if __GLASGOW_HASKELL__ < 804
 import Data.Monoid ((<>))
+#endif
 import Foreign.R.Internal
 import Foreign.R.Type
 import Foreign.R.Type as R
diff --git a/src/Foreign/R/Type.hsc b/src/Foreign/R/Type.hsc
--- a/src/Foreign/R/Type.hsc
+++ b/src/Foreign/R/Type.hsc
@@ -3,6 +3,9 @@
 {-# LANGUAGE DataKinds #-}
 {-# LANGUAGE ExistentialQuantification #-}
 {-# LANGUAGE GADTs #-}
+#if __GLASGOW_HASKELL__ >= 810
+{-# LANGUAGE StandaloneKindSignatures #-}
+#endif
 {-# LANGUAGE TemplateHaskell #-}
 {-# LANGUAGE TypeFamilies #-}
 {-# LANGUAGE TypeOperators #-}
@@ -34,7 +37,7 @@
 module Foreign.R.Type
   ( SEXPTYPE(..)
   , SSEXPTYPE(..)
-  , Sing(..)
+  , Sing
   , Logical(..)
   , PairList
   , IsVector
