Skip to content

Commit

Permalink
Option-string builder
Browse files Browse the repository at this point in the history
  • Loading branch information
klutometis committed Dec 30, 2012
1 parent f54bcdb commit 8d04bb9
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions animation-core.scm
Original file line number Diff line number Diff line change
Expand Up @@ -53,3 +53,8 @@ depth-first-search on a graph; outputting an animation frame every step."
-ovc lavc
-o ,animation))))
(values next-frame finalize)))

(define (option-string options)
(string-join
(map (match-lambda ((key . value) (format "~a=~a" key value))) options)
":"))

0 comments on commit 8d04bb9

Please sign in to comment.