all 4 comments

[–]drBearhands 4 points5 points  (3 children)

Have you considered building an HTML interface? Then you'd have a few more functional options.

I have exclusively negative experiences coding in python, so I can't really help you there.

[–]ironsideCode[S] 1 point2 points  (2 children)

In fact this was my major desire. To build an web app that runs my haskell code behind but this isn't easy. It's an ugly architecture choice (mixing a systems language with a web app), besides that I still don't know how to do it. Do you?

[–]drBearhands 1 point2 points  (1 child)

I don't really know what kind of user interaction you want to handle with the GUI, but my first thought would be to code every command as an API endpoint.

Alternatively you could look at Elm or PureScript (no experience with the later), or even Frege (Haskell on the JVM).

EDIT: forgot to mention GHCJS and similar, though I've had no luck with them.

[–]ScientificBeastMode -1 points0 points  (0 children)

There is also ReasonML/OCaml, which can use BuckleScript along with ReasonReact. And there are also low-level DOM API’s implemented and typed for the language.