cndreisbach / funl

FunL is a function-level programming language implemented in Javascript.
The Unlicense
6 stars 0 forks source link

Composition does not work as expected with values #4

Closed cndreisbach closed 11 years ago

cndreisbach commented 11 years ago
funl> [1, 2, 3]:1
2
funl> 1 | [1, 2, 3]
[Function]

These should be equivalent. | works correctly when dealing only with functions.

cndreisbach commented 11 years ago

Actually, after thinking about this for a while, I disagree with myself. Composition is not the same as application and should not work the same.