Skip to content

Commit b72d7bf

Browse files
committed
Add args to forms function. #91
1 parent 9a707ff commit b72d7bf

File tree

4 files changed

+4
-3
lines changed

4 files changed

+4
-3
lines changed

api.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -3602,7 +3602,7 @@ Args: `()`
36023602
```
36033603
> (version)
36043604
;;=>
3605-
(0 0 53 dirty)
3605+
(0 0 54 dirty)
36063606
36073607
```
36083608

l1.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -4232,7 +4232,7 @@ Args: `()`
42324232
```
42334233
> (version)
42344234
;;=>
4235-
(0 0 53 dirty)
4235+
(0 0 54 dirty)
42364236
42374237
```
42384238

lisp/doc.go

+1
Original file line numberDiff line numberDiff line change
@@ -615,6 +615,7 @@ func formsAsSexprList(e *Env) ([]Sexpr, error) {
615615
Atom{strings.Replace(form.ftype, " ", "-", -1)},
616616
Num(form.farity),
617617
multi,
618+
form.args,
618619
form.doc))
619620
}
620621
return out, nil

tests.l1

+1-1
Original file line numberDiff line numberDiff line change
@@ -723,7 +723,7 @@
723723
(is (< 10 (len (forms))))
724724
(is (some (comp (partial = 'forms) first)
725725
(forms)))
726-
(is (every (comp (partial = 5) len) (forms)))
726+
(is (every (comp (partial = 6) len) (forms)))
727727
(is (= '(Return a new atom with all characters in lower case)
728728
(doc downcase))))
729729

0 commit comments

Comments
 (0)