简体   繁体   English

mathematica是一种函数式编程语言吗?

[英]Is mathematica a functional programming language?

Is mathematica a functional programming language? mathematica是一种函数式编程语言吗? what i intend to ask his that i keep reading that mathematica is a conditional rewrite system. 我打算问他,我一直在读,mathematica是一个有条件的重写系统。 I want to know what is this conditional rewrite system? 我想知道这个条件重写系统是什么?

I also wanted to know whether we can apply the functional programming concepts like continuous passing style, memoization etc using mathematica language? 我还想知道我们是否可以使用mathematica语言应用函数式编程概念,如连续传递样式,memoization等?

Mathematica supports multiple programming paradigms (procedural, functional and even object oriented). Mathematica支持多种编程范例(程序,功能甚至面向对象)。 You can do CPS, memorization etc using the Mathematica language. 您可以使用Mathematica语言进行CPS,记忆等。 But Mathematica is more about getting things done. 但Mathematica更多的是关于完成任务。 If you want to learn more about the theory behind functional programming, I suggest using Scheme, Haskell, or ML as your vehicle. 如果您想了解更多关于函数式编程背后的理论,我建议使用Scheme,Haskell或ML作为您的工具。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM