How to export a (stack) GHCi session

Thanks, the linked issue summarizes the difficulties pretty well, that need to be overcome to persist the history on-the-fly. Thus it seems my work-around #2 is the safe way to go: Do not experiment in an interactive session when there is a chance you’ll need to persist the commands.

1 Like