summaryrefslogtreecommitdiff
path: root/testdata/language-features/HINT
blob: ffcdd9badf72e78168f20bb1b587c3bba00700de (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
  ok
  wrong

X

  syntactic
    semantic - reduced properly
      usage in values, functions, expressions, types

language features:
  done - comment
  done - language pragma
  syntax:
    reserved keywords
    done - literals
    done - tuples
    done - global value defs
    valid indentation
      done - global defs
      multiline def
      multi equation function def
      let in
      where
      case
      data def
      if then else
      list comprehension

    done - let in
    done - if then else
    done - lambda expression
    done - case of
    type signature - global, local, forall, hidden parameters, type parameters, wildcard, context
    patterns
    guards - in expressions
      done - def
      let in
      where
      case of
    done - basic list - :[] [,,]
    list comprehension
    done - operators
    fixity
    `infix` notation 
    where - in value, in expressions

    done - definition order
    recursion
    mutual recursion - vary def order, vary on def placing (insert other code between mutual rec functions"

    data GADT and ADT
    parenthesis - nested
    widcards - in pattern, in type
    @ patterns
    builtins
    records
    swizzling
    hidden parameters
    type synonyms
    @ type parameters

  module name where
    done - with and without export list
    done - including exporing itself and other imported modules
    export data with/without constructors () or (..)

  import
    done - hiding list
    done - import list
    qualified import
    qualified import as
    import as
    import data with/without constructors () or (..)