[Agda] printing infinite structures

Thorsten Altenkirch Thorsten.Altenkirch at nottingham.ac.uk
Wed Feb 27 11:25:48 CET 2019


Can I use IO from interactive agda? How? What do you mean it is defined coinductively? Where is this described?

On 26/02/2019, 16:35, "Guillaume Allais" <guillaume.allais at ens-lyon.org> wrote:

    IO is coinductive so you could write `Stream String -> IO ()` in Agda itself.
    
    On 26/02/2019 17:08, Thorsten Altenkirch wrote:
    > I told them that I have no idea how to run the compiler. Which is true.
    > T.
    > 
    > From: "Setzer A.G." <a.g.setzer at swansea.ac.uk>
    > Date: Tuesday, 26 February 2019 at 15:59
    > To: Thorsten Altenkirch <psztxa at exmail.nottingham.ac.uk>, agda list <agda at lists.chalmers.se>
    > Subject: Re: printing infinite structures
    > 
    > The only disadvantage is that you need to compile your code, but I when interacting with students the first thing they want to know is how to compile the code.
    > 
    > 
    > 
    > 
    > 
    > 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.
    > 
    > 
    > 
    > 
    > 
    > _______________________________________________
    > Agda mailing list
    > Agda at lists.chalmers.se
    > https://lists.chalmers.se/mailman/listinfo/agda
    > 
    
    




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