1
1
mirror of https://github.com/sdiehl/wiwinwlh.git synced 2024-10-03 23:18:01 +03:00

Misc fixes

This commit is contained in:
sdiehl 2020-02-20 21:50:11 +00:00
parent 97f5c0665a
commit a980ed0d88
4 changed files with 12 additions and 5 deletions

1
.gitignore vendored
View File

@ -16,4 +16,5 @@ tutorial.tex
.stack-work
dist-newstyle
resources/*.eps
errata.*
.brokdb

View File

@ -72,6 +72,10 @@ webpdf: $(INPUT) includes $(COVER) $(BACK)
./includes < $< \
| $(PANDOC) -c -s -f $(IFORMAT) --template $(LTEMPLATE) --include-in-header $(UNICODE_MAP) --pdf-engine=xelatex $(FLAGS) $(LFLAGS) $(PFLAGS) -o $(WPDF)
errata:
$(PANDOC) -i errata.md -o errata.tex
$(PANDOC) -i errata.md -o errata.html
links:
brok tutorial.md

2
errata.md Normal file
View File

@ -0,0 +1,2 @@
Errata
======

View File

@ -1352,14 +1352,14 @@ interface which is linked against other Haskell modules. A module may reexport
symbols from other modules.
```haskell
# A module starts with its export declarations of symbols declared in this file.
-- A module starts with its export declarations of symbols declared in this file.
module MyModule (myExport1, myExport2) where
# Followed by a set of imports of symbols from other files
-- Followed by a set of imports of symbols from other files
import OtherModule (myImport1, myImport2)
# Rest of the logic and definitions in the module follow
# ...
-- Rest of the logic and definitions in the module follow
-- ...
```
Modules dependency graphs optionally may by cyclic (i.e. they import symbols
@ -2021,7 +2021,7 @@ An operator is a function that can be applied using infix syntax or partially
applied using a section. Operators can be defined to use any combination the
special ASCII symbols or any unicode symbol.
`!` `#` `%` `&` `*` `+` `.` `/` `<` `=` >` `?` `@` `\` `^` `|` `-` `~` `:`
`!` `#` `%` `&` `*` `+` `.` `/` `<` `=` `>` `?` `@` `\` `^` `|` `-` `~` `:`
The following are reserved syntax and cannot be overloaded: