Rlang-QQ-0.2.0.0: 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)) __, HMapCxt NoLabel (HList __) (HList r) __ r)Source

data NoLabel Source

Constructors

NoLabel 

Instances

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