You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
currently, HastodonId represents status ids, account ids, and media ids. it would be more informative to have separate types for each of these. additional type-safety could be guaranteed by having these be newtypes.
the downside of this would be a little more noise in the API functions that use replace, but we could avoid this by using a custom function IsString a => a -> a -> a -> a and deriving IsString for our newtypes.
The text was updated successfully, but these errors were encountered:
currently,
HastodonId
represents status ids, account ids, and media ids. it would be more informative to have separate types for each of these. additional type-safety could be guaranteed by having these benewtype
s.the downside of this would be a little more noise in the API functions that use
replace
, but we could avoid this by using a custom functionIsString a => a -> a -> a -> a
and derivingIsString
for our newtypes.The text was updated successfully, but these errors were encountered: