From 8f76e94c090175a3ef2079248c0e628159ed6b75 Mon Sep 17 00:00:00 2001 From: AJ Rossini Date: Thu, 11 Oct 2012 16:15:44 +0200 Subject: [PATCH] Cleaning up Examples directory. numbered examples work up to the "FIXME" markers Signed-off-by: AJ Rossini --- ...-manipulation.lisp => 04-dataManipulation.lisp} | 22 ++++++++++++---------- examples/{01-basicEDA.lisp => 10-basicEDA.lisp} | 6 +++++- examples/{read-me.lisp => XX-readMe.lisp} | 0 3 files changed, 17 insertions(+), 11 deletions(-) rename examples/{data-manipulation.lisp => 04-dataManipulation.lisp} (85%) rename examples/{01-basicEDA.lisp => 10-basicEDA.lisp} (96%) rename examples/{read-me.lisp => XX-readMe.lisp} (100%) diff --git a/examples/data-manipulation.lisp b/examples/04-dataManipulation.lisp similarity index 85% rename from examples/data-manipulation.lisp rename to examples/04-dataManipulation.lisp index 802f639..b0dccaf 100644 --- a/examples/data-manipulation.lisp +++ b/examples/04-dataManipulation.lisp @@ -1,6 +1,6 @@ ;;; -*- mode: lisp -*- -;;; Time-stamp: <2009-07-14 14:29:23 tony> +;;; Time-stamp: <2012-10-11 16:12:48 tony> ;;; Creation: <2009-03-12 17:14:56 tony> ;;; File: data-manipulation.lisp ;;; Author: AJ Rossini @@ -15,8 +15,10 @@ ;;; This organization and structure is new to the 21st Century ;;; version.. Think, "21st Century Schizoid Man". -(in-package :ls-user) ; we do this in the CLS user playground, so we - ; have access to example data. + +;; we do this in the CLS user playground, so we have access to example +;; data. +(in-package :cls-user) ;;; Guidelines: @@ -59,19 +61,19 @@ (21d0 22d0 23d0 24d0) (31d0 32d0 33d0 34d0))) - - -;; Matrices +;;; Matrices (make-matrix 3 4 :initial-contents *ex-lol*) (make-matrix 3 4 :initial-contents *ex-ary*) -;; Dataframes +;;; Dataframes (make-dataframe *ex-ary*) -(make-dataframe (cls-data-listoflist:listoflist->array *ex-lol*)) - -;; need to make "make-dataframe" generic. +(make-dataframe (cls-data-listoflist:listoflist->array *ex-lol*)) ;; FIXME ;; (make-dataframe *ex-lol*) ;; error +;;; "make-dataframe2" is generic -- FIXME: but it is not yet exported! +;; FIXME: (make-dataframe2 *ex-ary*) +;; FIXME: (make-dataframe2 *ex-lol*)) ;; FIXME + diff --git a/examples/01-basicEDA.lisp b/examples/10-basicEDA.lisp similarity index 96% rename from examples/01-basicEDA.lisp rename to examples/10-basicEDA.lisp index 96a276f..6497315 100644 --- a/examples/01-basicEDA.lisp +++ b/examples/10-basicEDA.lisp @@ -1,6 +1,6 @@ ;;; -*- mode: lisp -*- -;;; Time-stamp: <2010-06-07 09:29:46 tony> +;;; Time-stamp: <2012-10-11 16:07:25 tony> ;;; Creation: <2009-04-19 09:41:09 tony> ;;; File: basic-eda.lisp ;;; Author: AJ Rossini @@ -22,6 +22,10 @@ *chickwts-df* + +;;;;;;;;;;;;;;; EVERYTHING BELOW IS BROKEN + + ;; Summarize is the basic EDA tool -- it accepts symbols or lists of ;; symbols, to describe what, when, and how to do it. The resulting ;; data structure has a means for re-invoking the result as well as diff --git a/examples/read-me.lisp b/examples/XX-readMe.lisp similarity index 100% rename from examples/read-me.lisp rename to examples/XX-readMe.lisp -- 2.11.4.GIT