File tree Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Original file line number Diff line number Diff line change @@ -74,7 +74,7 @@ unsafeToRawJSVal :: a -> JSVal
74
74
unsafeToRawJSVal v = unsafeCoerce (Val v)
75
75
#else
76
76
-- | 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@ ,
78
78
-- and 'getFastWeakTicketWeak' can be used to get the weak version.
79
79
data FastWeakTicket a = FastWeakTicket
80
80
{ _fastWeakTicket_val :: ! a
@@ -85,7 +85,8 @@ data FastWeakTicket a = FastWeakTicket
85
85
--
86
86
-- 'getFastWeakValue' can be used to try and obtain a strong reference to the value.
87
87
--
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.
89
90
--
90
91
-- Synonymous with 'Weak'.
91
92
type FastWeak a = Weak a
You can’t perform that action at this time.
0 commit comments