diff options
author | David Robillard <d@drobilla.net> | 2010-12-31 04:53:23 +0000 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2010-12-31 04:53:23 +0000 |
commit | a94ba9d90a9fe48a3933f2932b7955b5b248b623 (patch) | |
tree | 77f7e5390d667361d51cc6b590e1decf7e78f46d /test | |
parent | 3b0975009a400cc41e9d975c6b81ab5965bbb0fa (diff) | |
download | resp-a94ba9d90a9fe48a3933f2932b7955b5b248b623.tar.gz resp-a94ba9d90a9fe48a3933f2932b7955b5b248b623.tar.bz2 resp-a94ba9d90a9fe48a3933f2932b7955b5b248b623.zip |
Define named (and possibly recursive) types for closures and functions.
Compile type definitions all the way to LLVM IR (including recursive types).
git-svn-id: http://svn.drobilla.net/resp/resp@388 ad02d1e2-f140-0410-9f75-f8b11f17cedd
Diffstat (limited to 'test')
-rw-r--r-- | test/closure.resp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/test/closure.resp b/test/closure.resp index fb5a41d..8dad1c1 100644 --- a/test/closure.resp +++ b/test/closure.resp @@ -1,4 +1,5 @@ -(def (multiplier factor) (fn (x) (* (+ x 0) factor))) +(def (multiplier factor) + (fn (x) (* (+ x 0) factor))) (def doubler (multiplier 2)) |