Open michaelmesser opened 7 years ago
main = putStrLn . run . flip execState "Test" $ do modify id
Overlapping instances for Data.OpenUnion.Internal.FindElem (State s0) '[State [Char]]
If I type id as String -> String it works but I feel like that the type signature should not be required.
id
String -> String
Overlapping instances for Data.OpenUnion.Internal.FindElem (State s0) '[State [Char]]
If I type
id
asString -> String
it works but I feel like that the type signature should not be required.