summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorPéter Diviánszky <divipp@gmail.com>2016-04-13 07:53:06 +0200
committerPéter Diviánszky <divipp@gmail.com>2016-04-13 07:53:06 +0200
commitf615f0a11ce5915fbec3ef9545bb2a087258f8aa (patch)
tree07dc52b9e19e22640b7b4d82bf4203e32718cac4 /doc
parent1b6d0c364d2f1e204c4dbeb61ee5e6ab3d316275 (diff)
add note about missing docs
Diffstat (limited to 'doc')
-rw-r--r--doc/guide.pandoc24
1 files changed, 24 insertions, 0 deletions
diff --git a/doc/guide.pandoc b/doc/guide.pandoc
index 48a9f3dc..d70a8175 100644
--- a/doc/guide.pandoc
+++ b/doc/guide.pandoc
@@ -1,5 +1,13 @@
1% LambdaCube 3D compiler developer's documentation and ideas 1% LambdaCube 3D compiler developer's documentation and ideas
2 2
3Introduction
4============
5
6The documentation is written on demand.
7If you are interested in an undocumented feature, please open an issue with a short message like
8"Documentation on ... is missing."
9
10
3Compiler structure overview 11Compiler structure overview
4================== 12==================
5 13
@@ -782,6 +790,22 @@ In fact, the rich context is very close to the zipper of expressions.
782The type inference algorithm becomes tails recursive if its arguments are the rich context and the subexpression. 790The type inference algorithm becomes tails recursive if its arguments are the rich context and the subexpression.
783 791
784 792
793Bidirectional type checking
794---------------------------
795
796
797
798~~~~~ {.haskell}
799infer :: Context -> SourceExp -> Maybe TypedExp
800~~~~~
801
802~~~~~ {.haskell}
803check :: Context -> SourceExp -> Type -> Maybe TypedExp
804~~~~~
805
806
807
808
785Insertion of metavariables 809Insertion of metavariables
786-------------------------- 810--------------------------
787 811