CS136 Study Guide - Include Directive, Postcondition, Boolean Expression

112 views27 pages

Document Summary

This package is designed to help study the most essential material from lectures 1 to 9 . The package does not cover all material, but gives a concise overview of the material for the midterm up to and not including lecture 10. #lang racket makes the full racket language available inside the module. No restriction on the argument of cons; e. g. (cons 3 4) -> (3 . True and false represented by #t and #f , the actual boolean values window (dotted notation) Allows you to share code and make implementation and interaction independent of each other. Improvements on the module"s implementation can be done without changes to the client. A file myfunc. rkt (module) with code can be accessed from another . rkt file (client) (require ) accesses and evaluates the code in the file. Only definitions of functions listed in (provide ) in the module will be accessible in. #lang racket (require myfunc. rkt ) (func1 ) (func2 )

Get access

Grade+20% off
$8 USD/m$10 USD/m
Billed $96 USD annually
Grade+
Homework Help
Study Guides
Textbook Solutions
Class Notes
Textbook Notes
Booster Class
40 Verified Answers