We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6e4fcc8 commit 73b8321Copy full SHA for 73b8321
inline-r/inline-r.cabal
@@ -60,7 +60,7 @@ library
60
Foreign.R.Parse
61
Foreign.R.Type
62
H.Prelude
63
--- H.Prelude.Interactive
+ H.Prelude.Interactive
64
Language.R
65
Language.R.Debug
66
Language.R.GC
inline-r/src/H/Prelude/Interactive.hs
@@ -27,12 +27,9 @@ instance MonadR IO where
27
class PrintR a where
28
printR :: MonadR m => a -> m ()
29
30
-instance PrintR (SEXP s a) where
+instance PrintR (SEXP s) where
31
printR = io . R.printValue
32
33
-instance PrintR (R.SomeSEXP s) where
34
- printR s = R.unSomeSEXP s printR
35
-
36
-- | A form of the 'printR' function that is more convenient in an interactive
37
-- session.
38
p :: (MonadR m, PrintR a) => m a -> m ()
0 commit comments