600.429 FUNCTIONAL PROGRAMING AT WORK - HASKELL AND DOMAIN SPECIFIC LANGUAGES Dr. John Peterson Western State Colorado University.

Slides:



Advertisements
Similar presentations
Socratic seminar 13- end, collect SR, LL conference HW: quiz over Monday: Socratic seminar 13-end, collect SR, LL conference Wednesday: ACT day,
Advertisements

How to Install a Printer. To Begin From the Startmenu, choose settings then go to Printers.
Lesson 13: Customizing System Settings what the Control Panel is changing or customizing the desktop display changing the date or time changing or customizing.
Computer Hardware 4 Main Types.
Hardware Description Language (HDL)
Once download completes, click “Open Folder” Uncheck the box “Close this dialog box when download completes” Save the file in a location easy to find.
School of Computing and Mathematics, University of Huddersfield CAS810: WEEK 5 LECTURE: DENOTIONAL SEMANTICS OF A SIMPLE LANGUAGE : INTERPRETATION IN HASKELL.
 Welcome to English Language Arts Kindergarten and 1 st grade Ms. Merchant Room 7.
Getting Started with Haskell Tim Sheard. Learning a new language Goals – Learn how to design and use data structures – Learn to write programs using the.
Microsoft Windows Vista Chapter 6 Customizing Your Computer Using the Control Panel.
CS 280 Data Structures Professor John Peterson. Goals Understand “Programming in the small” Java programming Know what’s under the hood in complex libraries.
CS 280 Data Structures Professor John Peterson. Goals Understand “Programming in the small” Java programming Know what’s under the hood in complex libraries.
ME 221Lecture 151 ME 221 Statics Lecture #15 Section 4.3.
Programming 1 Tim Sheard. Spring Quarter Goals of the class – Learn to write simple programs using the programming language Haskell. – Learn by example.
ME 221Lecture 141 ME 221 Statics Lecture #14 Section 4.3.
PYTHON PROGRAMMING Week 9 - Wednesday. WRITE A PROGRAM TO:  print all the numbers from 1 to 100  print all the even numbers from 1 to 100  print all.
ECE 265 Introduction to Microcontroller Based Systems (A first course in computer architecture) 9/28/ ECE265.
taskbar Notification area Start To change size of taskbar: RMC- uncheck Lock the taskbar Changing Properties : RMC- Properties.
Section 2 - More Basics. The char Data Type Data type of a single character Example char letter; letter = 'C';
CIS 199 Test 01 Review. Computer Hardware  Central Processing Unit (CPU)  Brains  Operations performed here  Main Memory (RAM)  Scratchpad  Work.
Computer Parts Hardware.
Input Tongue Drive System Virtual Keyboard Braille keyboard Output Screen Readers Printer Braille Printers.
The Computer as a Tool! Grades K-2. Computers Are Machines Made up of parts Need power to work Help people do work How do people use computers? At home.
ES305 Virtual Tools in Engineering Design Importing Objects Prof. Searleman
CSCI 2670 Introduction to Theory of Computing September 15, 2005.
C++ crash course Class 8 statements, sort, flight times program.
Homework #3 J. H. Wang Nov. 1, Homework #3 Chap. 4 –4.1 (c) –4.7 (c) –4.8 (a)(b)(c) –4.11.
Research Topics in Computational Science Lecture 02.
Computer Ports Mouse Port (Input).
1 Simulation Implementation Using high-level languages.
FUNCTIONAL PROGRAMING AT WORK - HASKELL AND DOMAIN SPECIFIC LANGUAGES Dr. John Peterson Western State Colorado University.
Introducing C++ Programming Lecture 3 Dr. Hebbat Allah A. Elwishy Computer & IS Assistant Professor
Day 54 - R&J Act1, Research paper source evaluations, and Participles,
1 Announcements Reading for next week: Chapter 4 Your first homework will be assigned as soon as your database accounts have been set up.  Expect an .
Double click here to add event title Double click here to add event date Double click here to add event time Double click here to add event location.
Computer Vocabulary Computer
Computer Parts and Functions. How A Computer Works.
November 2013 Functional Reactive Programming Simplifying Interaction John Peterson Western State Colorado University Gunnison, CO.
FUNCTIONAL PROGRAMING AT WORK - HASKELL AND DOMAIN SPECIFIC LANGUAGES Dr. John Peterson Western State Colorado University.
Written by: Dr. JJ Shepherd
A GRUESOME BUT TRUE STORY ABOUT BRAIN SCIENCE
PYTHON PROGRAMMING Week 4 - Wednesday. x = 1 while True: print "Too infinity and beyond! " + str(x) x +=1.
The Parts of a Computer Name:. I am a mouse. I select things on the computer.
PYTHON PROGRAMMING Week 8 - Wednesday. STARTER Fizz Buzz  Let play the game!
FUNCTIONAL PROGRAMING AT WORK - HASKELL AND DOMAIN SPECIFIC LANGUAGES Dr. John Peterson Western State Colorado University.
FUNCTIONAL PROGRAMING AT WORK - HASKELL AND DOMAIN SPECIFIC LANGUAGES Dr. John Peterson Western State Colorado University.
For Friday Read No quiz Program 6 due. Program 6 Any questions?
What’s a Computer?. The Basics A computer is a machine that manipulates data based on a list of instructions called a program.
` Click “Start” to begin:. 1.What can you do in Dreamweaver You can create your own website You can create a movies You can create a PowerPoint.
FUNCTIONAL PROGRAMING AT WORK - HASKELL AND DOMAIN SPECIFIC LANGUAGES Dr. John Peterson Western State Colorado University.
CSCI 2670 Introduction to Theory of Computing September 16, 2004.
Warm-Up and Homework Questions. QUIZ TIME QUIZ TIME No talking, No looking around! If I THINK you might be cheating I will take your paper and give you.
Unit 5 Week 1 Bad Dog, Dodger! Writing Conventions.
How to add a network printer in Windows 7
CHAMPS & Classroom Procedures
Welcome to Visual Programming using C#
The Parts of a Computer QUIZ.
Inputs and Outputs.
My Media I can…. BR… Assess how much time I spend with media activities. Record and compare the time they spend with different forms of digital media.
Type & Typeclass Syntax in function
Intro to Tone, Hard to Find Subjects Practice, and Vocabulary 1 Quiz
Reactive Android Development
Felix Teaches Technology
Code to Enhance Learning
Welcome back to Software Development!
Welcome back to Software Development!
Moving Multiple Components in GElectric (V 9.4.3)
**Remind me to talk about root number**


Presentation transcript:

FUNCTIONAL PROGRAMING AT WORK - HASKELL AND DOMAIN SPECIFIC LANGUAGES Dr. John Peterson Western State Colorado University

This Week Finish reactive programming examples Catch up on homework Get started on projects Quiz on Wednesday! There will be a project milestone due next week – I’ll be meeting with everyone to talk about this Note: Alex is out this week – see me if you need help.

Homework 6 Questions? How does expression parsing work? How does pretty printing work? How do you add pretty printing as default printers? As a separate class?

FRP, Behaviors, and Events Event a Denotes an event stream. Each occurrence delivers value of type a keyboard :: Event Char Behavior a Denotes a continuously available value of type a mouse :: Behavior Point2

Classic FRP Operations lift0 :: a -> Behavior a lift1 :: (a -> b) -> Behavior a -> Behavior b hold :: a -> Event a -> Behavior a when :: Behavior Bool -> Event () snap :: Event a -> Behavior b -> Event b (-=>) :: Event b -> a -> Event a tags :: Event b -> [a] -> Event a (.|.) :: Event a -> Event a -> Event a switch :: Behavior a -> Event (Behavior a) -> Behavior a integral :: Behavior Double -> Behavior Double clock :: Double -> Event Double once :: Event a -> Event a

Examples content/uploads/2011/02/icra99.pdf content/uploads/2011/02/icra99.pdf

Examples in Python Taken from the Western Computer Camp

Project Meetings