[Agda] printing to String
Andreas Abel
andreas.abel at ifi.lmu.de
Tue Jul 24 07:06:52 CEST 2012
There is a Show class in the Agda prelude
https://github.com/fkettelhoit/agda-prelude
which extends the standard library by a collection of type classes.
You find it in Classes.Show, but it is also exported by Prelude.
Cheers,
Andreas
On 23.07.12 7:48 PM, Serge D. Mechveliani wrote:
> Please,
> how to print a value to String ?
> What is an analogue for Show.show of Haskell ?
> For example,
> true -> "true"
> (true, 23) : (Bool, Integer) -> "(true, 23)"
>
> Is it in lib-0.6 ?
>
> Thanks,
>
> ------
> Sergei
> mechvel at botik.ru
> _______________________________________________
> Agda mailing list
> Agda at lists.chalmers.se
> https://lists.chalmers.se/mailman/listinfo/agda
>
--
Andreas Abel <>< Du bist der geliebte Mensch.
Theoretical Computer Science, University of Munich
Oettingenstr. 67, D-80538 Munich, GERMANY
andreas.abel at ifi.lmu.de
http://www2.tcs.ifi.lmu.de/~abel/
More information about the Agda
mailing list