Rlang-QQ-0.1.0.1: quasiquoter for inline-R code

Safe HaskellNone

RlangQQ.MakeRecord

Description

functions to help making lists for consumption on the R side

Synopsis

Documentation

listToRecN :: ListToRecN __ (n :: HNat) x r => Proxy n -> [x] -> Record rSource

convert a haskell list into a record with labels all of type "". The length of the list is decided by the (type of the) first argument which is a HNat

type ListToRecN __ n x r = (HReplicate n (StateT [x] Identity x), HSequence (StateT [x] Identity) (HReplicateR n (StateT [x] Identity x)) __, HMap2 NoLabel __ r)Source

data NoLabel Source

Constructors

NoLabel 

Instances

~ * (LVPair Symbol "" a) la => ApplyAB NoLabel a la