Skip to content

Commit

Permalink
Merge branch 'master' of https://github.com/greggirwin/red-hof
Browse files Browse the repository at this point in the history
  • Loading branch information
greggirwin committed Oct 27, 2021
2 parents e58489b + 6b152ff commit 227d263
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions mapfold/mapfold.red
Original file line number Diff line number Diff line change
Expand Up @@ -278,8 +278,7 @@ map*: routine [
"Evaluate the function over each item in the series"
;-- Haskell-like argument order
mapfunc [any-type!] "Any unary function (or a word referring to one)"
; series [series!] ;@@ CRASHES - see #4927
series [series!] "Each item is used a an argument to the function"
series [series!] "Each item is used a an argument to the function" ;-- requires #4927 fixed
return: [block!]
/local check-arity [subroutine!] empty-path [red-path!] arity [integer!] p [int-ptr!]
fun [red-function!] name [red-word!] code [integer!]
Expand Down Expand Up @@ -426,6 +425,7 @@ fold: func [
;-- * do WE need it?
;-- * how do we name it?
;-- * in any case, it does not deserve to be a native IMO
;@@ it's name conflicts with lexer's `scan` func, so we need another name candidate
scan: func [
"Evaluate the operator over each item in the series"
;-- Haskell-like argument order
Expand Down Expand Up @@ -583,4 +583,3 @@ comment [
]



0 comments on commit 227d263

Please sign in to comment.