I was trying to find the toStrict
function of type Data.Text.Lazy.Text -> Data.Text.Text
, but I didn't know a) what it was called, and b) exactly what the Lazy module name was.
Searching Hayoo for Text -> Text
brings up lots of results. Is there a way to search on a signature like *Lazy*Text -> Text
?
Searching for Data.Text.Lazy.Text -> Text
doesn't produce any results.
How should I go about finding a function of type (lazy) Text -> (strict) Text
using hayoo, hoogle or ...?
I don't think Hayoo nor Hoogle support that syntax. The best bet would be to search for the relevant module(s) instead, and go through the list of functions it provides.