Skip to content
Better HN
Top
Best
Ask
Show
New
Jobs
Search
⌘K
0 points
groovy2shoes
12y ago
0 comments
Save
Share
Function parameters are variables even in pure FP. If your definition of
variable
requires assignment, then even mathematics doesn't have variables.
0 comments
2 comments · 1 top-level
top
newest
oldest
Aloisius
12y ago
· 1 in thread
Sure it does. The summation sigma has a variable right under it. Though they like to call it the index of summation, it is a variable with assignment.
nightski
12y ago
Pretty sure summation definition is recursive. So no assignment/mutation is necessary.
j
/
k
navigate · click thread line to collapse