-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathlesh.ss
More file actions
22 lines (19 loc) · 675 Bytes
/
Copy pathlesh.ss
File metadata and controls
22 lines (19 loc) · 675 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
(library
(melt lesh)
(export )
(import (scheme))
;; help system will
(module lesh-system
[help-type]
;; help-type will tell the basic information for the type
(define (help-type arg)
(cond
[(string? arg) (cond
([equal? arg "site"]
(display "this is the help doc for site!\n"))
(else (type-list)))]
[else (display "Sorry! No doc provided!\n")]))
(define (type-list)
(display "Types are listed :\n")
(display "|| site || reader || page || post || asset ||\n")))
)