Re:Frege: A Haskell-Like Language for the JVM
by rozap on Thursday August 13, 2015 @05:40PM
(#10057391)
This is about 50% of the pain of Scala for me. I want to like scala, and some of the concepts behind it are neat, but in reality the act of writing it with the java interop, opaque unrepeatable errors, and compiler slowness makes it a fantastically unpleasant experience.
Re:Frege: A Haskell-Like Language for the JVM
by Fiahil on Friday August 14, 2015 @05:05AM
(#10059224)
I'm sharing the same thoughts. I'm relieved I'm not alone in this world :)
Re:Frege: A Haskell-Like Language for the JVM
by voxfrege on Thursday August 13, 2015 @05:11PM
(#10057238)
> I would probably be better off using Haskell directly.
This is certainly true. You can see Frege as a subset of Haskell 2010 plus some GHC extensions plus the native interface (i.e. the Java FFI).
Unless you really need the JVM, Haskell (i.e. GHC) is the probably the better choice.
Frege is just an offer for the minority that wants pure FP specifically on the JVM. Those people had no real choice until recently, given that CAL is dead, and E. Kmett's "ermine" not yet there.
Re:Frege: A Haskell-Like Language for the JVM
by hugofirth on Thursday August 13, 2015 @04:58PM
(#10057172)
I agree that when, in the process of learning Scala, you get beyond the "better Java" stage the interop can feel frustrating. On the other hand Scala gains so much from it. Its a huge net-positive IMHO.
As long as you are only bringing things in from Java-land, rather than going the other way though, the wrapping can be fairly minimal.
I would love if I could avoid this with Fredge. But, in the end, I would probably be better off using Haskell directly.