K
Kristof Bastiaensen
What is S and P language ?
What about Scheme and Python?
What is S and P language ?
ts said:F> What's the difference between P and R language in this case then if it
F> is not that a feature should try to solve concrete problems?
You think, apparently, that it exist a concrete problem and you think that
you can, or need to, to solve it.
So Ruby is a P language because it has callcc?
Solving and Proving, as I could understand.What is S and P language ?
Solving and Providing, sorry.Simon Strandgaard a écrit :
Solving and Proving, as I could understand.
From a conceptual point of view is callcc very important.
It is not just added because it may seem like a good feature,
but because it makes Ruby a real functional language (like scheme).
Lionel Thiry said:Simon Strandgaard a écrit :
Solving and Proving, as I could understand.
And R is Ruby I suppose.
Ocaml is a functionnal langage of the ML family. It means it abuses ofil Sat, 01 May 2004 12:29:59 +0200, Kristof Bastiaensen
<[email protected]> ha scritto::
I think this sentence may be incorrect.
I mean, haskell, ocaml and lisp all does not have call/cc yet they're
functional languages.
(actually I'm not sure if lisp, ocaml and scheme can be defined as
functional languages, cause they're not pure ones, if I'm correct)
I don't understand it either!There are lots of combinations..
P = Proving/Python/Perl/Prolog/Pascal
R = Ruby/Rebol/Rlang
S = Solving/Scheme/Smalltalk/Slang/SML
Im affraid I still don't understand this thread.
Lionel Thiry said:Ocaml is a functionnal langage of the ML family. It means it abuses of
pattern matching and allows for side effects. As far as I know, lisp and
scheme are pure functionnal langage as they don't allow side effects.
But perhaps I'm wrong. And I'm often wrong.
About Ruby, I must tell I find it hard to see where Ruby is functionnal
langage. Coding recursivity in ruby is most of the time so uneasy. I
just wonder, if someone can explain, he'll be welcome.
Or about some exotic way to classify langages? If someone could light up...
I forget to tell about it.il Sat, 01 May 2004 12:52:55 +0200, Lionel Thiry
<[email protected]> ha scritto::
obviously you missed the R language
http://www.jbum.com/idt/r.html
Lionel Thiry said:Perhaps it is about the P programming langage?
http://blrc.edu.cn/research/P/header.htm
il Sat, 01 May 2004 12:29:59 +0200, Kristof Bastiaensen
I think this sentence may be incorrect.
I mean, haskell, ocaml and lisp all does not have call/cc yet they're
functional languages.
(actually I'm not sure if lisp, ocaml and scheme can be defined as
functional languages, cause they're not pure ones, if I'm correct)
Well, in the original message from matz, there are 2 possibilities
* do ||
* let
[ruby-talk:63199]
Now, what do you expect with this (for `a' and `b') ?
1.times do |i|
let a = i
let b = a + 1
end
Guy Decoux
About Ruby, I must tell I find it hard to see where Ruby is functionnal
langage. Coding recursivity in ruby is most of the time so uneasy. I
just wonder, if someone can explain, he'll be welcome.
Want to reply to this thread or ask your own question?
You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.