codec-jvm
codec-jvm copied to clipboard
JVM code generation
I received a bunch of warnings when compiling this, and it looks like the semigroup instances were non-canonical. I also fixed up the commented example so it compiles and prints...
I am playing codec-jvm recently, I added a pretty print package for it. See https://github.com/HaskellZhangSong/codec-jvm-pretty
Following is the code: ``` stack1Class :: ClassFile stack1Class = mkClassFile java8 [] "Stack1" Nothing [] [] [ mkMethodDef "Stack1" [Public, Static] "main" [arr . obj $ "java/lang/String"] void $...