User loginNavigation |
In which sense Joy is functional?I am confused. I understand that the language Joy is regarded as a functional language. It also seems that is closer to Backus' FP than, say, Haskell. The Joy FAQ (http://www.latrobe.edu.au/philosophy/phimvt/joy/faq.html) states that it is functional because expressions are functions operating on a stack, and juxtaposition is function composition. That definition feels (to me) like cheating. Could not one also define a language with assignments and call it "functional", intepreting expressions as pure functions operating on an environment? I mean, every imperative language can be implemented with the State monad, and that doesn't make it functional (I think). Perhaps my question makes no sense, and is just wordplay. I'd really like to know what you think. By Pablo Barenbaum at 2008-10-15 19:16 | LtU Forum | previous forum topic | next forum topic | other blogs | 13786 reads
|
Browse archives
Active forum topics |
Recent comments
22 weeks 6 days ago
22 weeks 6 days ago
22 weeks 6 days ago
45 weeks 20 hours ago
49 weeks 2 days ago
50 weeks 6 days ago
50 weeks 6 days ago
1 year 1 week ago
1 year 6 weeks ago
1 year 6 weeks ago