blob: 20137fbdad02d582e099b5510a63ab93654bf9c6 (
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 :: TYPE 'UnliftedRep
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)’
|