fun4j brings functional programming to the JVM. It's a framework that integrates major concepts from functional programming into the Java Platform. It also provides seamless integration of Java with Lisp coding, by using a lisp-to-bytecode compiler.
- Framework for applying functional programming to Java
- efficient lisp to jvm compiler with Tail Call Optimization
- Functional JVM Bytecode Assembler
- LISP Read Eval Print loop
- LISPKIT implementation
- LISP 1.5 Implementation
I've just discovered fun4j and I like it a lot. I think it's very useful. I've read the tutorial about the functional assembler and I was wondering if it was possible to build an implementation for a typed functional language. Greetings and congratulations!!!!
very good idea. If you can't use clojure, but want more fp than pure java allows.
"I've read the tutorial about the functional assembler and I was wondering if it was possible to build an implementation for a typed functional language." Yes, that should be possible. Have a look at org.fun4j.Template and the respective testcases in test.org.fun4j.TemplateTest. The higher order functions support for Java Collections etc. is completely typed. cheers, Thomas