blob: f53f5ea7e2680a0a08f75441dbc48287b361cdef (
plain)
1
2
3
4
5
6
7
8
9
10
11
|
T12373.hs:10:19: error:
• Couldn't match a lifted type with an unlifted type
When matching types
a0 :: *
MVar# RealWorld a1 :: UnliftedType
Expected: (# State# RealWorld, a0 #)
Actual: (# State# RealWorld, MVar# RealWorld a1 #)
• In the expression: newMVar# rw
In the first argument of ‘IO’, namely ‘(\ rw -> newMVar# rw)’
In the first argument of ‘(>>)’, namely ‘IO (\ rw -> newMVar# rw)’
|