File: embedded4.scm

package info (click to toggle)
chicken 5.3.0-2
  • links: PTS
  • area: main
  • in suites: forky, sid, trixie
  • size: 32,892 kB
  • sloc: ansic: 580,083; lisp: 71,987; tcl: 1,445; sh: 588; makefile: 60
file content (10 lines) | stat: -rw-r--r-- 152 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
;;; x.scm

(import (chicken gc) (chicken platform))

(define (bar x) (gc) (* x x))

(define-external (baz (int i)) double
  (sqrt i))

(return-to-host)