s c h e m a t i c s : c o o k b o o k

/ WebHome / Cookbook.WebIndex

This Web


WebHome 
WebChanges 
TOC (with recipes)
NewRecipe 
WebTopicList 
WebStatistics 

Other Webs


Chicken
Cookbook
Erlang
Know
Main
Plugins
Sandbox
Scm
TWiki  

Schematics


Schematics Home
Sourceforge Page
SchemeWiki.org
Original Cookbook
RSS

Scheme Links


Schemers.org
Scheme FAQ
R5RS
SRFIs
Scheme Cross Reference
PLT Scheme SISC
Scheme48 SCM
MIT Scheme scsh
JScheme Kawa
Chicken Guile
Bigloo Tiny
Gambit LispMe
GaucheChez

Lambda the Ultimate
TWiki.org
Topics in Cookbook web: Changed: now 06:16 GMT Changed by:

AToBToC 07 Apr 2006 - 00:29 - r1.2 NoelWelsh
  STARTINCLUDE Circular Links with Continuations Problem You have a number of pages that all link to each other this is, the links form a cycle. You want to implement ...
AdminAnnotationProposal 19 May 2004 - 04:15 - r1.3 AntonVanStraaten
  Adding an Annotation Mechanism to TWiki The following outlines a possible way of implementing an annotation-based approach to maintaining cookbook content with TWiki ...
AdminCookbookViews 09 Jun 2004 - 15:40 - r1.9 NoelWelsh
  Supporting Multiple Views of the Cookbook At a minimum, we want to be able to support two "views" of the cookbook one which supports online browsing well, and another ...
AdminOverview 23 Aug 2004 - 08:17 - r1.6 AntonVanStraaten
  Cookbook Administration Issues This is a laundry list of things to think about, plan for, and/or do. Expand any significant points below into their own topics, as ...
AdminSourceHighlighting 22 Apr 2004 - 23:48 - NEW AntonVanStraaten
  Source Highlighting Integration The following diff documents the change made to TWiki.SyntaxHighlightingPlugin, to integrate the Sandbox.ScmToXexpr Scheme source ...
AdminTopics 19 May 2004 - 04:10 - NEW AntonVanStraaten
  Administration Topics These are topics related to Cookbook administration or site design. To appear in this list, a topic must have a TopicType of Admin on its CookbookForm ...
AligningStrings 08 Sep 2004 - 17:48 - r1.12 GordonWeakliem
  STARTINCLUDE Aligning Strings Problem You want to align a string, left, right, or center. You might use this when generating reports, for example. Solution The easiest ...
AllRecipes 19 May 2004 - 16:48 - r1.2 AntonVanStraaten
  List of All Recipes These are all topics which have a CookbookForm with a TopicType of Recipe . See also ParentTopics. This list is generated automatically. SEARCH ...
ApplicableHashTables 05 Feb 2008 - 16:47 - NEW DanielSilva
  STARTINCLUDE Applicable Hash Tables Problem You want to apply hash-table objects directly to look up or associate keys with values. Solution You can rely on structures ...
AtExpandTime 01 Oct 2005 - 07:51 - r1.3 NoelWelsh
  STARTINCLUDE A Macro Similar to CL's Eval-When Problem Often times it is useful to preload a table of data at compile-time. Scheme, however, has no construct similar ...
AuthorChapter 16 Aug 2004 - 14:37 - NEW NoelWelsh
  STARTINCLUDE Author Guide TMPL:P{"chapterquery"} STOPINCLUDE TMPL:P{"chaptercommentlink"} INCLUDE{"AuthorChapterComments"} Set ALLOWTOPICCHANGE Main.SchematicsEditorsGroup ...
AuthorChapterComments 16 Aug 2004 - 14:42 - NEW NoelWelsh
  TMPL:P{"chaptercommenttip"} STARTINCLUDE Comments STOPINCLUDE Main.NoelWelsh 16 Aug 2004
AuthorCreatingChapters 16 Jul 2007 - 07:53 - r1.3 NoelWelsh
  STARTINCLUDE Creating Chapters Problem You want to create a new Chapter in the Cookbook Solution Creating a new Chapter is not as simple as creating a recipe, as ...
AuthorEditingExistingText 20 Aug 2004 - 16:38 - r1.3 NoelWelsh
  Editing Existing Text There are many different types of editing, from fixing typos through adding comments to wholescale restructuring of pages. Always think about ...
AuthorFAQ 20 Aug 2004 - 19:00 - r1.3 GordonWeakliem
  Author FAQ TOC How do I rename or move a topic? Select the More link at the top of the topic you want to rename. The page that comes up has an option to "Rename/Move ...
AuthorGuide 20 Aug 2004 - 16:38 - r1.18 NoelWelsh
  Cookbook Authoring Guide This topic is under construction, now that we have a good sense of how the cookbook should be structured with Twiki. Topics that will be ...
AuthorIncludingRecipesInSections 16 Aug 2004 - 14:52 - r1.2 NoelWelsh
  Including Recipes in Sections At the bottom of every page is a form called the CookbookForm. The organisation of the site depends on the values in this form, so take ...
AuthorIntroduction 19 Aug 2004 - 15:55 - r1.2 NoelWelsh
  STARTINCLUDE Introduction This chapter covers the practices and conventions of contributing to the Cookbook. For ease of editing it is laid out like any other chapter ...
AuthorRecipes 16 Aug 2004 - 14:41 - NEW NoelWelsh
  STARTINCLUDE Recipes TMPL:P{"recipequery"} STOPINCLUDE Set ALLOWTOPICCHANGE Main.SchematicsEditorsGroup
AuthorYouHavePermission 20 Aug 2004 - 12:41 - NEW NoelWelsh
  STARTINCLUDE You Have Permission Problem You want to make a change but your aren't sure if you'll offend someone by doing it. Solution Make the change. Change is ...
BecomingAnAuthor 16 Aug 2004 - 14:46 - r1.3 NoelWelsh
  Becoming An Author To become an author. visit TWiki.TWikiRegistration and fill out the registration form. Anyone can become a cookbook author, and contribute to the ...
BeingPltSpecific 10 Sep 2004 - 01:00 - r1.5 AntonVanStraaten
  TOC STARTINCLUDE Being PLT Specific The reality of Scheme today is that many of the kinds of tasks which the Cookbook is intended to address cannot easily be implemented ...
BookIntroduction 08 Sep 2004 - 05:14 - r1.9 AntonVanStraaten
  Introduction The Scheme Cookbook's primary aim is show how common programming problems can be solved in Scheme via short programming "recipes". Parts of the Cookbook ...
BugIESourceWrapping 17 May 2004 - 02:50 - NEW AntonVanStraaten
  Bug: Source code wrapping in IE There is a bug in IE which ruins the layout of receipes containing code with very long lines. An example is: AligningStrings. Previously ...
