From 9c08cd172363d99354f0714b6566a33f8fde4c63 Mon Sep 17 00:00:00 2001 From: Tony Garnock-Jones Date: Mon, 28 Oct 2013 10:26:19 +0000 Subject: [PATCH] Multi-collection package --- .gitignore | 1 + info.rkt | 2 ++ core.rkt => minimart/core.rkt | 0 demand-matcher.rkt => minimart/demand-matcher.rkt | 0 example.rkt => minimart/examples/example.rkt | 4 ++-- functional-queue.rkt => minimart/functional-queue.rkt | 0 ground.rkt => minimart/ground.rkt | 0 pattern.rkt => minimart/pattern.rkt | 0 presence-detector.rkt => minimart/presence-detector.rkt | 0 test-pattern.rkt => minimart/test-pattern.rkt | 0 10 files changed, 5 insertions(+), 2 deletions(-) create mode 100644 .gitignore create mode 100644 info.rkt rename core.rkt => minimart/core.rkt (100%) rename demand-matcher.rkt => minimart/demand-matcher.rkt (100%) rename example.rkt => minimart/examples/example.rkt (94%) rename functional-queue.rkt => minimart/functional-queue.rkt (100%) rename ground.rkt => minimart/ground.rkt (100%) rename pattern.rkt => minimart/pattern.rkt (100%) rename presence-detector.rkt => minimart/presence-detector.rkt (100%) rename test-pattern.rkt => minimart/test-pattern.rkt (100%) diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..e8ee010 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +scratch/ diff --git a/info.rkt b/info.rkt new file mode 100644 index 0000000..53c9302 --- /dev/null +++ b/info.rkt @@ -0,0 +1,2 @@ +#lang setup/infotab +(define collection 'multi) diff --git a/core.rkt b/minimart/core.rkt similarity index 100% rename from core.rkt rename to minimart/core.rkt diff --git a/demand-matcher.rkt b/minimart/demand-matcher.rkt similarity index 100% rename from demand-matcher.rkt rename to minimart/demand-matcher.rkt diff --git a/example.rkt b/minimart/examples/example.rkt similarity index 94% rename from example.rkt rename to minimart/examples/example.rkt index bce0d67..7f1308d 100644 --- a/example.rkt +++ b/minimart/examples/example.rkt @@ -2,8 +2,8 @@ (require racket/match) (require (only-in racket/port read-line-evt)) -(require "core.rkt") -(require "ground.rkt") +(require "../core.rkt") +(require "../ground.rkt") (define (r e s) (match e diff --git a/functional-queue.rkt b/minimart/functional-queue.rkt similarity index 100% rename from functional-queue.rkt rename to minimart/functional-queue.rkt diff --git a/ground.rkt b/minimart/ground.rkt similarity index 100% rename from ground.rkt rename to minimart/ground.rkt diff --git a/pattern.rkt b/minimart/pattern.rkt similarity index 100% rename from pattern.rkt rename to minimart/pattern.rkt diff --git a/presence-detector.rkt b/minimart/presence-detector.rkt similarity index 100% rename from presence-detector.rkt rename to minimart/presence-detector.rkt diff --git a/test-pattern.rkt b/minimart/test-pattern.rkt similarity index 100% rename from test-pattern.rkt rename to minimart/test-pattern.rkt