SHARE
TWEET

Untitled

a guest Nov 25th, 2017 84 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. local Length R in
  2.    proc {Length Xs L R}
  3.       case Xs
  4.       of nil then R = L
  5.       [] X|Xr then
  6.         local P in
  7.             P = L+1
  8.             {Length Xr P R}
  9.         end
  10.       end
  11.    end
  12.    
  13.    {Length [1 2 3 4] 0 R}
  14.    {Browse R}
  15. end
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
Top