Changeset 14359 in project


Ignore:
Timestamp:
04/22/09 22:43:20 (11 years ago)
Author:
certainty
Message:

Changes applied for certainty (82.82.227.229) through svnwiki:

File:
1 edited

Legend:

Unmodified
Added
Removed
  • wiki/eggref/4/dict

    r14357 r14359  
    173173
    174174=== Examples
     175<examples>
     176<example>
     177<expr>
     178(use dict)
     179
     180(*current-log-port* (current-output-port))
     181
     182(define con (connect "dict.org"))
     183
     184(receive (success matches) (!match con "scheme" db: 'all)
     185  (if success
     186      (printf "Found matches: ~A~%" matches)))
     187
     188(receive (success def) (!define con "Scheme-to-C" db: "foldoc")
     189  (if (and success (not (null? def)))
     190      (printf "Defintion for Scheme-to-C: ~A~%" (definition-text (car def)))))
     191
     192(receive (success strats) (!strategies con)
     193  (if success
     194      (printf "Strategies: ~A~%" strats)))
     195
     196(disconnect con)
     197</expr>
     198</example>
     199</examples>
    175200
    176201=== List of status-predicates
Note: See TracChangeset for help on using the changeset viewer.