Skip to content

Commit 73b8321

Browse files
Update inline-r/src/H/Prelude/Interactive.hs
1 parent 6e4fcc8 commit 73b8321

File tree

2 files changed

+2
-5
lines changed

2 files changed

+2
-5
lines changed

inline-r/inline-r.cabal

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ library
6060
Foreign.R.Parse
6161
Foreign.R.Type
6262
H.Prelude
63-
-- H.Prelude.Interactive
63+
H.Prelude.Interactive
6464
Language.R
6565
Language.R.Debug
6666
Language.R.GC

inline-r/src/H/Prelude/Interactive.hs

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -27,12 +27,9 @@ instance MonadR IO where
2727
class PrintR a where
2828
printR :: MonadR m => a -> m ()
2929

30-
instance PrintR (SEXP s a) where
30+
instance PrintR (SEXP s) where
3131
printR = io . R.printValue
3232

33-
instance PrintR (R.SomeSEXP s) where
34-
printR s = R.unSomeSEXP s printR
35-
3633
-- | A form of the 'printR' function that is more convenient in an interactive
3734
-- session.
3835
p :: (MonadR m, PrintR a) => m a -> m ()

0 commit comments

Comments
 (0)