MarcelineVQ 2017-02-21 23:56:44
polux, merijn: thank you for your responses, it turns out I'm basically unaware of static analysis in the first place so I've located some reading materials
ph88^ 2017-02-21 23:58:31
this blog also says that applicative parsers can lead to more compact code .. so i guess ghc can do more optimizations on applicative? https://web.archive.org/web/20170109085108/http://www.serpentine.com/blog/2008/02/06/the-basics-of-applicative-functors-put-to-practical-work/
lep-delete 2017-02-22 00:02:39
why does cabal link on every cabal run/build even if i have changed nothing
earthy 2017-02-22 00:09:39
ph88^: there is a fundamental point in monadic parsers that is akin to the prolog cut operator (!) in that it can cull the parse forest
earthy 2017-02-22 00:10:23
ph88^: which means monadic parsers are strictly more powerful than purely applicative parsers, but also that they are harder to optimize
ph88^ 2017-02-22 00:11:18
what do you mean cull the parse forest
Arguggi 2017-02-22 00:12:17
anyone know how to kill a process I start with https://hackage.haskell.org/package/xmonad-0.13/docs/XMonad-Core.html#v:spawnPID ? (every time I restart xmonad I also want to restart my status bar)
phadej 2017-02-22 00:14:19
Arguggi: https://www.stackage.org/haddock/lts-8.2/unix-2.7.2.1/System-Posix-Signals.html#v:signalProcess
phadej 2017-02-22 00:15:07
Arguggi: and there are sigTERM and sigKILL defined in the same module
Arguggi 2017-02-22 00:15:32
phadej, ah right, thanks!
phadej 2017-02-22 00:16:46
Arguggi: np. I'd create an issue to xmonad (if there's no already) to have spawnPID variant which would manage the processes
Arguggi 2017-02-22 00:19:11
ok I'll open an issue
phadej 2017-02-22 00:19:41
I guess you can make a contrib module using https://hackage.haskell.org/package/xmonad-0.13/docs/XMonad-Core.html#t:StateExtension
phadej 2017-02-22 00:19:53
hopefully there is one already :)