obelisk icon indicating copy to clipboard operation
obelisk copied to clipboard

ob repl adds extensions to files

Open augyg opened this issue 1 year ago • 1 comments

I have very little understanding of how this happened but felt I should report it

I was using ob repl to write code involving inspection of Aeson/JSON keys and used the IsString functionality of Key to write one as a string literal for KeyMap.lookup function, I suspect this triggered something I'm not aware of.

Once I had worked through some errors and the module I was developing in compiled, another module which has a lot of jsaddle based functions in it, that I had not touched while working suddenly had the error "Could not deduce (Data.String.IsString a1)". For context, because I have a lot of JSaddle code in this module I have disabled OverloadedStrings to avoid this error.

When I reloaded with 'ob run' everything was working correctly again.

augyg avatar Dec 25 '23 01:12 augyg