on develop help sign in
Minor fixes for docs
commit4f96b76edc014faf7f81f03bae2f3bf98fa269ce authorDivam <dfordivam@gmail.com> dateWed 23 Jan 2019, 08:23 (8 years ago) parent39662d2
1 file changed+3−2
src/Reflex/FastWeak.hs+3−2
src/Reflex/FastWeak.hs+3−2
@@ -74,7 +74,7 @@ unsafeToRawJSVal :: a -> JSVal
7474unsafeToRawJSVal v = unsafeCoerce (Val v)
7575#else
7676-- | A 'FastWeak' which has been promoted to a strong reference. 'getFastWeakTicketValue'
77−-- can be used to get the referred to value without fear of @Nothing,
77+-- can be used to get the referred to value without fear of @Nothing@,
7878-- and 'getFastWeakTicketWeak' can be used to get the weak version.
7979data FastWeakTicket a = FastWeakTicket
8080 { _fastWeakTicket_val :: !a
@@ -85,7 +85,8 @@ data FastWeakTicket a = FastWeakTicket
8585--
8686-- 'getFastWeakValue' can be used to try and obtain a strong reference to the value.
8787--
88−-- The value in a @FastWeak@ can also be kept alive by obtaining a 'FastWeakTicket' using 'getFastWeakTicket' if the value hasn't been collected yet.
88+-- The value in a @FastWeak@ can also be kept alive by obtaining a 'FastWeakTicket' using 'getFastWeakTicket'
89+-- if the value hasn't been collected yet.
8990--
9091-- Synonymous with 'Weak'.
9192type FastWeak a = Weak a