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

X

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

language features:
  done - comment
  done - language pragma
  syntax:
    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
    case of
    where - in value, in expressions

    data GADT and ADT
    type signature - global, local
    parenthesis - nested
    operators
    fixity
    `infix` notation 
    patterns
    widcards - in pattern, in type
    @ patterns
    guards
    list comprehension
    builtins
    records
    swizzling
    hidden parameters
    type synonyms
    @ type parameters

  module name where -- with and without export list, including exporing itself and other imported modules
  import - hiding list, import list, qualified import, qualified import as, import as