on develop help sign in
Add (=:) is 'Map.singleton'
commitd4eed89964a0e977b55e5d43a0fe1b922de00b04 authorDivam <dfordivam@gmail.com> dateFri 21 Dec 2018, 10:42 (8 years ago) parente9406f2
1 file changed+1−1
Quickref.md+1−1
Quickref.md+1−1
@@ -28,7 +28,7 @@ Widgets may return any type (this is 'a' in many of the functions below). Often
2828-- This version returns the 'El' as well.
2929[W] el' :: Text -> m a -> m (El, a)
3030
31−-- These two additionally apply attributes to the element, such as ("class" =: "blah")
31+-- These two additionally apply attributes to the element, such as ("class" =: "blah"). (=:) is 'Map.singleton'
3232[W] elAttr :: Text -> Map Text Text -> m a -> m a
3333[W] elAttr' :: Text -> Map Text Text -> m a -> m (El, a)
3434