Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- let rec isInListN x n=
- match n with
- |[]-> false
- |e::n' -> (match e with
- | AssignArg(x,_) ->true
- | _-> isInListN x n'
- )
- let rec isInListN x n=
- match n with
- |[]-> false
- |e::n' -> (match e with
- | AssignArg(z,_) when z=x->true
- | _-> isInListN x n'
- )
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement