blob: ae13d5a2e8f6a3b57f387b02c48cdfb70696dd67 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
|
ok
wrong
X
syntactic
semantic - reduced properly
usage in values, functions, expressions, types
type inference test
reduction tests
graphics features tests
performance tests
- reduction
- graphics
language features:
done - comment
done - language pragma
syntax:
definition:
done - global value defs
done - definition order
expression:
done - literals
done - tuples
done - let in
done - if then else
done - lambda expression
done - case of
done - basic list - :[] [,,]
done - list comprehension
done - operators
done - `infix` notation
guards - in expressions
done - def
done - let in
done - where
done - case of
where - in value, in expressions
done - global def
done - let in
done - case of
simple recursion
done - def
done - let in
done - where
case of
type signature
done - global
done - local
done - type parameters
done - multi value type signature (e.g. fun1, fun2 :: Int -> Int)
done - operator type sig (e.g. (+) :: Int -> Int)
forall
hidden parameters
wildcard
context
@ type parameters
module name where
done - with and without export list
done - including exporing itself and other imported modules
done - submodule def (e.g. module Foo.Bar)
export data with/without constructors () or (..)
import
done - hiding list
done - import list
done - submodule import (e.g. import Foo.Bar)
qualified import
qualified import as
import as
import data with/without constructors () or (..)
valid indentation
done - global defs
multiline def
multi equation function def
let in
where
case
data def
if then else
list comprehension
patterns
def
case of
literals
variables
nested
data constructors
wildcard
@ patterns
nested expressions:
let in
where
def
case of
fixity - operators and `infix`
records
reserved keywords
type synonyms
swizzling
data GADT and ADT
mutual recursion - vary def order, vary on def placing (insert other code between mutual rec functions"
parenthesis - nested
builtins
|