Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- fun curry f x y = f(x,y);
- val udvalglol = curry (fn (k,x) => map (fn x => List.nth(k,x)) x);
- udvalglol ["t","o","n","e"] [2,3,0,0,1];
- udvalglol [#"t",#"o",#"n",#"e"] [2,3,0,0,1];
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement