hsNames ::
forall (m :: * -> *). (PersistQuery m,
PersistMonadBackend m ~ SqlBackend) =>
[(String,
[String],
Text -> Text -> UTCTime -> UTCTime -> m [[Value]])]
Then I was using it in a handler:
let (_, fs, _) = head hsNames
I got:
Couldn't match expected type `persistent-1.2.1:Database.Persist.Sql.Types.SqlBackend'
with actual type `PersistMonadBackend m0'
The type variable `m0' is ambiguous
Possible fix: add a type signature that fixes these type variable(s)
In the second argument of `head', namely `hsNames'
--
竹密岂妨流水过
山高哪阻野云飞
And for G+, please use magiclouds#
gmail.com.