search for: mlish

Displaying 1 result from an estimated 1 matches for "mlish".

Did you mean: mlist
2008 Oct 29
2
Functional pattern-matching in R
...dimensions like this: m <- dim(V)[1] # R n <- dim(V)[2] # still R While even Matlab allows for [m,n] = size(V) % MATLAB! Ideally I'd be able to say, <<x,y>> <- dim(V) -- where <<.,.>> is some magic needed. Similarly, to break lists, we'd need, in a MLish notation, match L with | head::tail => ... | () => ; What can be done in R now to simulate it, and/or how Rish is it to add something like that? Cheers, Alexy