Skip to content

Commit 4f96b76

Browse files
committed
Minor fixes for docs
1 parent 39662d2 commit 4f96b76

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

src/Reflex/FastWeak.hs

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,7 @@ unsafeToRawJSVal :: a -> JSVal
7474
unsafeToRawJSVal 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.
7979
data 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'.
9192
type FastWeak a = Weak a

0 commit comments

Comments
 (0)