[Agda] how to evaluate in the current context

Thorsten Altenkirch Thorsten.Altenkirch at nottingham.ac.uk
Tue May 12 15:54:07 CEST 2020



On 12/05/2020, 13:55, "Nils Anders Danielsson" <nad at cse.gu.se> wrote:

    On 2020-05-12 13:51, Thorsten Altenkirch wrote:
    > Ok I can just introduce a shed
    > 
    > x = {!!}
    > 
    > and evaluate inside there but this is a bit clumsy. Isn’t there a
    > better way to do this?

    What context do you want to evaluate things in?

Within the current file, i.e. module. That is I want to evaluate the expression as if I put it at the end of the current file.

    > Btw, for the same purposes I’d love to have an agda top-level! And a
    > printer that evaluates conductive objects by mapping them to
    > costrings…

    Please open some tickets on the bug tracker.

I guess this is more a feature request.

Thorsten

    -- 
    /NAD




This message and any attachment are intended solely for the addressee
and may contain confidential information. If you have received this
message in error, please contact the sender and delete the email and
attachment. 

Any views or opinions expressed by the author of this email do not
necessarily reflect the views of the University of Nottingham. Email
communications with the University of Nottingham may be monitored 
where permitted by law.






More information about the Agda mailing list