xref: /Universal-ctags/Units/parser-elm.r/elm-parameter-capture.d/input.elm (revision 94e964efcdb54004e666334f92f6bee597c7ab96)
1-- Simple paramaeters
2
3funcA a1 a2 =
4    a1 + a2
5
6-- With extra whitespace and type annotation
7
8funcB : Int -> Int -> Int
9funcB b1
10    b2
11    =
12    b1 + b2
13
14-- Complex parameters
15
16funcC (c1, c2) {c3} (C4Cons c4 c5) =
17    c1 + c2
18
19-- No parameters
20
21funcD = 4
22
23-- No whitespace
24
25funcE=5
26
27-- Functions inside let/in block
28
29funcF1 =
30    let
31        funcF2 f1 f2 = 6
32    in
33    6
34