These are some notes from Doug McIlroy's guest lecture. I added some links, starting with SB: ---------------[ Laziness ]--------------- I forgot to say that the power-series story can be found on line at http://www.cs.dartmouth.edu/~doug/powser.html This example needed more mechanism than I had described: cosx = 1 - integral sinx sinx = integral cosx The web page tells how to make it work. But using only the info at hand it should have been written thus: cosx = series 1 - integral sinx sinx = integral cosx ---------------[ Prelude ]--------------- The Prelude function---filter, repeat, iterate, foldl, foldr, etc.---really color the way one codes in Haskell. Most are trivial, but essential. Sadly, GHC doesn't make the Prelude easily visible. It comes with Hugs and can be fetched. SB: I posted a copy in hs/Hugs-Prelude.hs It not only lists the functions, it gives the code--very handy help in learning the language! ------------------------------------------ SB: You can look at the GHC prelude in https://github.com/ghc/ghc/blob/master/libraries/base/Prelude.hs It is larger that Hugs' and is split into a series of files (some of these we've already seen, such as Data.List, Data.Maybe, GHC.Prim, etc.