CS135 Lecture Notes - Programming Language

42 views1 pages

Document Summary

Imperative based on frequent changes to data. Based on computation of new values rather than transform old ones. Small toolbox with ability to construct additional required tools. When doing substitution with a function in a function, always first substitute inner functions with their values! Infix operators (+, --, etc. ) are used like functions -> parentheses no longer for order. E. g. (6 4)/(5 + 7) -> /( (6 , 4), + (5 , 7)) Functions and mathematical operators are treated same way in racket. 3 2 + 4/5 -> (+ (-3 2) (/ 4 5)) Extra parentheses are harmless in arithmetic expressions.

Get access

Grade+
$40 USD/m
Billed monthly
Grade+
Homework Help
Study Guides
Textbook Solutions
Class Notes
Textbook Notes
Booster Class
10 Verified Answers
Class+
$30 USD/m
Billed monthly
Class+
Homework Help
Study Guides
Textbook Solutions
Class Notes
Textbook Notes
Booster Class
7 Verified Answers

Related Documents