CGI 16 May 2004 - 21:13 - NEW JensAxelSoegaard
  CGI Scripts http://www.htus.org/Book/2001-11-13/howto-Z-H-17.html# part VI "CGI Scripts" in "How To Use Scheme"
CaseSensitivity 31 May 2007 - 23:14 - r1.4 MichalKwiatkowski
  STARTINCLUDE Case Sensitivity Problem This recipe gives solutions for dealing with case insensitive code in a case sensitive language and vice versa. Introduction ...
ChainedComparisons 03 Feb 2006 - 11:07 - r1.2 NoelWelsh
  STARTINCLUDE Chained Comparisons Problem We might like to use syntax to describe a sequence of "chained" comparisons like 3 which can be expressed in Scheme as: begin ...
ChapterStructure 14 Jun 2004 - 02:17 - NEW AntonVanStraaten
  Cookbook Chapter Structure TOC Introduction This is technical documentation of the Cookbook chapter structure. Documentation for authors will be based on the automated ...
CoRoutines 27 Jul 2008 - 14:21 - r1.29 JosKoot
  STARTINCLUDE Coroutines Problem In some cases it is desirable to transform a procedure that returns a table (a list, vector or list of lists and so on) into a procedure ...
CommonLispCookbook 16 Jul 2004 - 19:19 - NEW NoelWelsh
  A cookbook for Common Lisp, online at http://cl-cookbook.sourceforge.net/ Main.NoelWelsh 16 Jul 2004
CompilationCopyright 08 Sep 2004 - 09:07 - r1.3 AntonVanStraaten
  STARTINCLUDE Compilation Copyright As described in ContributorAgreement, while contributors retain the copyright to their own original material which is submitted ...
ContributorAgreement 08 Sep 2004 - 09:05 - r1.7 AntonVanStraaten
  STARTINCLUDE Contributor Agreement By submitting material to this Cookbook web site ("the Cookbook"), you are agreeing to the following terms: Material that you submit ...
