git.iko.soy/rowtype-yoga/purescript-native
on golang help sign in
Merge pull request #949 from hdgarrood/hash-docs
edcefcbPhil Freeman
prelude/README.md+2−2
@@ -132,7 +132,7 @@ length (groupBy productCategory (filter isInStock (products)))
132```
132```
133
133
134`($)` is different from [`(#)`](#-2) because it is right-infix instead of left, so
134`($)` is different from [`(#)`](#-2) because it is right-infix instead of left, so
135−`a $ b $ c $ d x` = `a (b (c (d x)))`
135+`a $ b $ c $ d x` = `a $ (b $ (c $ (d $ x)))` = `a (b (c (d x)))`
136
136
137
137
138#### `(#)`
138#### `(#)`
@@ -154,7 +154,7 @@ length (groupBy productCategory (filter isInStock (products)))
154```
154```
155
155
156`(#)` is different from [`($)`](#-1) because it is left-infix instead of right, so
156`(#)` is different from [`($)`](#-1) because it is left-infix instead of right, so
157−`x # a # b # c # d` = `(((x a) b) c) d`
157+`x # a # b # c # d` = `(((x # a) # b) # c) # d` = `d (c (b (a x)))`
158
158
159
159
160#### `(:)`
160#### `(:)`
prelude/prelude.purs+2−2
@@ -121,7 +121,7 @@ module Prelude
121 -- | ```
121 -- | ```
122 -- |
122 -- |
123 -- | `($)` is different from [`(#)`](#-2) because it is right-infix instead of left, so
123 -- | `($)` is different from [`(#)`](#-2) because it is right-infix instead of left, so
124− -- | `a $ b $ c $ d x` = `a (b (c (d x)))`
124+ -- | `a $ b $ c $ d x` = `a $ (b $ (c $ (d $ x)))` = `a (b (c (d x)))`
125 -- |
125 -- |
126 ($) :: forall a b. (a -> b) -> a -> b
126 ($) :: forall a b. (a -> b) -> a -> b
127 ($) f x = f x
127 ($) f x = f x
@@ -139,7 +139,7 @@ module Prelude
139 -- | ```
139 -- | ```
140 -- |
140 -- |
141 -- | `(#)` is different from [`($)`](#-1) because it is left-infix instead of right, so
141 -- | `(#)` is different from [`($)`](#-1) because it is left-infix instead of right, so
142− -- | `x # a # b # c # d` = `(((x # a) # b) # c) # d`
142+ -- | `x # a # b # c # d` = `(((x # a) # b) # c) # d` = `d (c (b (a x)))`
143 -- |
143 -- |
144 (#) :: forall a b. a -> (a -> b) -> b
144 (#) :: forall a b. a -> (a -> b) -> b
145 (#) x f = f x
145 (#) x f = f x