-
Notifications
You must be signed in to change notification settings - Fork 5
Notes for week 7 modules
ssanj edited this page Jan 16, 2012
·
18 revisions
Hide foldr and foldl.
What is the standard directory structure for a Haskell project?
Run the function 'l16' in week7.hs to print out:
[1]:selectf (borrower)
---------------------
|cstmr-name|loan-num|
---------------------
|Adams |L-16 |
---------------------
To do this you'll need to complete the export specification which includes a data type constructor and any functions in the module RelationalAlgebra.hs.
This includes:
- Any imports,
- Types:
- Records is an Array of Record
- Record is an Array of Value
- Schema is an Array of Fields
- Value, Field and Name are Strings
- The datatype Table derives Eq and Show and is made of a Name, a Schema and Records.
- Any functions required by week7.hs.
- Question 2 inspired by this post on a Haskell project http://news.ycombinator.com/item?id=3390786
- Steve Yegge in Execution in the Kingdom of Nouns
- Neal Ford on "Functional Thinking"