Questions tagged [haskell-miso]

Miso is a tasty Haskell front-end framework, based on Elm's architecture.

5 questions
8
votes
1 answer

Faster compilation for Haskell Miso

I use the Haskell Miso framework to write frontend web apps and the Nix compilation process takes a long time. How can I speed it up? Or what is the recommended approach to have a near instantaneous edit-compile-run cycle?
Sridhar Ratnakumar
  • 81,433
  • 63
  • 146
  • 187
1
vote
1 answer

Reading radio button value in Haskell Miso

I added radio buttons to the miso sample-app: https://gist.github.com/razvan-flavius-panda/913c1e1c2a12ebd33eb33e6efb55dafe#file-main-hs-L46-L49 -- | Haskell language pragma {-# LANGUAGE OverloadedStrings #-} {-# LANGUAGE RecordWildCards #-} -- |…
Răzvan Flavius Panda
  • 21,730
  • 17
  • 111
  • 169
1
vote
0 answers

can templates with javascript work in haskell miso

For DTL(Django template language), usually I find templates and just fill contents, everything will work. Now I am looking at elm and haskell miso. It seems that for elm, I have to handle javascript carefully, some may need to implement in elm. …
Teddy
  • 35
  • 8
1
vote
1 answer

Stack setup error "solver must be one of: modular "

When running stack setup in Miso sample-app (https://github.com/dmjio/miso/tree/master/sample-app) following error occurred. Shorter version: exit status: 1 stderr: solver must be one of: modular CallStack…
Nagarjuna Pamu
  • 14,737
  • 3
  • 22
  • 40
0
votes
1 answer

Exit code 137 with nixpkgs, despite not changing anything

I'm using Miso, a Haskell backend for JS, and my code was compiling fine yesterday. However, as I try to compile today I get this: Preprocessing executable 'simple' for miso-1.8.0.0.. Building executable 'simple' for miso-1.8.0.0.. [1 of 1]…
ness64
  • 31
  • 6