for example:
r <- query_ conn "select * test" :: io [testfield]
what [testfield]
represent?
simply put, io [testfield]
list of testfield
s in io
monad.
however, more correct description it's io action result has type [testfield]
(since resulting value obtained after io performed).
you can learn more in following sources:
Comments
Post a Comment