Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- fun inseachHelper(n, L1, L2) =
- if null L2 then nil
- else inseachHelper(n, (hd L2) @ L1, tl L2) @ L1 :: n :: L2;
- fun inseach(n, L: int list) =
- inseachHelper(n, nil, L);
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement