[Agda] how do I quote agda code on the agda wiki?
Thorsten Altenkirch
Thorsten.Altenkirch at nottingham.ac.uk
Thu May 21 19:47:12 CEST 2020
I was just adding an item to
https://wiki.portal.chalmers.se/agda/Main/AIMXXXII
and tried to add some agda code (I know an unusual thing to do a=on the agda wiki)
but
@
record Vec (A : Set) : ℕ → Set where
coinductive
destructor
hd : {n : ℕ} → Vec A (suc n) → A
tl : {n : ℕ} → Vec A (suc n) → Vec A n
@]
Gets automagically turned into
[@
record Vec (A : Set) : ℕ → Set where
coinductive
destructor
hd : {n : ℕ} → Vec A (suc n) → A
tl : {n : ℕ} → Vec A (suc n) → Vec A n
@]
Which reduces its readability. Also “code” isn’t mentioned in the “Basic editing” overview.
Thorsten
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.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.chalmers.se/pipermail/agda/attachments/20200521/3d927a78/attachment.html>
More information about the Agda
mailing list