Hacker News new | ask | show | jobs
by mijoharas 4134 days ago
Does anyone else get "Base.hs@493:1-493:2 parse error on input `" on trying to run the code snippet in https://www.fpcomplete.com/user/agocorona/EDSL-for-hard-work...

Am I misusing fpcomplete, or does the code snippet not work?

3 comments

I realised that it was the main module that needed to be run, after switching to this module (I also deleted some things causing syntax errors in base.hs) and selecting it as the build target the example worked as expected. I think it's because I'm not so familiar with fpcomplete.
Looks like a bug in FPComplete. There's only one use of backticks there and changing it to another form doesn't fix the error.
Too bad. I fixed it