Skip to content

Commit 315acb1

Browse files
committed
Spelling fixes
1 parent 02bace9 commit 315acb1

File tree

4 files changed

+9
-9
lines changed

4 files changed

+9
-9
lines changed

experiments/idris/src/Fathom/Closed/InductiveRecursive.idr

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,15 +2,15 @@
22
||| the descriptions and their in-memory representation. This closely matches
33
||| the current implementation of format descriptions in Fathom.
44
|||
5-
||| [Induction recusion](https://en.wikipedia.org/wiki/Induction-recursion) is
5+
||| [Induction recursion](https://en.wikipedia.org/wiki/Induction-recursion) is
66
||| where an inductive datatype is defined simultaneously with a function that
77
||| operates on that type (see the @Format and @Rep definitions below).
88
|||
99
||| The universe is ‘closed’ in the sense tha new format descriptions cannot be
1010
||| added to the type theory, although they can be composed out of other formats)
1111
|||
1212
||| This is similar to the approach used when defining type theories with
13-
||| Tarski-style universes. In-fact inductive-recusrive datatypes as a language
13+
||| Tarski-style universes. In-fact inductive-recursive datatypes as a language
1414
||| feature were apparently originally motivated by this use case (see: [“A
1515
||| General Formulation of Simultaneous Inductive-Recursive Definitions in Type
1616
||| Theory”](https://citeseerx.ist.psu.edu/viewdoc/summary?doi=10.1.1.6.4575) by

experiments/idris/src/Fathom/Closed/InductiveRecursiveCustom.idr

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
||| Experimenting with an approach to extending inductive-recusive format
1+
||| Experimenting with an approach to extending inductive-recursive format
22
||| descriptions with custom formats.
33

44
module Fathom.Closed.InductiveRecursiveCustom
@@ -18,7 +18,7 @@ import Fathom.Base
1818
||| A custom format description.
1919
|||
2020
||| We’d prefer to just import `Fathom.Open.Record`, but Idris’ imports are a
21-
||| bit tempramental and result in ambiguities when importing modules that
21+
||| bit temperamental and result in ambiguities when importing modules that
2222
||| contain types of the same name as those defined in the current module.
2323
public export
2424
record CustomFormat where

experiments/idris/src/Fathom/Open/Record.idr

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
11
||| Open format universe
22
|||
33
||| This module defines an open universe of binary format descriptions using
4-
||| records to define an inderface. By defining formats in this way, the
4+
||| records to define an interface. By defining formats in this way, the
55
||| universe of formats is open to extension.
66
|||
7-
||| I’m not sure, but this reminds me a little of the ‘coinductive universes’
8-
||| that [some type theorists were proposing for HoTT](https://www.cmu.edu/dietrich/philosophy/hott/slides/shulman-2022-05-12.pdf#page=79),
7+
||| I’m not sure, but this reminds me a little of the ‘coinductively defined
8+
||| universes’ that [some type theorists were proposing](https://www.cmu.edu/dietrich/philosophy/hott/slides/shulman-2022-05-12.pdf#page=79),
99
||| but I may be mistaken.
1010

1111
module Fathom.Open.Record

experiments/idris/src/Playground.idr

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ import Fathom.Open.Record as Record
1313
-- Experiment with converting between the different styles of format universes
1414

1515

16-
||| Convert an inductive-recusive format universe into a record format
16+
||| Convert an inductive-recursive format universe into a record format
1717
public export
1818
format : IndRec.Format -> Record.Format
1919
format f = Record.MkFormat
@@ -23,7 +23,7 @@ format f = Record.MkFormat
2323
}
2424

2525

26-
||| Conver an indexed-inductive format universe into a record format
26+
||| Convert an indexed-inductive format universe into a record format
2727
public export
2828
formatOf : {Rep : Type} -> Indexed.FormatOf Rep -> Record.Format
2929
formatOf f = Record.MkFormat

0 commit comments

Comments
 (0)