> Function application uses conventional mathematical notation, e.g. f(a,b) instead of (f a b) as in Haskell. Thank you for that.
PyFL – new functional programming language from Bill Wadge
21–30 of 51 posts
Re: PyFL – new functional programming language from Bill Wadge
#22> Function application uses conventional mathematical notation, e.g. f(a,b) instead of (f a b) as in Haskell. Thank you for that.
I wonder if it were possible to create a language with the power of Haskell, but with a better, more mathematical-like syntax?
Re: PyFL – new functional programming language from Bill Wadge
#23Earlier quoted context omitted.
I wonder if it were possible to create a language with the power of Haskell, but with a better, more mathematical-like syntax?
You may want to look into Wolfram Mathematica. It has the syntax f[x,y] and a super extensive standard library, being otherwise very LISPy.
Re: PyFL – new functional programming language from Bill Wadge
#24Earlier quoted context omitted.
What is it?
Similar to 'let' (or 'letrec' in lisps), but written after the block it applies to. For example: average xs = total / count where total = sum xs count = length xs
Re: PyFL – new functional programming language from Bill Wadge
#25Re: PyFL – new functional programming language from Bill Wadge
#26Re: PyFL – new functional programming language from Bill Wadge
#27Interesting. I'm not aware of any other lazy dynamic languages. I would assume it is difficult to optimise such a combination.
Here's a historical one. 1976. https://en.wikipedia.org/wiki/SASL_(programming_language)
ISWIM also inspired Lucid, so I guess PyFL would be a nephew of SASL in that case.
Re: PyFL – new functional programming language from Bill Wadge
#28> Function application uses conventional mathematical notation, e.g. f(a,b) instead of (f a b) as in Haskell. Thank you for that.
Haskell is more versatile: f(a, b) is a function applied to a single tuple, f a b is a function applied to two arguments. I do not understand the "instead of" in the cited part and it makes me somewhat skeptical (so does the "Py" in the name).
Re: PyFL – new functional programming language from Bill Wadge
#29> Function application uses conventional mathematical notation, e.g. f(a,b) instead of (f a b) as in Haskell. Thank you for that.
Haskell is more versatile: f(a, b) is a function applied to a single tuple, f a b is a function applied to two arguments. I do not understand the "instead of" in the cited part and it makes me somewhat skeptical (so does the "Py" in the name).
Re: PyFL – new functional programming language from Bill Wadge
#30Is PyFL pronounced 'piffle'?