small updates

This commit is contained in:
Philip Wadler 2018-09-07 12:39:46 +01:00
parent 5c561d35c4
commit ef27c1d191
7 changed files with 21 additions and 8 deletions

View file

@ -14,7 +14,7 @@ out/:
mkdir -p out/ mkdir -p out/
out/%.md: src/%.lagda | out/ out/%.md: src/%.lagda | out/
agda2html --verbose --link-to-agda-stdlib --use-jekyll=out/ -i $< -o $@ 2>&1 \ agda2html --verbose --link-to-agda-stdlib --local-references --use-jekyll=out/ -i $< -o $@ 2>&1 \
| sed '/^Generating.*/d; /^Warning\: HTML.*/d; /^reached from the.*/d; /^\s*$$/d' | sed '/^Generating.*/d; /^Warning\: HTML.*/d; /^reached from the.*/d; /^\s*$$/d'
@sed -i '1 s|---|---\nsrc : $(<)|' $@ @sed -i '1 s|---|---\nsrc : $(<)|' $@

View file

@ -32,6 +32,15 @@ The visible page appears at
localhost:4000/<permalink> localhost:4000/<permalink>
## Updates to agda2html
Go to your clone of the agda2html repository, and run
$ git pull
$ stack install
## Unicode abbreviations ## Unicode abbreviations
@ -46,6 +55,7 @@ See
[agda-input.el](https://github.com/agda/agda/blob/master/src/data/emacs-mode/agda-input.el#L194) [agda-input.el](https://github.com/agda/agda/blob/master/src/data/emacs-mode/agda-input.el#L194)
for more details. for more details.
## How to use `agda-mode` ## How to use `agda-mode`
? create hole ? create hole
@ -56,6 +66,7 @@ for more details.
See [the emacs-mode docs](http://agda.readthedocs.io/en/latest/tools/emacs-mode.html) for more details. See [the emacs-mode docs](http://agda.readthedocs.io/en/latest/tools/emacs-mode.html) for more details.
## Markdown ## Markdown
For an overview of the Markdown syntax, see For an overview of the Markdown syntax, see
@ -85,6 +96,7 @@ You can check this worked:
nothing added to commit but untracked files present (use "git add" to track) nothing added to commit but untracked files present (use "git add" to track)
bruichladdich$ bruichladdich$
## Analytics ## Analytics
[Google Analytics](http://analytics.google.com/analytics/web/) [Google Analytics](http://analytics.google.com/analytics/web/)

View file

@ -29,6 +29,7 @@ For pull requests:
* Léo Gillot-Lamure * Léo Gillot-Lamure
* Zbigniew Stanasiuk * Zbigniew Stanasiuk
* Anish Tondwalkar * Anish Tondwalkar
* Spencer Whitt
For answering questions on the Agda mailing list: For answering questions on the Agda mailing list:
* Guillaume Allais <guillaume.allais@ens-lyon.org> * Guillaume Allais <guillaume.allais@ens-lyon.org>

View file

@ -1,7 +1,7 @@
--- ---
title : "Connectives: Conjunction, disjunction, and implication" title : "Connectives: Conjunction, disjunction, and implication"
layout : page layout : page
prev : /Isomorphisms/ prev : /Isomorphism/
permalink : /Connectives/ permalink : /Connectives/
next : /Negation/ next : /Negation/
--- ---

View file

@ -586,7 +586,6 @@ Write out what is known about associativity of addition on each of the first fou
days using a finite story of creation, as days using a finite story of creation, as
[earlier]({{ site.baseurl }}{% link out/plfa/Naturals.md %}#finite-creation). [earlier]({{ site.baseurl }}{% link out/plfa/Naturals.md %}#finite-creation).
## Associativity with rewrite ## Associativity with rewrite
There is more than one way to skin a cat. Here is a second proof of There is more than one way to skin a cat. Here is a second proof of

View file

@ -603,8 +603,9 @@ the 1920's. I was told a joke: "It should be called schönfinkeling,
but currying is tastier". Only later did I learn that the explanation but currying is tastier". Only later did I learn that the explanation
of the misattribution was itself a misattribution. The idea actually of the misattribution was itself a misattribution. The idea actually
appears in the _Begriffschrift_ of Gottlob Frege, published in 1879. appears in the _Begriffschrift_ of Gottlob Frege, published in 1879.
<!--
We should call it frigging! We should call it frigging!
-->
## The story of creation, revisited ## The story of creation, revisited

View file

@ -1441,11 +1441,11 @@ false, give a counterexample.
Suppose instead that we add a new term `foo` with the following Suppose instead that we add a new term `foo` with the following
reduction rules: reduction rules:
------------------ β-foo₁ ------------------ β-foo₁
(λ x ⇒ ` x) —→ foo (λ x ⇒ ` x) —→ foo
----------- β-foo₂ ----------- β-foo₂
foo —→ zero foo —→ zero
Which of the following properties remain true in Which of the following properties remain true in
the presence of this rule? For each one, write either the presence of this rule? For each one, write either