File: Let6.out

package info (click to toggle)
frown 0.6.1-13
  • links: PTS, VCS
  • area: main
  • in suites: wheezy
  • size: 9,956 kB
  • sloc: haskell: 35,132; makefile: 228; csh: 35; yacc: 23
file content (63 lines) | stat: -rw-r--r-- 1,475 bytes parent folder | download | duplicates (6)
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
__   __ __  __  ____   ___      _________________________________________
||   || ||  || ||  || ||__      Hugs 98: Based on the Haskell 98 standard
||___|| ||__|| ||__||  __||     Copyright (c) 1994-2005
||---||         ___||           World Wide Web: http://haskell.org/hugs
||   ||                         Report bugs to: hugs-bugs@haskell.org
||   || Version: March 2005     _________________________________________

Hugs mode: Restart with command line option +98 for Haskell 98 mode

Type :? for help
Let6> 
Program error: user error (
*** lexical error at (line 2, column 13):
    a = 4 * [7 + 1 - 1)
            ^
 in a * a
<end of input>
)

Let6> 
Program error: user error (
*** syntax error at (line 3, column 3):
 in a * a
  ^
<end of input>
* expected: + or -, * or /, ))

Let6> 
Program error: user error (
*** syntax error at (line 3, column 2):
 a * a
 ^
<end of input>
* expected: + or -, * or /, in)

Let6> 
Program error: user error (
*** syntax error at (line 2, column 7):
    a = 4 * (7 + 1 - 1)
      ^
 in a * a
<end of input>
* expected: + or -, * or /, <end of input>)

Let6> 
Program error: user error (
*** syntax error at (line 2, column 18):
    a = 4 * (7 + - 1)
                 ^
 in a * a
<end of input>
* expected: <numeral>, <identifier>, let, ()

Let6> 
Program error: user error (
*** syntax error at (line 2, column 12):
    a = 4  (7 + 1 - 1)
           ^
 in a * a
<end of input>
* expected: + or -, * or /, in)

Let6> [Leaving Hugs]