COMPSCI 1JC3 Lecture 8: Comp Sci Chapter 8

44 views2 pages

Document Summary

Comp sci 1jc3 chapter 8 say goodbye to mediocre presentations, and closed types. Life enjoyment goes up as your brainpower expands. The dark force that continues to ruin it is mediocre slide presentations. To make this better, just write your presentations in elm. To get started, (cid:449)e"(cid:448)e already created a te(cid:373)plate for a slide prese(cid:374)tatio(cid:374) i(cid:374) which arrow keys advance and retreat through your slides and each slide has an animation which restarts whenever you come back to a slide. To make this work, need signals generated when arrow keys are pressed. To animate the slides, need a time signal. Sine there are two types of signals we respond to, we need to bring them together in a union type: type events = arrows {x : in t , y : i n t } This captures the types of signals we process. Timeincrease dt -(t + 0. 001 * dt, idx)

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
Class+
$8 USD/m
Billed $96 USD annually
Class+
Homework Help
Study Guides
Textbook Solutions
Class Notes
Textbook Notes
Booster Class
30 Verified Answers