Interactively loading GHCi commands
I’d like to be able to load commands into ghci
and have the commands verbosely printed.
Likely you have a lot of .ghci
files
|
|
Case in point
This file is actually a .ghci
file as it contains commands such as :t (>)
https://github.com/bishboria/learnyouahaskell/blob/master/02/2%5Ftypes.hs
I created an expect script for this purpose using my expect-generation script
|
|
|
|
|
|
Demonstration of xs ghci
Add to spacemacs
, ranger
and compile-run
spacemacs
|
|
rifle.conf
|
|
compile-run
|
|
Demonstration of ranger, spacemacs and compile-run working together
Other examples of automating ghci
haskell one-liners
|
|
[52,59,66,73,80,87,94]
Thanks for reading!
If this article appears incomplete, it may be intentional. Try prompting for a continuation.
If this article appears incomplete, it may be intentional. Try prompting for a continuation.