suica 2017-03-05 11:28:20
I'm trying to write a simple regex parser for expressions like "ab(cd|e)*f", but it's recursing infinitely and I can't quite figure out why -- anything obviously incorrect here? http://lpaste.net/353247
f-a 2017-03-05 11:32:01
what is Parser, suica
lyxia 2017-03-05 11:32:01
suica: you have a loop between p_nonseq, p_alt, p_expr
suica 2017-03-05 11:32:33
sorry, `newtype Parser a = Parser { runParser :: String -> Maybe (a, String) }`
suica 2017-03-05 11:32:48
lyxia: thanks, let me see
mofasa_ 2017-03-05 11:38:19
Is there any way to load a module which imports another local module into GHCi without creating a cabal file? E.g. A.hs imports B.hs, then stack repl A.hs yields "Failed to load interface for 'B'"
lyxia 2017-03-05 11:40:25
mofasa_: where are your modules located
mofasa_ 2017-03-05 11:40:34
same folder
lyxia 2017-03-05 11:41:50
oh I see, stack is behaving differently from ghci...
vct 2017-03-05 11:42:14
does anyone else use intero with spacemacs?