examples/conditional.R

a =
function(x, verbose = TRUE)
{
   if(verbose)
     cat("starting a\n")

   if(length(x) == 0)
     return(numeric())
   
   if(all(x))
     TRUE
   else
      2.0
}
duncantl/RLLVMCompile documentation built on May 15, 2019, 5:31 p.m.