к
Size: a a a
ЗП
ЗП
ЗП
[
OS
g4 = f @(ST _) @(STUArray _) Int @Bool• Ambiguous type variable ‘_0’ arising from a use of ‘f’
prevents the constraint ‘(MArray
(STUArray _0) Bool (ST s))’ from being solved.
Relevant bindings include
h :: ST s Bool (bound at src/Y15/D06.hs:263:1)
Probable fix: use a type annotation to specify what ‘_0’ should be.
These potential instance exist:
instance MArray (STUArray s) Bool (ST s)
-- Defined in ‘Data.Array.Base’
• In the expression: f @(ST _) @(STUArray _) @Int @Bool
In an equation for ‘h’: h = f @(ST _) @(STUArray _) @Int @Bool
|
263 | h = f @(ST _) @(STUArray _) @Int @Bool
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^a
• Ambiguous type variable ‘_0’ arising from a use of ‘f’
prevents the constraint ‘(MArray
(STUArray _0) Bool (ST s))’ from being solved.
Relevant bindings include
h :: ST s Bool (bound at src/Y15/D06.hs:263:1)
Probable fix: use a type annotation to specify what ‘_0’ should be.
These potential instance exist:
instance MArray (STUArray s) Bool (ST s)
-- Defined in ‘Data.Array.Base’
• In the expression: f @(ST _) @(STUArray _) @Int @Bool
In an equation for ‘h’: h = f @(ST _) @(STUArray _) @Int @Bool
|
263 | h = f @(ST _) @(STUArray _) @Int @Bool
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^OS
OS
JS
[
[
AA
t
[
AA