We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c1f12c8 commit 1616b74Copy full SHA for 1616b74
recipes/SignalTrisJs/src/Main.purs
@@ -397,6 +397,8 @@ setFillStyleC :: Context2D -> Color -> Effect Unit
397
setFillStyleC ctx = setFillStyle ctx <<< toHexString
398
399
-----------------
400
+-- A faster version of this function is proposed in
401
+-- https://github.com/purescript/purescript-ordered-collections/issues/50
402
annotateSet :: forall a b. Ord a => (a -> b) -> Set a -> Map a b
403
annotateSet f = mapWithIndex (\k _ -> f k) <<< toMap
404
0 commit comments