I’ve been reading up on Eta and thought I’d give it a try. Since I’ve started using IntelliJ to do more things, this seemed to make sense. The first thing to note is that Eta’s Haskell language implementation is essentially GHC’s, though I don’t remember which version it’s based on. Thus, the Haskell part of Eta is probably not interesting. I figured that the Java/JVM interop was the interesting bit. I followed the tutorial and wondered how easy or difficult it would be to pop open a window on the screen. This is the Java program I started with:
I was pleasantly surprised to find that I could translate this into Eta very easily and it took me less than ten minutes to do so:
That’s it for today!
Content © 2023 Richard Cook. All rights reserved.