ku-fpg / hermit-shell

HERMIT with GHCi shell
BSD 3-Clause "New" or "Revised" License
2 stars 0 forks source link

Run QueryFun #22

Closed xich closed 9 years ago

xich commented 9 years ago
HERMIT> run log

<interactive>:23:1:
    No instance for (Run QueryFun) arising from a use of ‘run’
    In the expression: run
    In the expression: run log
    In an equation for ‘it’: it = run log

Similiar problem for run $ diff 1 2... is there a way to run QueryFuns?

roboguy13 commented 9 years ago

I added that in f5042fa. It should work with run, a dedicated queryFun :: QueryFun -> Shell () function and also when directly typed at the REPL.