Additional warning in the comments
commit28ebac4b8d5db890dc75bc181981f6f173fd8458
authorTim Watson <watson.timothy@gmail.com>
dateSat 18 Jan 2014, 22:18 (13 years ago)
parent320d667
src/Control/Distributed/Process/Internal/Types.hs+1−1
@@ -385,7 +385,7 @@ createUnencodedMessage a =
385385 let encoded = encode a in BSL.length encoded `seq` UnencodedMessage (fingerprint a) a
386386
387387-- | Turn any serializable term into an unencodede/local message, without
388−-- evalutaing it!
388+-- evalutaing it! This is a dangerous business.
389389unsafeCreateUnencodedMessage :: Serializable a => a -> Message
390390unsafeCreateUnencodedMessage a = UnencodedMessage (fingerprint a) a
391391