code: function listAsArray(list){
  
     return foldR( function(arraySoFar, listItem){
        
        arraySoFar.unshift(listItem);
        return arraySoFar;
             
     }, [], list );
     
  }
docs: Convert a list back to a js native array