Advertisement
tinyevil

Untitled

Dec 3rd, 2017
171
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.36 KB | None | 0 0
  1. match ( function_signature, actual_parameters )
  2. if parameter count doesnt match error
  3.  
  4. for argument in actual_parameters:
  5. normal_form(argument)
  6.  
  7. has_progress = true
  8. while has_progress:
  9. has_progress = false
  10. for (param, arg) in (function_signature, actual_parameters):
  11. normal_form(param)
  12. has_progress |= find_new_bindings(param, arg)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement