mirror of
https://github.com/sdiehl/wiwinwlh.git
synced 2024-10-03 23:18:01 +03:00
Misc fixes
This commit is contained in:
parent
97f5c0665a
commit
a980ed0d88
1
.gitignore
vendored
1
.gitignore
vendored
@ -16,4 +16,5 @@ tutorial.tex
|
||||
.stack-work
|
||||
dist-newstyle
|
||||
resources/*.eps
|
||||
errata.*
|
||||
.brokdb
|
||||
|
4
Makefile
4
Makefile
@ -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
|
||||
|
||||
|
10
tutorial.md
10
tutorial.md
@ -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:
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user