Skip to content

Commit

Permalink
Put SSEXPTYPE in a separate module
Browse files Browse the repository at this point in the history
  • Loading branch information
facundominguez committed Jan 18, 2024
1 parent 3c10e90 commit f45f5d9
Showing 1 changed file with 26 additions and 0 deletions.
26 changes: 26 additions & 0 deletions inline-r/src/Foreign/R/Type/Singletons.hs
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
{-# LANGUAGE ConstraintKinds #-}
{-# LANGUAGE DataKinds #-}
{-# LANGUAGE ExistentialQuantification #-}
{-# LANGUAGE GADTs #-}
{-# LANGUAGE KindSignatures #-}
{-# LANGUAGE StandaloneKindSignatures #-}
{-# LANGUAGE TemplateHaskell #-}
{-# LANGUAGE TypeFamilies #-}

{-# OPTIONS_GHC -Wunused-top-binds #-}
-- |
-- Copyright: (C) 2013 Amgen, Inc.
--
-- Definition of 'SSEXPTYPE'
--
-- This is done in a separate module to avoid errors in LH
-- after calling genSingletons from Foreign.R.Type
--
module Foreign.R.Type.Singletons
( SSEXPTYPE(..)
) where

import Foreign.R.Type
import Data.Singletons.TH

genSingletons [''SEXPTYPE]

0 comments on commit f45f5d9

Please sign in to comment.