blob: be91bcaa820b0486d1d594d64b5c9b9edc1fe993 (
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
|
T9872c.hs:18:8: error: [GHC-39999]
• No instance for ‘Show
(Proxy
(Cons
(Cons
(Cube G B W R B G)
(Cons
(Cube W G B W R R)
(Cons (Cube R W R B G R) (Cons (Cube B R G G W W) Nil))))
(Cons
(Cons
(Cube G B R W B G)
(Cons
(Cube R R W B G W)
(Cons (Cube R G B R W R) (Cons (Cube W W G G R B) Nil))))
(Cons
(Cons
(Cube G W R B B G)
(Cons
(Cube W B W R G R)
(Cons (Cube R R B G W R) (Cons (Cube B G G W R W) Nil))))
(Cons
(Cons
(Cube G R W B B G)
(Cons
(Cube R W B G R W)
(Cons
(Cube R B R W G R) (Cons (Cube W G G R W B) Nil))))
(Cons
(Cons
(Cube G R B B W G)
(Cons
(Cube W W R G B R)
(Cons
(Cube R B G W R R)
(Cons (Cube B G W R G W) Nil))))
(Cons
(Cons
(Cube G W B B R G)
(Cons
(Cube R B G R W W)
(Cons
(Cube R R W G B R)
(Cons (Cube W G R W G B) Nil))))
(Cons
(Cons
(Cube G B B W R G)
(Cons
(Cube W R G B W R)
(Cons
(Cube R G W R B R)
(Cons (Cube B W R G G W) Nil))))
(Cons
(Cons
(Cube G B B R W G)
(Cons
(Cube R G R W B W)
(Cons
(Cube R W G B R R)
(Cons (Cube W R W G G B) Nil))))
Nil)))))))))’
arising from a use of ‘print’
• In the expression: print (Proxy :: Proxy (Solutions Cubes))
In an equation for ‘main’:
main = print (Proxy :: Proxy (Solutions Cubes))
|