Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
tree: ff49735c94
Fetching contributors…

Cannot retrieve contributors at this time

file 34 lines (21 sloc) 0.67 kb
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34
#lang scheme/base

(require "base.ss"
         "pipeline.ss")

; Test data ------------------------------------

; Target function

(define (target arg)
  (list 'target arg))

; Basic pipeline

(define (stage-a continue arg)
  (cons 'a (cons arg (continue (+ arg 1)))))

(define (stage-b continue arg)
  (cons 'b (cons arg (continue (+ arg 2)))))

(define (stage-c continue arg)
  (cons 'c (cons arg (continue (+ arg 3)))))

; Replacement stages

(define (stage-b2 continue arg)
  (cons 'b (cons arg (continue (+ arg 4)))))

(define (stage-b3 continue arg)
  (cons 'b (cons arg null)))

; Provide statements ---------------------------

(provide (all-defined-out))
Something went wrong with that request. Please try again.