News for hackers. Stuff that matters.
Re:Show HN: MathLingua – The Language of Mathematics by mkl on Monday July 27, 2020 @01:48AM (#23962526)
I spotted a typo on the linked page: "vistual"

The dot indentation syntax seems very strange. Why not just indent? Is the intention to reduce nested indentation a little?

Re:Show HN: MathLingua – The Language of Mathematics by CatsAreCool on Tuesday July 28, 2020 @12:37AM (#23972311)
Thanks for letting me know about the typo.

The dot space is used to mark arguments since some arguments span multiple lines but are connected. For example, in

  Theorem:
  . for: x
    where: y
    then: z
  . 'some statement'
the 'for:where:then' group together is one argument, while the 'some statement' item is the second argument. The dot is needed to distinguish from

  Theorem:
    for: x
    where: y
    then: z
    'some statement'
where it is hard to tell where one argument stops and another starts.
Re:Show HN: MathLingua – The Language of Mathematics by mkl on Tuesday July 28, 2020 @04:09PM (#23980114)
What about the following, though?

  Theorem:
    for: x
      where: y
      then: z
    'some statement'