User loginNavigation |
LtU ForumFringeDC Informal Meeting- Jan 13thIf you're a fringe language enthusiast and in the DC area this weekend, Hope to see you there! - Conrad Barski, M.D. http://www.lisperati.com/fringedc.html By drcode at 2007-01-10 13:30 | LtU Forum | login or register to post comments | other blogs | 5187 reads
Why people don't use functional programming?Dear Ultimate Lambdas, I'm to collect criticisms on the state of the art of functional programming. Up to now I've found Wadler's paper on "Why no one uses functional languages?". Could you please send me pointers to other papers written on the subject? Interlanguage Migration: From Scripts to ProgramsTobin-Hochstandt & Felleisen, "Interlanguage Migration: From Scripts to Programs", (Dynamic Languages Symposium 2006)
See also: Typed Scheme by Sam Tobin-Hochstadt:
(from Felleisen's Projects page) Proofs and puddings -- or, how pure is the pure lambda calculus, pt 3In http://lambda-the-ultimate.org/node/1930 and http://lambda-the-ultimate.org/node/1944 i described a lambda calculus with quotation and a program logic. Ever the one to believe that theory and practice should verify each other, i have put together, here (http://svn.biosimilarity.com/src/rlambda/), a first draft implementation of the ideas in OCaml. Currently, the system supports a very brittle command line REPL for a pretty raw syntax. The main point of interest is that the code is factored more or less along the lines of the specification, making use of recursive modules. That is, syntax and structural equivalence are functors of a module type IDENTIFIER. Then a reflective module is made by interpreting the IDENTIFER operations using terms. See the code. (Note: i wanted to have the operational semantics module also be a functor and recursively instantiate, but i couldn't get the OCaml compiler to get the three-level functor to work properly. Email me at lgreg.meredith@biosimilarity.com for further discussion.) In an upcoming update i will add a simplistic model-checker for the logic. System requirements i have only tested the code on Mac OS X (tiger) using "OCamlDuce version 3.09.2pl2", but i'm pretty sure that a plain vanilla version of OCaml at or around version 3.09.x should build and run the code. The make files are written for lgmaclt:~/work/src/projex/biosimilarity/reflection/rlambda/ocaml lgm$ `which make` --version Copyright The source files say Copyright: Biosimilarity LLC. All rights reserved. But, everything on the site is under GPL. So, you are free to do what you want with the code -- such as it is -- as long as you respect GPL. By Lucius Gregory Meredith at 2007-01-08 22:43 | LtU Forum | login or register to post comments | other blogs | 5054 reads
Eta-expansion of abstractions outside the lambda-calculusI've been reading up on multi-stage programming recently and came accross Eta-expansion does The Trick which interests me because partial evaluation is something I think deserves higher visibility in programming in general. I've seen η-expansion in the context of the various λ-calculi before but I can't seem to translate this to algol style languages. I must be missing something trivial or obvious. Could anyone please enlighten me? A Web of Code
Web Of Code
http://idiki.dyne.org/wiki/WoC
WoC stands for Web Of Code.
The basic idea is to add hyperlink capacities to source code documents,
creating, in this way, a new Web, of code.
The Idiki article describes the idea and shows how it can be implemented using
existing tools, f.e. ViewVC, cscope and Vim.
Another idea explored by the article is:
#!/usr/bin/python
from :openssl.org/ssl: import RSA*
The article is here: WoC Best regards. By AlpT at 2007-01-06 22:28 | LtU Forum | login or register to post comments | other blogs | 5915 reads
I want to learn Smalltalkdear forum, I am not a programmer but I am very (and I mean, very) interested in programming. There are programmers who work real hard and for very understandable reasons are not very interested in history and fundamentals, but I am. I hope you guys will be friendly enough to give me directions, the reason I am doing this in a forum all about programming languages is that I know no one personally who can help me with this, and this thread can serve others. I've heard (read) so much about Smalltalk (specifically, how cute it is as a language) but unfortunately the omniscient web didn't help me much (I know, weird). I have a fair bit of understanding of Java and (to a lesser extent) C++ (I am not comfortable with template wizadry, to be specific). The language I like most so far is Haskell, feel free to use any of these to make a point. What I am interested about the most is the difference between Java and Smalltalk. I went to www.smalltalk.org, www.squeak.org, and some other websites. They had free books. But most of those books are in very weird formats (pictures embedded in PDF for example) and taught programming in Smalltalk itself, but I am not going to *use* Smalltalk anyway. I have a feeling that none of the articles/tutorials/books/documentations highlighted the *ideas* behind Smalltalk. They are mostly about how OO influences software construction. We know that pretty well by now. But I want to know why Smalltalk is the definitive OO language. The questions I have are very naive (so if you don't feel like it, please just point me to relevant books or, better, webpages): So, in a sense, what I really need is a language report, not tutorials and introduction to OO principles. is there any? the functional counterpart of what I am looking for would be the Haskell98 report. with a bit of explanation on what is there and what is left out and why. please raise other questions as well. cheers! may 2007 bring joy and happiness to your life. specially if 2006 didn't ;) [PostScript: I noticed the frames and slots thread and I think the questions I want answers of could appear there as well, I'm keeping an eye on that one too!] Are Frames and Slots anything more that OO with a different name?Frames and slots were hot in the 80s but now the terminology seems to be rarely used. Is this because the frame model are a subset of the OO model? Can referential transparency be bad? (puzzle included)After reading the thread about PL puzzles I decided for a change to design my own puzzle instead of my own PL. How about this - "mirror an immutable binary tree preserving existing sharing"? So in Haskell, I would take this data type: Or I may use StableName, but then I will end up inside IO kitchen sink. To be constructive, I decided to redesign the puzzle so it is a fair game. The full tree of depth n (having 2n-1 nodes) will therefore be compressed to a DAG of n nodes - impressive ratio! Additional points if your code does not create intermediate structures (this is unfair towards PLs without implicit stack, BTW), if it traverses the original tree only once, if it can be reused for other data types, and if you can state it's computational complexity and/or maximum size of the stack (sure, some of these tasks are much harder than others). D 1.0 finally releasedWalter Bright's D programming language 1.0 was released today! A sampling of its many great features: Garbage collection http://www.digitalmars.com/d/changelog.html Cheers. |
Browse archives
Active forum topics |
Recent comments
8 weeks 3 days ago
8 weeks 3 days ago
8 weeks 4 days ago
8 weeks 4 days ago
9 weeks 1 day ago
9 weeks 1 day ago
9 weeks 2 days ago
9 weeks 2 days ago
9 weeks 2 days ago
9 weeks 2 days ago