git.iko.soy/rowtype-yoga/purescript-native
on golang help sign in
reformatted
54803c4JP Smith
prelude/README.md+14−4
@@ -125,8 +125,13 @@ instance categoryArr :: Category Prim.Function
125Applies a function to its argument
125Applies a function to its argument
126
126
127```purescript
127```purescript
128−length $ groupBy productCategory $ filter isInStock products =
128+length $ groupBy productCategory $ filter isInStock products
129−length (groupby productcategory (filter isinstock (products)))
129+```
130+
131+is equivalent to
132+
133+```purescript
134+length (groupBy productCategory (filter isInStock (products)))
130```
135```
131
136
132`($)` is different from [`(#)`](#-2) because it is right-infix instead of left, so
137`($)` is different from [`(#)`](#-2) because it is right-infix instead of left, so
@@ -142,8 +147,13 @@ length (groupby productcategory (filter isinstock (products)))
142Applies a function to its argument
147Applies a function to its argument
143
148
144```purescript
149```purescript
145−products # groupby productcategory # filter isinstock # length =
150+products # groupBy productCategory # filter isInStock # length
146−length (groupby productcategory (filter isinstock (products)))
151+```
152+
153+is equivalent to
154+
155+```purescript
156+length (groupBy productCategory (filter isInStock (products)))
147```
157```
148
158
149`(#)` is different from [`($)`](#-1) because it is left-infix instead of right, so
159`(#)` is different from [`($)`](#-1) because it is left-infix instead of right, so
prelude/prelude.purs+10−2
@@ -113,7 +113,11 @@ module Prelude
113 -- |
113 -- |
114 -- | ```purescript
114 -- | ```purescript
115 -- | length $ groupBy productCategory $ filter isInStock products
115 -- | length $ groupBy productCategory $ filter isInStock products
116+ -- | ```
117+ -- |
116− -- | is equivalent to
118+ -- | is equivalent to
119+ -- |
120+ -- | ```purescript
117 -- | length (groupBy productCategory (filter isInStock (products)))
121 -- | length (groupBy productCategory (filter isInStock (products)))
118 -- | ```
122 -- | ```
119 -- |
123 -- |
@@ -127,7 +131,11 @@ module Prelude
127 -- |
131 -- |
128 -- | ```purescript
132 -- | ```purescript
129 -- | products # groupBy productCategory # filter isInStock # length
133 -- | products # groupBy productCategory # filter isInStock # length
134+ -- | ```
135+ -- |
130− -- | is equivalent to
136+ -- | is equivalent to
137+ -- |
138+ -- | ```purescript
131 -- | length (groupBy productCategory (filter isInStock (products)))
139 -- | length (groupBy productCategory (filter isInStock (products)))
132 -- | ```
140 -- | ```
133 -- |
141 -- |