I was reading some blog post related to Yesod (http://www.yesodweb.com/blog/2012/04/client-side) from 2012 when a wild instance declaration with constraint appeared I don't even know how to name.
instance (JSTypeString ~ jstype) => IsString (JSValue jstype) where
Can anybody tell me what exactly the tilde does in constraint place? I guessed it means something like jstype
must be of type JSTypeString
but I'm not sure. A name for this would be nice to know, too.
Thanks in advance!