inline-r-0.9.1: Seamlessly call R from Haskell and vice versa. No FFI required.

Copyright2013 (C) Amgen Inc
Safe HaskellNone
LanguageHaskell2010

Language.R.Internal.FunWrappers

Description

Helpers for passing functions pointers between Haskell and R.

Documentation

wrap2 :: (SEXP0 -> SEXP0 -> IO SEXP0) -> IO (FunPtr (SEXP0 -> SEXP0 -> IO SEXP0)) Source #

wrap3 :: (SEXP0 -> SEXP0 -> SEXP0 -> IO SEXP0) -> IO (FunPtr (SEXP0 -> SEXP0 -> SEXP0 -> IO SEXP0)) Source #

wrap12 :: (SEXP0 -> SEXP0 -> SEXP0 -> SEXP0 -> SEXP0 -> SEXP0 -> SEXP0 -> SEXP0 -> SEXP0 -> SEXP0 -> SEXP0 -> SEXP0 -> IO SEXP0) -> IO (FunPtr (SEXP0 -> SEXP0 -> SEXP0 -> SEXP0 -> SEXP0 -> SEXP0 -> SEXP0 -> SEXP0 -> SEXP0 -> SEXP0 -> SEXP0 -> SEXP0 -> IO SEXP0)) Source #

wrap11 :: (SEXP0 -> SEXP0 -> SEXP0 -> SEXP0 -> SEXP0 -> SEXP0 -> SEXP0 -> SEXP0 -> SEXP0 -> SEXP0 -> SEXP0 -> IO SEXP0) -> IO (FunPtr (SEXP0 -> SEXP0 -> SEXP0 -> SEXP0 -> SEXP0 -> SEXP0 -> SEXP0 -> SEXP0 -> SEXP0 -> SEXP0 -> SEXP0 -> IO SEXP0)) Source #

wrap10 :: (SEXP0 -> SEXP0 -> SEXP0 -> SEXP0 -> SEXP0 -> SEXP0 -> SEXP0 -> SEXP0 -> SEXP0 -> SEXP0 -> IO SEXP0) -> IO (FunPtr (SEXP0 -> SEXP0 -> SEXP0 -> SEXP0 -> SEXP0 -> SEXP0 -> SEXP0 -> SEXP0 -> SEXP0 -> SEXP0 -> IO SEXP0)) Source #

wrap9 :: (SEXP0 -> SEXP0 -> SEXP0 -> SEXP0 -> SEXP0 -> SEXP0 -> SEXP0 -> SEXP0 -> SEXP0 -> IO SEXP0) -> IO (FunPtr (SEXP0 -> SEXP0 -> SEXP0 -> SEXP0 -> SEXP0 -> SEXP0 -> SEXP0 -> SEXP0 -> SEXP0 -> IO SEXP0)) Source #

wrap8 :: (SEXP0 -> SEXP0 -> SEXP0 -> SEXP0 -> SEXP0 -> SEXP0 -> SEXP0 -> SEXP0 -> IO SEXP0) -> IO (FunPtr (SEXP0 -> SEXP0 -> SEXP0 -> SEXP0 -> SEXP0 -> SEXP0 -> SEXP0 -> SEXP0 -> IO SEXP0)) Source #

wrap7 :: (SEXP0 -> SEXP0 -> SEXP0 -> SEXP0 -> SEXP0 -> SEXP0 -> SEXP0 -> IO SEXP0) -> IO (FunPtr (SEXP0 -> SEXP0 -> SEXP0 -> SEXP0 -> SEXP0 -> SEXP0 -> SEXP0 -> IO SEXP0)) Source #

wrap6 :: (SEXP0 -> SEXP0 -> SEXP0 -> SEXP0 -> SEXP0 -> SEXP0 -> IO SEXP0) -> IO (FunPtr (SEXP0 -> SEXP0 -> SEXP0 -> SEXP0 -> SEXP0 -> SEXP0 -> IO SEXP0)) Source #

wrap5 :: (SEXP0 -> SEXP0 -> SEXP0 -> SEXP0 -> SEXP0 -> IO SEXP0) -> IO (FunPtr (SEXP0 -> SEXP0 -> SEXP0 -> SEXP0 -> SEXP0 -> IO SEXP0)) Source #

wrap4 :: (SEXP0 -> SEXP0 -> SEXP0 -> SEXP0 -> IO SEXP0) -> IO (FunPtr (SEXP0 -> SEXP0 -> SEXP0 -> SEXP0 -> IO SEXP0)) Source #