geekosaur 2017-03-04 18:51:30
pattern matching normally forces immediate evaluation in order to see if the value matches. a lazy pattern match instead defers that evaluation like any other lazy evaluation
geekosaur 2017-03-04 18:51:50
(evaluation only to the extent needed to see if the pattern matches)
Wizek 2017-03-04 19:19:10
Hey! Anyone here who has experience with setting up reflex(-dom) with stack (and hopefully without involving nix)?
Wizek 2017-03-04 19:19:39
I've tried with lts-6.30 and I got a compile-time type error related to the cairo package
Wizek 2017-03-04 19:19:54
completely fresh start with `stack new`
dymatic 2017-03-04 19:20:37
No experience with the stack, sorry Wizek. What kind of type error is it?
Wizek 2017-03-04 19:21:15
sec, pasting it somewhere
Wizek 2017-03-04 19:23:16
dymatic, https://gist.github.com/Wizek/b2af32bd9d4aa1486dac5a93f5d0c2e6
dymatic 2017-03-04 19:26:07
Damn that doesn't seem right
dymatic 2017-03-04 19:26:41
If this is going through cabal and still giving you that error, someone's package file somewhere is goofed
dymatic 2017-03-04 19:26:51
Or some version of something (maybe cabal) is out of whack
Wizek 2017-03-04 19:27:55
dymatic, Yes, afaik stack uses cabal-install underneath
Wizek 2017-03-04 19:28:19
I have a hunch that I might need to specify to use GHCJS instead of GHC somewhere.
geekosaur 2017-03-04 19:28:27
not quite but it does use the Cabal library underneath
geekosaur 2017-03-04 19:28:40
this looks like there is a mismatch of Cabal versions somewhere
dymatic 2017-03-04 19:29:17
Maybe even try a "cabal install cabal"
lispy 2017-03-04 19:39:34
I think you mean Cabal