Search the web
Sign In
New User? Sign Up
concatenative · Discuss the concatenative variety of computer languages: Joy, Forth, Postscript
? Already a member? Sign in to Yahoo!

Yahoo! Groups Tips

Did you know...
Message search is now enhanced, find messages faster. Take it for a spin.

Best of Y! Groups

   Check them out and nominate your group.

Messages

  Messages Help
Advanced
Messages 2989 - 3018 of 4151   Oldest  |  < Older  |  Newer >  |  Newest
Messages: Simplify | Expand   (Group by Topic) Author Sort by Date ^
2989
This discussion on static typing and type inference brings up (in an indirect way) a question that I've been itching to ask for some time. Haskell is a...
Rodney D Price
rodneydelmar...
Offline Send Email
Oct 2, 2006
6:32 pm
2990
... I created my own algorithm for type inferencing. I haven't proved whether or not it is correct. ... That is very interesting, I'd like to get my hands on...
Christopher Diggins
cdiggins.geo
Offline Send Email
Oct 3, 2006
1:37 am
2991
... I'm pretty sure -- but I may be wrong -- that you do sometimes have to provide types in ML. IIRC, overloaded operators are the main culprit; if there are...
William Tanksley, Jr
wtanksle
Offline Send Email
Oct 3, 2006
4:00 am
2992
... Thanks for that, Rodney. In Joy: assuming that the top of the stack contains the list and above that the two quotations [g] [f], with [f] topmost, then the...
Manfred Von Thun
maggethun
Offline Send Email
Oct 3, 2006
7:57 am
2993
Sorry for the delayed response. I've been out of town and out of touch. ... An implementation can be found in a plugin for the LambdaBot tool. See ...
Rodney D Price
rodneydelmar...
Offline Send Email
Oct 9, 2006
5:36 pm
2994
Here's a paragraph in Benjamin Pierce's "Advanced Topics in Types and Programming Languages," p.391, that may clarify some of the issues brought up below: "......
Rodney D Price
rodneydelmar...
Offline Send Email
Oct 9, 2006
5:49 pm
2995
Manfred, Thanks for your response. This is certainly a lot more readable than the Haskell point-free version. My purpose in giving a Haskell version was to...
Rodney D Price
rodneydelmar...
Offline Send Email
Oct 9, 2006
6:01 pm
2996
... Here are a couple of very crude examples which I started experimenting with a while back to convince myself a statically typed concatenative/stack-based...
Greg Buchholz
sleepingsqui...
Offline Send Email
Oct 10, 2006
6:21 pm
2997
... Yes, a certain subset of concatenative languages can be mapped to first-order functional (ok, pure) programs: those for which you have words of known arity...
Paul-V Khuong
paul_virak_k...
Offline Send Email
Oct 10, 2006
10:58 pm
2998
... [..] Hi John, after many months in limbo while being forced off my beloved mainframe, my little Apple eMac now has a new version of the operating system...
Manfred Von Thun
maggethun
Offline Send Email
Oct 13, 2006
8:33 am
2999
... About the Haskell version: does it really work for all lists? what if there are different types of element in the list ­ in the simplest case, suppose ...
Manfred Von Thun
maggethun
Offline Send Email
Oct 13, 2006
8:36 am
3000
I thought I ought to let people know that I have recently done some more work on my Furphy project, that tries to extend Forth in a more concatenative...
Peter Lawrence
pml060912
Offline Send Email
Oct 13, 2006
1:59 pm
3001
... Haskell, like other ML-derived languages, has only homogeneous lists, though the inconvenience of this is somewhat reduced in Haskell due to the invention...
John Cowan
johnwcowan
Online Now Send Email
Oct 13, 2006
3:09 pm
3002
One of the biggest challenges in making Joy type safe is that functions can be created at runtime. Calling "i" on one of these functions would leave the stack...
Christopher Diggins
cdiggins.geo
Offline Send Email
Oct 13, 2006
3:30 pm
3003
... I have not given up, but I did suspend work on it until I had some detailed review. ... Not at all. I simply wanted to push something at least partly...
John Cowan
johnwcowan
Online Now Send Email
Oct 13, 2006
4:40 pm
3004
... Side effects are reasonably handled within monad code because the sequence of evaluation for monad code is strictly defined (it's not in general for...
William Tanksley, Jr
wtanksle
Offline Send Email
Oct 13, 2006
10:48 pm
3005
... The argument is: are the benefits worth the costs? -- In politics, obedience and support John Cowan <cowan@...> are the same thing. --Hannah...
John Cowan
johnwcowan
Online Now Send Email
Oct 13, 2006
11:02 pm
3006
... A worthy question. Depends on how you parse out the "costs". If losing dynamic typing is a cost to you, then I don't think ANY benefits of type inference...
William Tanksley, Jr
wtanksle
Offline Send Email
Oct 14, 2006
11:14 pm
3007
... Type inference can be supplemented by explicit typing or even explicit dynamic typing (e.g. Variant variables in Visual Basic). It's really about which...
John Cowan
johnwcowan
Online Now Send Email
Oct 14, 2006
11:56 pm
3008
I like to think of the static typing vs dynamic typing issue this way: Suppose that you had a dynamically typed language that you were quite happy with. Now...
Rodney D Price
rodneydelmar...
Offline Send Email
Oct 16, 2006
5:25 pm
3009
This is very interesting. I had thought of using Haskell's type classes to build a list that could be used as a stack, but that really defeats the purpose of...
Rodney D Price
rodneydelmar...
Offline Send Email
Oct 16, 2006
6:20 pm
3010
... No? I'm not sure I fully understand your question. I just implemented "fold" and "unfold" over lists, instead of coming up with a statically typable...
Greg Buchholz
sleepingsqui...
Offline Send Email
Oct 17, 2006
4:16 am
3011
... ] Manfred Von Thun scripsit: ] ] ] About the Haskell version: does it really work for all lists? what if ] ] there are different types of element in the...
Greg Buchholz
sleepingsqui...
Offline Send Email
Oct 22, 2006
6:49 am
3012
... If your mail reader mangles things too badly (and it looks like Yahoo! does) you can grab the source code and/or a colorized html file here... ...
Greg Buchholz
sleepingsqui...
Offline Send Email
Oct 22, 2006
7:28 am
3013
A little preamble: one of the criticisms of Pascal was that it has some builtin procedures have features which cannot be given to user defined procedures -...
Manfred Von Thun
maggethun
Offline Send Email
Oct 23, 2006
10:14 am
3014
... No longer true of C, BTW; ANSI C allows you to write your own variadic functions in a standards-conformant fashion. ... I think that would be too big a...
John Cowan
johnwcowan
Online Now Send Email
Oct 23, 2006
3:37 pm
3015
This post discusses the choices I've made while designing the concatenative language Enchilada. That will hopefully explain why I've diverged from Joy. To make...
r_v_dalen
Offline Send Email
Oct 25, 2006
4:14 pm
3016
I found an interesting post at http://www.paulgraham.com/accgen.html about accumulator generatos in different languages. In Joy, if I am not mistaken, the...
Christopher Diggins
cdiggins.geo
Offline Send Email
Oct 25, 2006
6:19 pm
3017
Hi Chris, Sorry, you're not correct. Your code corresponds to the lisp code: (defun foo (n) (lambda (i) (+ n i))) (setf f (foo 10)) (funcall f 2) -> 12 ...
Magnus Jonsson
zealmange
Offline Send Email
Oct 25, 2006
6:53 pm
3018
Thanks Magnus! ... [Non-text portions of this message have been removed]...
Christopher Diggins
cdiggins.geo
Offline Send Email
Oct 25, 2006
7:10 pm
Messages 2989 - 3018 of 4151   Oldest  |  < Older  |  Newer >  |  Newest
Advanced
Add to My Yahoo!      XML What's This?

Copyright © 2007 Yahoo! Inc. All rights reserved.
Privacy Policy - Terms of Service - Guidelines - Help