aboutsummaryrefslogtreecommitdiff
path: root/gn/data/species.scm
diff options
context:
space:
mode:
Diffstat (limited to 'gn/data/species.scm')
-rw-r--r--gn/data/species.scm4
1 files changed, 2 insertions, 2 deletions
diff --git a/gn/data/species.scm b/gn/data/species.scm
index 7923101..a712bae 100644
--- a/gn/data/species.scm
+++ b/gn/data/species.scm
@@ -73,7 +73,7 @@
(define (get-expanded-taxon-data short-name)
"Here we add information related to one taxonomy species"
- (call/cc (lambda (return)
+ (call/cc (lambda (return) ; use call/cc to be able to return early
(for-each (lambda (rec)
(if (string=? (assoc-ref rec "shortName") short-name)
(return (expand-species rec))))
@@ -133,5 +133,5 @@
("meta-links" . ,(list->vector (get-group-links (gnid-species id)
(lambda (r) (mk-meta (url-parse-id r))))))
("links" . ,(list->vector (get-group-links (gnid-species id)
- (lambda (r) (mk-meta (url-parse-id r))))))
+ (lambda (r) (mk-data (url-parse-id r))))))
))