User Tools

Site Tools


cs326:daily_2_and_3
  • Several examples in Chapter 3 use definitions from the books examples library. To use these, you must have
    1. downloaded the example code from the book's website
    2. unzipped the examples library to get a folder called code, and
    3. changed directory to code before starting lein repl
  • Don't type in the definition for primes. Instead, enter (use 'examples.primes) and the last two forms on page 69 before trying the first form at the top of page 70.
  • When working with directories, you'll be seeing results from your filesystem, not the ones they are using. These will necessarily be different!
  • Even though clojure-loc and supporting functions (p. 75) are defined in sequences.clj, add them to your transcript. Use clojure-loc on src/examples
cs326/daily_2_and_3.txt · Last modified: 2018/01/22 22:47 by scarl