From 7308e617b6b6152eff05f78295769a7e603f2e2d Mon Sep 17 00:00:00 2001 From: Matthew Butterick Date: Fri, 14 Feb 2014 13:10:57 -0800 Subject: [PATCH] add files --- info.rkt | 4 ++++ main.rkt | 2 +- scribblings/xexpr-shortcuts.scrbl | 36 +++++++++++++++++++++++++++++++ 3 files changed, 41 insertions(+), 1 deletion(-) create mode 100644 info.rkt create mode 100644 scribblings/xexpr-shortcuts.scrbl diff --git a/info.rkt b/info.rkt new file mode 100644 index 0000000..de84824 --- /dev/null +++ b/info.rkt @@ -0,0 +1,4 @@ +#lang info +(define collection "xexpr-shortcuts") + +(define scribblings '(("scribblings/xexpr-shortcuts.scrbl" ()))) diff --git a/main.rkt b/main.rkt index 56e1aef..f4677df 100644 --- a/main.rkt +++ b/main.rkt @@ -1,6 +1,6 @@ #lang racket/base (require racket/contract racket/match xml racket/list) -(require pollen/readability) +(require sugar) (provide (all-defined-out)) diff --git a/scribblings/xexpr-shortcuts.scrbl b/scribblings/xexpr-shortcuts.scrbl new file mode 100644 index 0000000..c8de848 --- /dev/null +++ b/scribblings/xexpr-shortcuts.scrbl @@ -0,0 +1,36 @@ +#lang scribble/manual + +@(require scribble/eval (for-label racket "../main.rkt")) + +@(define my-eval (make-base-eval)) +@(my-eval `(require xexpr-shortcuts)) + + +@title{xexpr-shortcuts} + +@author[(author+email "Matthew Butterick" "mb@mbtype.com")] + +Convenience functions for working with X-expressions in Racket. + +@section{Installation & updates} + +At the command line: +@verbatim{raco pkg install xexpr-shortcuts} + +After that, you can update the package from the command line: +@verbatim{raco pkg update xexpr-shortcuts} + + +@section{Interface} + +@defmodule[xexpr-shortcuts] + +Hello xexpr-shortcuts. + + +@section{License & source code} + +This module is licensed under the LGPL. + +Source repository at @link["http://github.com/mbutterick/xexpr-shortcuts"]{http://github.com/mbutterick/xexpr-shortcuts}. Suggestions & corrections welcome. +