Thread View: comp.lang.functional
1 messages
1 total messages
Started by Mark Carroll <MC>
Mon, 16 Jul 1990 02:44
Request for Code
Author: Mark Carroll <MC>
Date: Mon, 16 Jul 1990 02:44
Date: Mon, 16 Jul 1990 02:44
31 lines
2010 bytes
2010 bytes
Hello all! I've recently become interested in the idea of functional programming. I came across the ideas during an independent study in Object-oriented programming, and was fascinated by the idea of pure functional programming. Unfortunately, my book budget is very low, and I'm temporarily cut off from decent library access, so I've been learning from some difficult sources - the Backus Turing paper, the Haskell language report, and the reference manual for SML of New Jersey. Due to this rather dreadful little collection of sources, I'm having a bit of a hard time wrapping my mind around some pretty basic features of functional programming. (My basic problem is that having been brought up on Pascal and C, I can't quite understand how to handle history without assignments. On a theoretical level, I do understand things like streams with lazy evaluation, but I just can't quite see how I'd do it in code...) I'm posting because I'd like to see some decent, commented functional code, to see how things are actually implemented. I'd prefer code in SML or Haskell, since those are the two languages that I have some slight familiarity with. If anyone has any code that they think might help me, I would be infinitely grateful. Many thanks, <MC> -- |Mark Craig Carroll: <MC> |"We the people want it straight for a change; |Soon-to-be Grad Student at| cos we the people are getting tired of your games; |University of Delaware | If you insult us with cheap propaganda; |carroll@dewey.udel.edu | We'll elect a precedent to a state of mind" -Fish
Thread Navigation
This is a paginated view of messages in the thread with full content displayed inline.
Messages are displayed in chronological order, with the original post highlighted in green.
Use pagination controls to navigate through all messages in large threads.
Back to All Threads