Closed
Description
Obviously the inline code evaluation is amazing, but in previous versions I used to do this:
-- >>> example
-- >>> used it
-- >>> fresh it
-- \a. \x. (\y. a) x b
-- ["a","b","x","y"]
-- "c"
So I would use it
to refer to the previous output, the same as in a ghci session,
Now the following happens:
-- >>> example
-- >>> used it
-- >>> fresh it
-- \a. \x. (\y. a) x b
-- Variable not in scope: it :: Term
-- Variable not in scope: it :: [Var]
it can still be sorted in many ways, a very ugly one with variables:
-- >>> example
-- >>> it1 = example
-- >>> used it1
-- >>> it2 = used it1
-- >>> fresh it2
-- \a. \x. (\y. a) x b
-- ["a","b","x","y"]
-- "c"
But it is really a pity because removes the versatility of it
that just brings the previous output whatever it was.
Any chance to bring it back?
Thanks a lot