Closed Julian closed 3 years ago
I thought this used to run. Maybe lean changed. I think the intention was to use the example here, but I doubt it matters too much as long as it works.
Yes, it's meant to work and it did work. Let's merge that as soon as we get back to a globally working state (I don't remember exactly how this file was meant to be used so I don't fancy merging blindly).
Looks like that lean web example also uses nat.add_comm
, guess it maybe was originally in the global namespace and was moved to nat
?
Looks like that lean web example also uses
nat.add_comm
, guess it maybe was originally in the global namespace and was moved tonat
?
That's correct. It happened when lots of algebra was moved from Lean 3.13.0c to mathlib.
I'm just going to merge this. The file is for the trio server example. The example still "work", but gives weird examples with this file broken.
I'm assuming the intention was for this file to run, not error, but if indeed this was intentional to demonstrate what happens when there's a problem, obviously let me know.
(For now this is part of fixing #16 )