回答編集履歴
1
fix constructor
test
CHANGED
@@ -92,7 +92,7 @@
|
|
92
92
|
|
93
93
|
```haskell
|
94
94
|
|
95
|
-
newtype State s x = { runState :: s -> (x, s) }
|
95
|
+
newtype State s x = State { runState :: s -> (x, s) }
|
96
96
|
|
97
97
|
|
98
98
|
|