Skip to content

Commit

Permalink
Add thread functino, declare missing arities
Browse files Browse the repository at this point in the history
  • Loading branch information
tizoc committed Aug 11, 2024
1 parent b6c6003 commit f0bfd40
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions src/shen-scheme-extensions.shen
Original file line number Diff line number Diff line change
Expand Up @@ -17,3 +17,11 @@

(define shen-scheme.find-library
Name -> ((foreign scm.string-append) ((foreign scm.get-shen-scheme-home-path)) "/libraries/" Name))

(define thread
Lazy -> ((foreign scm.fork-thread) Lazy))

(update-lambda-table shen-scheme.handle-launcher-result 1)
(update-lambda-table shen-scheme.run-shen 1)
(update-lambda-table shen-scheme.find-library 1)
(update-lambda-table thread 1)

0 comments on commit f0bfd40

Please sign in to comment.