CookBook 07 Jul 2004 - 10:15 - r1.14 NoelWelsh
  PLT Scheme Cookbook This page is temporarily out of service. See the TOC page instead. Main.AntonVanStraaten 03 May 2004 TOC{depth "2"} INCLUDE{"BookIntroduction ...
CookbookBrainStorm 16 Jul 2004 - 19:15 - r1.34 NoelWelsh
  Cookbook BrainStorm What should a cookbook contain? Add your ideas the list below. 1 Intro to (PLT) Scheme Link to Sitaram's FixnumDays Philosophy of the cookbook ...
CookbookFAQ 08 Sep 2004 - 07:11 - r1.9 AntonVanStraaten
  FAQ TOC Scheme portability Is the Cookbook PLT-specific? As little as possible. If we had the technology to support multiple Scheme implementations without making ...
CookbookForm 31 May 2004 - 01:13 - r1.4 AntonVanStraaten
  Cookbook Topic Classification Form Name Type Size Values Tooltip message TopicType select 1 Specifies the type of a topic that belongs in the Cookbook ParentTopic ...
CookbookStructure 14 Jun 2004 - 02:16 - r1.10 AntonVanStraaten
  Cookbook Structure Proposal TOC Note Below is the proposal for the new cookbook structure, written prior to implementation. The technical details of the final design ...
CreatingAiffs 15 Aug 2006 - 14:29 - NEW RitchieSmith
  STARTINCLUDE Creating simple AIFF audio files Problem DrScheme seems to have little support for sound. Solution Presented here, sample code for writing 16 bit monophonic ...
CreatingJpegWithMzScheme 29 Sep 2007 - 18:01 - NEW AustinKing
  STARTINCLUDE Creating Jpeg from scratch using MzScheme Problem You are using PLT DrScheme and you want to draw graphs, generate graphics, or process images from scratch ...
CreatingRecipes 16 Aug 2004 - 14:45 - r1.5 NoelWelsh
  STARTINCLUDE Creating Recipes This page discusses both reasons for creating recipes and provides guidance on creating recipes. area. How To Create Recipes Use the ...
DataStructureChapter 16 Aug 2004 - 02:22 - r1.2 GordonWeakliem
  STARTINCLUDE Data Structures TMPL:P{"chapterquery"} STOPINCLUDE TMPL:P{"chaptercommentlink"} INCLUDE{"DataStructureChapterComments"} Set ALLOWTOPICCHANGE Main.SchematicsEditorsGroup ...
DataStructureChapterComments 04 Nov 2005 - 17:22 - r1.4 AntonVanStraaten
  TMPL:P{"chaptercommenttip"} STARTINCLUDE Comments A good library of data structures for Scheme is the Galore library (the link is to its entry in the PLT PLaneT package ...
DataStructureRecipes 16 Jun 2004 - 15:39 - NEW NoelWelsh
  STARTINCLUDE Recipes TMPL:P{"recipequery"} STOPINCLUDE Set ALLOWTOPICCHANGE Main.SchematicsEditorsGroup
DataStructuresIntroduction 16 Jun 2004 - 15:38 - NEW NoelWelsh
  STARTINCLUDE Introduction There are many advanced data structures that have been implemented in Scheme. There datastructures have properties that sometimes make them ...
DatabaseChapter 20 Aug 2004 - 00:32 - r1.4 GordonWeakliem
  STARTINCLUDE Databases TMPL:P{"chapterquery"} STOPINCLUDE TMPL:P{"chaptercommentlink"} INCLUDE{"DatabaseChapterComments"} Set ALLOWTOPICCHANGE Main.SchematicsEditorsGroup ...
DatabaseChapterComments 01 Jul 2008 - 05:36 - r1.3 AntonVanStraaten
  TMPL:P{"chaptercommenttip"} STARTINCLUDE Comments WriteSqlInSchemeLikeSyntax: belongs here, but I did something wrong Main.HiSeeComments Fixed the parent topic ...
DatabaseIntroduction 19 Aug 2004 - 16:55 - NEW NoelWelsh
  STARTINCLUDE Introduction Relational databases, along with the file system and structured markup, are one of the primary means of storing and exchanging data between ...
DatabaseRecipes 19 Aug 2004 - 23:38 - r1.2 GordonWeakliem
  STARTINCLUDE Recipes TMPL:P{"recipequery"} STOPINCLUDE Set ALLOWTOPICCHANGE Main.SchematicsEditorsGroup
DefaultArgumentsClassInitialization 05 Sep 2006 - 03:13 - NEW DannyYoo
  STARTINCLUDE Default field values for class initialization Problem You want to provide a set of reasonable default values for some fields in a class. Solution Use ...
DefaultChapterTemplate 14 Jun 2004 - 01:50 - r1.2 AntonVanStraaten
  STARTINCLUDE URLPARAM{"title"} TMPL:P{"chapterquery"} STOPINCLUDE TMPL:P{"chaptercommentlink"} INCLUDE{"DefaultChapterTemplateComments"} Set ALLOWTOPICCHANGE Main ...
DefaultLibraryTemplate 01 Jul 2004 - 14:42 - NEW NoelWelsh
  STARTINCLUDE URLPARAM{"heading"} Location Description Discussion STOPINCLUDE Contributors WIKIUSERNAME DATE
DefaultRecipeTemplate 01 Jun 2004 - 21:13 - r1.4 AntonVanStraaten
  STARTINCLUDE URLPARAM{"heading"} Problem Solution Discussion STOPINCLUDE Comments about this recipe Contributors WIKIUSERNAME DATE
DisallowOneArmedIf 16 Nov 2006 - 11:38 - r1.2 NoelWelsh
  STARTINCLUDE Disallow One-Armed If with a Custom Language Problem It's idiomatic PLT Scheme to use WHEN and UNLESS if one wants to do a side-effect conditional. But ...
DrScheme 30 Mar 2004 - 00:48 - NEW AntonVanStraaten
  DrScheme DrScheme is a sophisticated graphical programming environment for Scheme. In addition to unrivalled program analysis tools, DrScheme includes a HelpDesk ...
DrawStairCaseGraphs 24 Jan 2007 - 22:55 - NEW DannyYoo
  STARTINCLUDE Draw staircase graphs with PLT's PLoT Problem It's not completely obvious how to draw staircase graphs in PLoT. Solution The idea is to turn the data ...
DynamicChapter 15 Apr 2005 - 14:20 - NEW NoelWelsh
  STARTINCLUDE Dynamic Programming TMPL:P{"chapterquery"} STOPINCLUDE TMPL:P{"chaptercommentlink"} INCLUDE{"DynamicChapterComments"} Set ALLOWTOPICCHANGE Main.SchematicsEditorsGroup ...
DynamicChapterComments 02 Aug 2007 - 09:57 - r1.2 NoelWelsh
  TMPL:P{"chaptercommenttip"} STARTINCLUDE Comments See StringEval in StringChapter for how to evaluate code stored in a string. STOPINCLUDE
DynamicEvalCustomNamespace 07 Jun 2006 - 15:26 - r1.5 DannyYoo
  STARTINCLUDE Evaluating Code in a Custom Namespace Problem You want to eval code that: Doesn't have access to anything declared or loaded by the code that calls eval ...
DynamicIntroduction 15 Apr 2005 - 14:34 - NEW NoelWelsh
  STARTINCLUDE Introduction Dynamic programming is a family of algorithms used to solve optimisation problems. Except in this case it isn't. We use the term dynamic ...
DynamicRecipes 15 Apr 2005 - 14:35 - NEW NoelWelsh
  STARTINCLUDE Recipes TMPL:P{"recipequery"} STOPINCLUDE Set ALLOWTOPICCHANGE Main.SchematicsEditorsGroup
DynamicUntrustedEval 21 Nov 2005 - 12:45 - r1.5 JepriJepri
  STARTINCLUDE Evaluating untrusted code Problem We want to evaluate code outside our control (e.g., deserializing s-expressions in data files). Solution Restrict the ...
EnginesUsingThreads 19 May 2004 - 07:15 - r1.3 AntonVanStraaten
  Implementing Engines Using Threads Problem Implementing engines often makes use of complicated uses of call/cc . A thread implementation mirrors the definition of ...
FileAppendFiles 05 Jan 2007 - 15:44 - r1.2 NoelWelsh
  STARTINCLUDE Appending Files Together Problem You want to append the contents of several files to a single file. For example you want the contents of the file foo ...
FileChangePLTPath 18 Aug 2004 - 23:17 - r1.2 GordonWeakliem
  STARTINCLUDE Dynamically Changing the PLT Search Path Problem You want to change the path where PLT searches for modules at runtime. Solution current-library-collection ...
FileChapter 25 Jun 2004 - 10:39 - NEW NoelWelsh
  STARTINCLUDE Files and Directories TMPL:P{"chapterquery"} STOPINCLUDE TMPL:P{"chaptercommentlink"} INCLUDE{"FileChapterComments"} Set ALLOWTOPICCHANGE Main.SchematicsEditorsGroup ...
FileChapterComments 13 Aug 2004 - 03:53 - r1.2 GordonWeakliem
  TMPL:P{"chaptercommenttip"} STARTINCLUDE Comments STOPINCLUDE
FileCountLines 03 Sep 2004 - 07:09 - r1.3 BrentAFulgham
  STARTINCLUDE Counting Lines in a File Problem You need to count how many lines are in a file. Solution begin scheme (define (countlines filename) (call-with-input ...
FileCreateDeepDirectory 22 Aug 2004 - 23:25 - r1.2 GordonWeakliem
  STARTINCLUDE Creating Directories Including Parent Directories Problem You want to be able to create a directory with something more convenient than make-directory ...
FileDeletingAFile 03 Sep 2004 - 07:16 - r1.3 BrentAFulgham
  STARTINCLUDE Deleting a File Problem You want to delete a file. Solution Use plt scheme's standard function delete-file : Discussion begin scheme (delete-file path ...
FileDirectorySize 19 Aug 2004 - 01:56 - r1.2 GordonWeakliem
  STARTINCLUDE Computing the Size of a Directory Problem You want to compute the total size of a directory tree (i.e. the sum of the file sizes in a directory tree ...
FileIntroduction 25 Jun 2004 - 10:42 - r1.4 NoelWelsh
  STARTINCLUDE ToDo: Create examples where necessary for this introduction. Introduction This chapter deals with file access, that is opening files, passing files as ...
FileIsADirectory 25 Jun 2004 - 11:15 - r1.2 NoelWelsh
  STARTINCLUDE Testing Whether A File Is A Directory Problem You have a list of file names, which includes the names of some directories. You want to test if a name ...
FileMakePlatformIndependentPath 25 Jun 2004 - 11:18 - r1.2 NoelWelsh
  STARTINCLUDE Creating a Platform Independent Path Problem You want to create a directory in a platform independent way. The directory is several levels deep and you ...
FileManipulation 25 Jun 2004 - 10:42 - r1.8 NoelWelsh
  File Manipulation Introduction Sometimes you gotta interact with the file system and when you do things can get messy. File systems are dependent upon the operating ...
FileMaybeMakeDirectory 05 Feb 2006 - 20:19 - r1.4 NoelWelsh
  STARTINCLUDE Making A Directory If It Doesn't Already Exist Problem You want to create a directory only if it doesn't already exist. Solution Use make-directory from ...
FileNameFromPath 06 Feb 2006 - 11:49 - r1.2 NoelWelsh
  STARTINCLUDE Extracting the File Name from a Path Problem You want to extract just the file name from a path. For example, given a path such as "foo/bar/baz.ss" you ...
FileNamesMatchingRegularExpression 01 Feb 2006 - 16:53 - NEW NoelWelsh
  STARTINCLUDE Finding All Files Whose Name Match a Regular Expression Problem You want to find all files whose names match a traditional shell regular expression ...
FilePLTPath 13 Aug 2004 - 03:46 - NEW GordonWeakliem
  STARTINCLUDE Finding a File on the PLT Scheme Search Path Problem You want to search PLT's module search path for a file. Solution Discussion STOPINCLUDE Comments ...
FileProcessWords 22 Jun 2006 - 12:47 - r1.3 MichaelBurschik
  STARTINCLUDE Processing Every Word in a File Problem You need to do something to every word in a file, similar to the foreach function of csh. Solution INCLUDE{"Scm ...
FileProcessingAllFilesInADirectory 19 Jul 2005 - 18:36 - r1.4 JensAxelSoegaard
  STARTINCLUDE Processing All Files in a Directory Problem You want to do something to each file in a particular directory. Solution Use PltScheme's standard function ...
FileRandomAccessIO 01 Oct 2005 - 08:19 - r1.2 NoelWelsh
  STARTINCLUDE Using Random-Access Input/Output Problem You want to read a binary record from somewhere inside a large file of fixed-length records, without reading ...
FileRandomAccessUpdate 13 Aug 2004 - 03:52 - NEW GordonWeakliem
  STARTINCLUDE Updating a Random-Access File Problem You want to read a binary record from somewhere inside a large file of fixed-length records, change the values ...
FileRead 04 Nov 2008 - 15:08 - r1.4 StephenDeGabrielle
  STARTINCLUDE Reading An Entire Text File Problem You want to read the lines from a file and store them in a list. Solution begin scheme (define (readlines filename ...
FileReadIni 13 Aug 2004 - 03:37 - NEW GordonWeakliem
  STARTINCLUDE Reading Configuration Data from a File Problem You want to store configuration data for your program in a file. Solution Discussion STOPINCLUDE Comments ...
FileReadParagraph 13 Aug 2004 - 03:25 - NEW GordonWeakliem
  STARTINCLUDE Reading a Text File by Paragraphs Problem You need to read a file paragraph by paragraph. A paragraph break is marked by an empty line. Solution Discussion ...
FileReadRandomLine 18 Dec 2006 - 11:43 - r1.6 NoelWelsh
  STARTINCLUDE Retrieving a Line at Random from a File of Unknown Size Problem You have a file of unknown size, and you need to select one line at random from it. The ...
FileReadSpecificLine 13 Aug 2004 - 03:18 - NEW GordonWeakliem
  STARTINCLUDE Reading a Particular Line from a File Problem You want to extract a single line from a file. Solution Discussion STOPINCLUDE Comments about this recipe ...
FileReadZip 22 Feb 2005 - 05:39 - r1.2 DaveHerman
  STARTINCLUDE Reading Data from ZIP Files Problem You have an archive in ZIP format and you want to access the files in the archive. Solution begin scheme (require ...
FileReadingLines 25 Jun 2004 - 11:13 - r1.3 NoelWelsh
  STARTINCLUDE Reading Lines from a Text File PLT Scheme offers the read-line procedure for reading lines of text from an input port. The following are some useful ...
FileRecipes 25 Jun 2004 - 10:59 - NEW NoelWelsh
  STARTINCLUDE Recipes TMPL:P{"recipequery"} STOPINCLUDE Set ALLOWTOPICCHANGE Main.SchematicsEditorsGroup
FileRenameRecursive 07 Sep 2004 - 21:53 - r1.2 GordonWeakliem
  STARTINCLUDE Renaming Files Throughout a Directory Tree Problem You need to rename files throughout an entire directory tree, for example, you want to change extension ...
FileSearchPath 13 Aug 2004 - 03:45 - NEW GordonWeakliem
  STARTINCLUDE Finding a File Given an Arbitrary Search Path Problem Given a search path, you need to find the first file along that path with a specified name. Solution ...
FileSearchReplace 13 Aug 2004 - 03:17 - NEW GordonWeakliem
  STARTINCLUDE Searching and Replacing Text in a File Problem You need to change one string into another throughout a file. Solution Discussion STOPINCLUDE Comments ...
FileSplitPath 25 Jun 2004 - 11:15 - r1.2 NoelWelsh
  STARTINCLUDE Splitting a Path into All of Its Parts Problem You want to split a path into all of its components. Solution explode-path in mzlib's file.ss will do ...
FileVersion 13 Aug 2004 - 03:49 - NEW GordonWeakliem
  STARTINCLUDE Versioning Filenames Problem You want to make a backup copy of a file, with a protocol of using a 3 digit number to the name of the old file. (VAX, anyone ...
FileWalkDirectoryTree 13 Sep 2004 - 15:13 - r1.3 JensAxelSoegaard
  STARTINCLUDE Walking Directory Trees Problem You need to look at every file in a directory, or an entire directory tree, that matches a given pattern. Solution The ...
FileWrite 10 Dec 2007 - 10:43 - r1.4 NoelWelsh
  STARTINCLUDE Writing to a File Problem You want to write text or data to a file. Solution If you just have a string s to write to a file with name fname , this will ...
FilesCopyingOrMovingAFile 25 Jun 2004 - 11:22 - r1.3 NoelWelsh
  STARTINCLUDE Copying or Moving a File Problem You need to copy a file. Solution Use PltScheme's standard function copy-file : begin scheme (copy-file src-path dest ...
FixnumDays 30 Mar 2004 - 00:19 - NEW AntonVanStraaten
  Teach Yourself Scheme in Fixnum Days http://www.ccs.neu.edu/home/dorai/t-y-scheme/t-y-scheme.html Teach Yourself Scheme in Fixnum Days is an excellent Scheme tutorial ...
ForeignInterfaceBasics 07 Apr 2006 - 01:02 - r1.2 NoelWelsh
  STARTINCLUDE Foreign interface basics Problem We want to use C libraries from Scheme without writing C code ourselves. Solution We'll use PLT Scheme's foreign module ...
ForeignInterfaceChapter 07 Apr 2006 - 01:02 - r1.3 NoelWelsh
  STARTINCLUDE Foreign Interface TMPL:P{"chapterquery"} STOPINCLUDE TMPL:P{"chaptercommentlink"} INCLUDE{"ForeignInterfaceChapterComments"} Set ALLOWTOPICCHANGE Main ...
ForeignInterfaceChapterComments 07 Apr 2006 - 01:00 - NEW NoelWelsh
  TMPL:P{"chaptercommenttip"} STARTINCLUDE Comments STOPINCLUDE
ForeignInterfaceIntroduction 07 Apr 2006 - 01:01 - NEW NoelWelsh
  STARTINCLUDE Introduction MzScheme version 299 introduces the foreign module, allowing us to drive libffi from Scheme to interface with C libraries. The design and ...
ForeignInterfaceRecipes 07 Apr 2006 - 01:03 - NEW NoelWelsh
  STARTINCLUDE Recipes TMPL:P{"recipequery"} STOPINCLUDE Set ALLOWTOPICCHANGE Main.SchematicsEditorsGroup
FunctionalHeap 16 Jun 2004 - 15:38 - r1.5 NoelWelsh
  Functional Heap Problem A heap is data structure that in its basic form supports the operations insert and delete-min . More advanced heaps also support merge . Solution ...
FunctionalQueue 16 Jun 2004 - 15:36 - r1.4 NoelWelsh
  STARTINCLUDE Functional Queue A queue is a data structure supporting the following operations: empty? , insert , remove and first . Problem The problem is to get ...
GUIChapter 14 Jun 2004 - 03:57 - r1.5 AntonVanStraaten
  STARTINCLUDE GUI Recipes TMPL:P{"chapterquery"} STOPINCLUDE TMPL:P{"chaptercommentlink"} INCLUDE{"GUIChapterComments"} Set ALLOWTOPICCHANGE Main.SchematicsEditorsGroup ...
GUIChapterComments 04 Aug 2008 - 18:21 - r1.5 StephenDeGabrielle
  TMPL:P{"chaptercommenttip"} STARTINCLUDE Comments See also Corey Sweeney's http://students.depaul.edu/~csweeney/Guibuilder.Tutorial.html GUI-builder Howto . Main ...
GUIHelloWorld 04 Aug 2008 - 14:23 - r1.4 StephenDeGabrielle
  STARTINCLUDE Creating a window containing text Problem You want to create a GUI window containing some text. Solution PltScheme provides a cross-platform GUI toolkit ...
GUIHowToUseATimer 24 Feb 2006 - 22:54 - NEW JensAxelSoegaard
  STARTINCLUDE How to use a timer Problem How to use a timer to update elements of a GUI. Solution begin scheme ;;; ;;; Clock ;;; ;; This program demonstrates how to ...
GUIIntroduction 14 Jun 2004 - 04:08 - NEW AntonVanStraaten
  STARTINCLUDE Introduction STOPINCLUDE
GUIRecipeAnimation 29 Aug 2004 - 23:04 - r1.4 JensAxelSoegaard
  STARTINCLUDE Animation Problem Displaying a window and animating its contents. Solution begin scheme ;;; Jumping PacMan (define PAUSE 0.002) ; determines the speed ...
GUIRecipeImagesInTheInteractionWindow 15 May 2004 - 11:27 - r1.6 JensAxelSoegaard
  STARTINCLUDE Displaying an Image in the DrScheme Interaction Window Problem Displaying an image in the DrScheme Interaction Window. Solution The interaction window ...
GUIRecipes 14 Jun 2004 - 04:00 - NEW AntonVanStraaten
  STARTINCLUDE Recipes TMPL:P{"recipequery"} STOPINCLUDE Set ALLOWTOPICCHANGE Main.SchematicsEditorsGroup
GUIWidgetAggregation 17 Jul 2008 - 08:59 - r1.9 StephenDeGabrielle
  STARTINCLUDE Aggregating Widgets in a Single Widget Problem You would like to deal with many widgets as though they were a single widget. Solution begin scheme #lang ...
GettingCurrentProcessId 03 May 2006 - 21:30 - NEW DannyYoo
  STARTINCLUDE Getting the current process id (PID) using "foreign.ss" Problem We may want to get the current process id (PID) of the current running process. Solution ...
GettingStartedAdmin 07 Jul 2004 - 10:15 - r1.2 NoelWelsh
  Comments ToDo: Using PLT Scheme
GettingStartedChapter 07 Jul 2004 - 10:01 - r1.9 NoelWelsh
  STARTINCLUDE Getting Started With PLT Scheme TMPL:P{"chapterquery"} STOPINCLUDE TMPL:P{"chaptercommentlink"} INCLUDE{"GettingStartedChapterAdmin"} Set ALLOWTOPICCHANGE ...
GettingStartedCollectionSearchPath 21 Apr 2007 - 22:27 - r1.3 YinSoChen
  STARTINCLUDE Changing the Library (Collection) Search Path Problem You want to change the path in which PltScheme searches for library (collection) paths. Solution ...
GettingStartedComments 17 Apr 2006 - 09:13 - NEW NoelWelsh
  STARTINCLUDE Commenting Out Code Problem You want to comment out some Scheme code. Solution In addition to the R5RS standard ; comment character, PltScheme also supports ...
GettingStartedContracts 16 Jul 2004 - 19:13 - r1.2 NoelWelsh
  Contracts http://people.cs.uchicago.edu/~robby/pubs/papers/ho-contracts-techreport.pdf Contracts for Higher Order Functions , Robby BruceFindler and Matthias Felleisen ...
GettingStartedExceptions 30 Jan 2007 - 04:25 - r1.9 DavidTPierson
  STARTINCLUDE Exceptions The exception system in MzScheme is the one proposed by http://www.cs.indiana.edu/scheme-repository/doc.proposals.exceptions.html Friedman ...
GettingStartedIntroduction 16 Jul 2004 - 19:14 - r1.4 NoelWelsh
  STARTINCLUDE Introduction PLT Scheme differs from `standard' Scheme in a number of ways. The differences are mostly either minor cosmetic issues or major enhancements ...
GettingStartedMacros 05 Feb 2007 - 14:59 - r1.10 JensAxelSoegaard
  Macros PLT Scheme supports syntax-rules , syntax-case and define-macro (also known as define-macro defmacro ). ftp://ftp.cs.indiana.edu/pub/scheme-repository/doc ...
GettingStartedMisc 10 May 2007 - 19:45 - r1.7 DannyYoo
  Miscellaneous Differences from Standard Scheme Square Brackets People who know some Scheme are often surprised to see square brackets in PLT Scheme programs. They ...
GettingStartedModules 16 Jul 2004 - 19:07 - r1.3 NoelWelsh
  Modules A very nice introduction to modules in PLT Scheme is http://www.htus.org/Book/Staging/how-to-use-modules/ How To Use Modules from http://www.htus.org How ...
GettingStartedPlanetWithProxy 21 Feb 2007 - 11:02 - r1.2 GeorgeHerson
  STARTINCLUDE Using PLaneT With a Web Proxy Problem You want to use PLaneT but your computer is behind a web proxy, preventing direct access to the PLaneT server. ...
GettingStartedRecipes 16 Jul 2004 - 19:03 - NEW NoelWelsh
  STARTINCLUDE Recipes TMPL:P{"recipequery"} STOPINCLUDE Set ALLOWTOPICCHANGE Main.SchematicsEditorsGroup
GnucashImport 12 May 2006 - 18:16 - r1.2 AntonVanStraaten
  STARTINCLUDE Manipulating Gnucash Files in DrScheme using SSAX Problem Gnucash is nice, but its toolset is limited and I want to perform interesting computations ...
GrayCodes 24 Nov 2006 - 01:45 - NEW JosKoot
  STARTINCLUDE Gray Codes Problem A Binary Gray Code of k bits is a rearrangement of the list of the numbers 0 up to but not including 2k such that every element differs ...
GunzippingProgressivelyWithAPipe 21 May 2006 - 04:34 - NEW DannyYoo
  STARTINCLUDE Decompressing a gzipped file progressively using a pipe Problem We have a file that has been gzipped, and we would like to gunzip it. However, the function ...
HandinServerMonitor 17 May 2006 - 10:57 - r1.2 NoelWelsh
  STARTINCLUDE Monitoring the Handin Server Problem You use the PLT handin server to accept submissions. You want a cron job to run periodically to make sure the server ...
HashChapter 14 Jun 2004 - 01:17 - r1.3 AntonVanStraaten
  STARTINCLUDE Hashes TMPL:P{"chapterquery"} STOPINCLUDE TMPL:P{"chaptercommentlink"} INCLUDE{"HashChapterComments"} Set ALLOWTOPICCHANGE Main.SchematicsEditorsGroup ...
HashChapterComments 17 Sep 2004 - 17:46 - r1.3 GordonWeakliem
  TMPL:P{"chaptercommenttip"} STARTINCLUDE Comments Small comment: maybe we should avoid the use of the word "hash", since that's become a Perl term with lots of associations ...
HashCopy 17 Sep 2004 - 09:15 - NEW NoelWelsh
  STARTINCLUDE Copying The Contents of a Hash Table Problem You want to copy the contents of a hash table from one hash table to another, preserving both keys and values ...
HashIntroduction 17 Sep 2004 - 18:07 - r1.2 GordonWeakliem
  STARTINCLUDE Introduction PLT Scheme provides basic, but useful and fast ways of manipulating hashes. A hash table is used to store a collection of data values associated ...
HashReadAndWrite 17 Sep 2004 - 09:14 - NEW NoelWelsh
  STARTINCLUDE Reading and Writing Hash Tables Problem You want to write a hash table to disk and at a later time read it back. Solution The functions write-hash-table ...
HashRecipeAddingElement 19 May 2004 - 20:32 - NEW KarlaRamirez
  STARTINCLUDE Adding an Element to a Hash Problem You need to add an entry to a Hash. Solution Simply assign the element to the hash using hash-table-put! . begin ...
HashRecipeImmutable 19 May 2004 - 21:00 - NEW KarlaRamirez
  STARTINCLUDE Creating a Hash with Immutable Keys or Values Problem You would like to have a hash table whose values or keys couldn't be modified once set. Solution ...
HashRecipePresenceOfKeys 11 Dec 2006 - 05:03 - r1.8 BrianJ
  STARTINCLUDE Testing for the Presence of a Key in a Hash Problem You need to know wheter a hash has a particular key, regardless of whatever value may be associated ...
HashRecipePrinting 19 May 2004 - 21:37 - NEW KarlaRamirez
  STARTINCLUDE Printing a Hash Problem You want to print a hash (keys and values). Solution Using recipe HashRecipeTraverse we can easily print all the elements in ...
HashRecipeRemove 19 May 2004 - 21:13 - NEW KarlaRamirez
  STARTINCLUDE Deleting from a Hash Problem Remove an entry (key value) from a hash table. Solution hash-table-remove! removes the value mapping for the given key if ...
HashRecipeTraverse 14 Jun 2004 - 03:20 - r1.2 AntonVanStraaten
  STARTINCLUDE Traversing a Hash Problem You want to perform an action on each entry in a hash. Solution As with lists, see chapter ListChapter, there are two basic ...
HashRecipes 14 Jun 2004 - 01:17 - NEW AntonVanStraaten
  STARTINCLUDE Recipes TMPL:P{"recipequery"} STOPINCLUDE Set ALLOWTOPICCHANGE Main.SchematicsEditorsGroup
HashRetrieve 21 Feb 2006 - 21:20 - r1.2 LukeRenn
  STARTINCLUDE Retrieving an Element from a Hash Problem You need to retrieve an item from a Hash. Solution Just use hash-table-get . begin scheme (define (hash-table ...
HashTables 24 Apr 2004 - 19:59 - NEW JensAxelSoegaard
  Hash Tables References http://download.plt-scheme.org/doc/206p1/html/mzscheme/mzscheme-Z-H-3.html#node sec 3.12 Hash Tables Section 3.12 in the MzScheme documentation ...
HelpDesk 29 Mar 2006 - 09:56 - r1.4 JensAxelSoegaard
  PLT Help Desk The PLT Help Desk is an application included with PLT's DrScheme which allows users to navigate through a great deal of Scheme information. It is "a ...
HelpNeeded 22 May 2005 - 05:02 - r1.50 AntonVanStraaten
  Pages with problems Note here if you come across a page with problems, but don't know how to fix it. Current Problems This might be more of an idea than a problem ...
HowToInstallPLTFile 16 Dec 2004 - 14:32 - r1.3 RobertBrook
  How To Install a .plt File 1 In DrScheme choose "Intall .plt File" in the "File..." menu, select the Web tab, and give it url where the file is on the web, then click ...
HowToMakeASnip 04 Aug 2008 - 19:30 - NEW StephenDeGabrielle
  STARTINCLUDE How to make a snip see http://docs.plt-scheme.org/gui/snip .html Problem You want to make a new type of snip for use on an editor-canvas (PLT Scheme ...
HowToUseScheme 26 May 2004 - 15:47 - NEW NoelWelsh
  http://www.htus.org/ How To Use Scheme is a guide to practical usage of PltScheme, with a more expository nature than this Cookbook. It is authored by the PLT team ...
HtmlPrag 03 Jan 2008 - 10:59 - NEW StephenDeGabrielle
  HtmlPrag provides permissive HTML parsing and emitting capability to Scheme programs. See: http://www.neilvandyke.org/htmlprag/ Main.StephenDeGabrielle 03 Jan 2008 ...
HttpsWebservering 07 Apr 2006 - 01:14 - r1.3 NoelWelsh
  STARTINCLUDE Using Apache as a HTTPS front end for the PLT web server Problem The PLT web server does not accept HTTPS connections on it's own. Solution Use Apache ...
IdiomChapter 13 Jun 2004 - 02:35 - r1.17 AntonVanStraaten
  STARTINCLUDE Common Idioms TMPL:P{"chapterquery"} STOPINCLUDE TMPL:P{"chaptercommentlink"} INCLUDE{"IdiomChapterComments"} Set ALLOWTOPICCHANGE Main.SchematicsEditorsGroup ...
IdiomChapterComments 13 Jun 2004 - 02:40 - r1.4 AntonVanStraaten
  TMPL:P{"chaptercommenttip"} STARTINCLUDE Comments STOPINCLUDE
IdiomDocumentedProcedures 16 May 2006 - 12:52 - r1.3 DaveHerman
  STARTINCLUDE Accessing Procedure Source Code Problem JavaScript programmers are familiar with accessing the source code of a procedure at runtime. Can we do this ...
IdiomEvaluateAndTest 17 Jun 2007 - 02:47 - r1.12 GeoffKnauth
  STARTINCLUDE Evaluate and Test Problem A common Scheme idiom is to return #f in the case of failure and a useful value otherwise. For example, the member function ...
IdiomIntroduction 16 Jul 2004 - 19:27 - r1.4 NoelWelsh
  Introduction A coding idiom is a solution to a commonly occurring programming problem. In a sense all recipes are idioms, but we use the term here for those recipes ...
IdiomLocation 18 Apr 2006 - 15:57 - NEW NoelWelsh
  STARTINCLUDE Capturing Location Information Problem You want to capture location information (file and line number, for example) for code you write. Solution The ...
IdiomLoopingConstructs 02 Jun 2007 - 04:43 - r1.13 TwobitSprite
  STARTINCLUDE The "missing" looping constructs while , repeat-until and for . Problem The control constructs while , repeat-until and for are present in most mainstream ...
IdiomMonadicProgramming 02 Jul 2005 - 00:53 - r1.6 JensAxelSoegaard
  Monadic Programming Monadic programming is made possible in Scheme using a mixture of functions and macros. Even though this programming style isn't widely used in ...
IdiomObjectOrientedProgramming 02 Apr 2008 - 22:36 - r1.12 StephenDeGabrielle
  Object Oriented Programming http://www.cs.dartmouth.edu/~cs18/W2004/handouts/objects/objects.html Object Oriented Programming using (a modified) Swindle http://www ...
IdiomOptionalArguments 04 May 2007 - 16:22 - r1.7 JohnClements
  STARTINCLUDE Optional arguments Problem Some functions take arguments that only in exceptional cases are different from a default value. Optional arguments makes ...
IdiomPrematureReturn 19 May 2007 - 03:32 - r1.8 AntonVanStraaten
  STARTINCLUDE Returning prematurely from a function Problem You are either porting code from an imperative language (like C) as literally as possible and they suddenly ...
IdiomRecipes 11 Jun 2004 - 09:44 - r1.3 NoelWelsh
  STARTINCLUDE Recipes SEARCH{"TopicType. value \"Recipe;ParentTopic. value \"IdiomRecipes" casesensitive "on" regex "on" nosearch "on" nototal "on" order "formfield ...
IdiomReference 11 Jun 2004 - 09:44 - r1.3 NoelWelsh
  References OnLisp details many CommonLisp idioms, many of which are appropriate for Scheme.
IdiomSerializeToFile 15 Apr 2005 - 14:38 - r1.10 NoelWelsh
  STARTINCLUDE Serialize Data to File Problem You want to write data to a file such that when you eval that file that data is recreated. Solution Use the functions ...
IdiomSharingState 01 Nov 2008 - 14:29 - r1.11 NunoYobidness
  Sharing state between two functions Problem Defining two functions sharing state without polluting the top level with unneccesary definitions. Solution There are ...
IdiomStaticVariables 10 Apr 2007 - 08:32 - r1.5 NoelWelsh
  STARTINCLUDE Static Variables for Functions Problem A single function needs to carry forward state from call to call, but you do not want to polute your environment ...
IdiomStreams 04 Feb 2008 - 13:01 - r1.4 StephenDeGabrielle
  STARTINCLUDE Streams Problem You want to handle state in a functional manner. Solution The concept you're looking for is called a "Stream". Discussion The canonical ...
ImperativeQueues 09 Jan 2008 - 18:33 - r1.7 JosKoot
  STARTINCLUDE Imperative Queues Problem A queue is a first-in first-out memory. Objects can be stored one by one and can be extracted (or removed) one by one. Objects ...
IncludingRecipesInChapters 16 Jul 2004 - 19:37 - NEW NoelWelsh
  At the bottom of every page is a form called the CookbookForm. The organisation of the site depends on the values in this form, so take care to fill them in correctly ...
IncludingSourceCode 16 Aug 2004 - 14:54 - r1.8 NoelWelsh
  Including Source Code in the Cookbook Keywords and Inline Expressions Keywords and other inline expressions can be highlighted and rendered in fixed font by surrounding ...
IndexPageSelectList 16 Jul 2004 - 19:03 - r1.12 NoelWelsh
  Index Pages Select List The following is a list of index pages, used to select a new recipe's parent in the NewRecipe form. STARTINCLUDE NoParentSelected IdiomRecipes ...
IntroductionToMzlibClasses 12 Dec 2007 - 16:32 - r1.7 StephenDeGabrielle
  STARTINCLUDE (lib "class.ss") Notes These are a set of notes I'm taking about learning the class system in mzlib, the standard library that comes with mzscheme. I ...
IsAString 07 Dec 2004 - 21:08 - r1.8 MarcCharpentier
  STARTINCLUDE Testing Whether an Object is a String Problem You need to test if an object is a string. Solution The string? predicate is what you want: begin scheme ...
IteratorGenerators 14 Sep 2004 - 03:47 - r1.3 OlegK
  STARTINCLUDE Generating Iterators Problem Python programmers may be familiar with Python's yield keyword and generator functions. Python has built-in language support ...
LGPL 08 Sep 2004 - 09:15 - r1.3 AntonVanStraaten
  Cookbook License Per the ContributorAgreement, material contributed to the Cookbook is licensed to the public under the terms of the GNU Lesser General Public License ...
LIstRecipeFiltering 29 Aug 2004 - 08:27 - r1.3 BrentAFulgham
  STARTINCLUDE Filtering Lists Problem Solution Discussion filter STOPINCLUDE Comments about this recipe Contributors Main.NoelWelsh 02 Jun 2004
LayoutMultiplePanelsInAFrame 17 Apr 2008 - 06:28 - r1.2 NoelWelsh
  STARTINCLUDE Laying out panels in a window Problem You want to make a specific layout of your panels Solution Laying out panels in DrScheme is simple, Inside your ...
LibraryIndex 01 Jul 2004 - 14:17 - NEW NoelWelsh
  Scheme Library Index This page lists pages that describe libraries of Scheme code. Any page that has the TopicType in its CookbookForm set to Library is included ...
ListChapter 14 Jun 2004 - 03:20 - r1.11 AntonVanStraaten
  STARTINCLUDE List Recipes TMPL:P{"chapterquery"} STOPINCLUDE TMPL:P{"chaptercommentlink"} INCLUDE{"ListChapterAdmin"} Set ALLOWTOPICCHANGE Main.SchematicsEditorsGroup ...
ListChapterComments 14 Jun 2004 - 03:16 - r1.2 AntonVanStraaten
  TMPL:P{"chaptercommenttip"} STARTINCLUDE Comments STOPINCLUDE
ListCircularList 12 Aug 2004 - 18:29 - NEW GordonWeakliem
  STARTINCLUDE Building a Circular List Problem You want to build a list that's circular; that is, as you navigate it, you eventually reach the head again. For example ...
ListFlatten 26 Jun 2007 - 18:42 - r1.4 KyleSmith
  STARTINCLUDE How to flatten a list. Problem To flatten a list means to destructure a list into a flat list. For example: begin scheme (flatten '(a (b (c d) e) f) ...
ListIntroduction 21 Jan 2007 - 05:24 - r1.3 BrentAFulgham
  Introduction Being a flavor of Lisp (LISt Processing), Scheme contains lists as a low-level feature of the language. Unfortunately, the standard set of tools for ...
ListQueues 16 Aug 2004 - 02:18 - r1.2 GordonWeakliem
  STARTINCLUDE Creating Queues Problem You want to build a Queue data structure, e.g. a First-In-First-Out list structure. Solution http://mitpress.mit.edu/sicp/full ...
ListRecipeConstructing 21 Jan 2007 - 05:42 - r1.3 BrentAFulgham
  STARTINCLUDE Constructing Lists Problem You wish to create a list from nothingness. Solution Use cons , or cons-immutable to make lists or dotted pairs. cons-immutable ...
ListRecipeExtractingSublist 17 Jun 2005 - 18:31 - r1.7 JensAxelSoegaard
  STARTINCLUDE Extracting a sublist Problem Given a list, extract a segment specified by a start and an end index (exclusive). Solution begin scheme (require (lib ...
ListRecipeExtractingUniqueElements 19 May 2004 - 22:33 - NEW FranciscoSolsona
  STARTINCLUDE Extracting Unique Elements from a List Problem You want to eliminate duplicate values from a list. Solution There are several possible solutions for ...
ListRecipeFilterElements 26 Mar 2006 - 00:48 - r1.3 JensAxelSoegaard
  STARTINCLUDE Finding All Elements in a List Matching Certain Criteria Problem From a list, you want only the elements that match certain criteria. This notion of ...
ListRecipeFiltering 11 Apr 2005 - 08:31 - r1.5 NoelWelsh
  STARTINCLUDE Filtering Lists Problem You have a list with a bunch of items, but you want to have a copy of that list with some items removed. Solution filter , in ...
ListRecipeListMinus 19 May 2004 - 21:50 - r1.2 IvanHernandez
  STARTINCLUDE Finding Elements in One Array but Not Another Problem You want to find elements that are in one list but not another. Solution You want to find elements ...
ListRecipeReferences 14 Jun 2004 - 03:20 - r1.2 AntonVanStraaten
  References ToDo: Links to R5RS, SRFI1, list.ss in mzlib. HTDP on list recipes
ListRecipeSplittingInHalves 29 Aug 2004 - 07:47 - r1.7 BrentAFulgham
  Splitting a list in halves Problem Splitting a list in two lists whose lengths are half of the original. Solution begin scheme ; split-in-halves : list (values list ...
ListRecipeTraversing 21 Nov 2008 - 11:07 - r1.4 MichaelBurschik
  STARTINCLUDE Traversing Lists Problem Solution The map procedure applies a procedure proc that takes n arguments and returns a single value, to n lists and returns ...
ListRecipes 14 Jun 2004 - 03:22 - r1.2 AntonVanStraaten
  STARTINCLUDE Recipes SEARCH{"TopicType. value \"Recipe;ParentTopic. value \"ListRecipes" casesensitive "on" regex "on" nosearch "on" nototal "on" order "formfield ...
MacroExampleASimplePatternMatcher 23 May 2007 - 13:00 - NEW JensAxelSoegaard
  STARTINCLUDE Macro Example: A simple pattern matcher Problem Write a simple pattern matcher with syntax-rules. Solution The following is a very naïve implementation ...
MacrosChapter 24 Aug 2007 - 17:31 - NEW WillFarr
  STARTINCLUDE Macros TMPL:P{"chapterquery"} STOPINCLUDE TMPL:P{"chaptercommentlink"} INCLUDE{"MacrosChapterComments"} Set ALLOWTOPICCHANGE Main.SchematicsEditorsGroup ...
MacrosChapterComments 24 Aug 2007 - 17:50 - NEW WillFarr
  TMPL:P{"chaptercommenttip"} STARTINCLUDE Comments STOPINCLUDE Main.WillFarr 24 Aug 2007
MacrosChapterRecipes 24 Aug 2007 - 17:53 - NEW WillFarr
  STARTINCLUDE Recipes TMPL:P{"recipequery"} STOPINCLUDE Set ALLOWTOPICCHANGE Main.SchematicsEditorsGroup Main.WillFarr 24 Aug 2007
MacrosIntroduction 24 Aug 2007 - 17:48 - NEW WillFarr
  STARTINCLUDE Introduction Scheme macros are transformations on the source of a scheme program which happen at "compile" time. They allow you to introduce New binding ...
MatchingStructFieldsByName 03 Nov 2006 - 19:52 - r1.2 RichardCobbe
  STARTINCLUDE How to Match Struct Fields by Name Problem Both pattern-matching libraries in PLT Scheme allow you to match against fields of a structure, but they only ...
MiscSICP 16 Jan 2005 - 15:13 - NEW JensAxelSoegaard
  STARTINCLUDE How To Run SICP Programs in DrScheme Problem Getting a program from SICP to run in DrScheme. Solution Choose the Proper Language In the "Language" menu ...
MrEd 24 Sep 2004 - 08:53 - r1.2 JensAxelSoegaard
  MrEd MrEd (the program, the language) defines the graphical platform on which DrScheme is built. It provides an evaluator for the MzScheme language extended with ...
MzScheme 24 Sep 2004 - 08:52 - r1.2 JensAxelSoegaard
  MzScheme MzScheme is a language. It is one of the Scheme family of languages. It is part of PltScheme PLT Scheme , which also includes DrScheme and MrEd. Main.JohnClements ...
NetChapter 30 Dec 2005 - 02:09 - NEW AntonVanStraaten
  STARTINCLUDE Network Programming TMPL:P{"chapterquery"} STOPINCLUDE TMPL:P{"chaptercommentlink"} INCLUDE{"NetChapterComments"} Set ALLOWTOPICCHANGE Main.SchematicsEditorsGroup ...
NetRecipes 30 Dec 2005 - 02:36 - NEW AntonVanStraaten
  STARTINCLUDE Recipes TMPL:P{"recipequery"} STOPINCLUDE Set ALLOWTOPICCHANGE Main.SchematicsEditorsGroup
NetSendEmail 27 Nov 2007 - 15:45 - r1.4 StephenDeGabrielle
  STARTINCLUDE Sending Email Problem You want to send an email from a Scheme program Solution Use the smtp.ss or sendmail.ss modules, and the head.ss module, all in ...
NewChapter 19 Aug 2004 - 09:25 - r1.2 AntonVanStraaten
  Create New Chapter Use the form below to create a new chapter for the cookbook. Fill in the chapter name (a TWiki.WikiWord) and title, and press the Create Chapter ...
NewLibrary