teaching machines

CS 330 Lecture 21 – Hello, Haskell

March 27, 2013 by . Filed under cs330, lectures, spring 2013.

Agenda

TODO

Code

test.hs

a = 7

b :: Double
b = 8

c = if a == 5 then "Equals 5" else "Doesn't equal 5"

divmod a b = [div a b, mod a b]

initials first middle last = head first