Description:
Discussion about functional languages.
|
|
|
Call for Papers: International Conference on Soft Computing and Applications
|
| |
Call for Papers: International Conference on Soft Computing and
Applications
ICSCA 2012
CFP: International Conference on Soft Computing and Applications ICSCA
2012
Draft Paper Submission Deadline: 2 July, 2012
Camera-Ready Papers Due & Registration Deadline: 30 July, 2012
ICSCA 2012: San Francisco, USA, 24-26 October, 2012... more »
|
|
Lazy vs non-lazy functions
|
| |
I've read that in Haskell, it is common practice to append an apostrophe to a function name to show that the function is non-lazy. E.g. :
doubleSmallNumber' x = (if x > 100 then x else x*2) + 1
I'm not groking the difference between lazy and non-lazy. What would be the lazy equivalent to the above function? TIA ...... more »
|
|
ML and smart constructors question
|
| |
I don't know ML and am wondering if it has a solution for an annoying
situation that comes up in Haskell sometimes. I want to enforce a data
invariant using smart constructors, which means using the module system
to limit where new values in the datatype can be introduced. For
example, I might want a number type that tracks whether the number is... more »
|
|
Cost of "auxiliary" functions
|
| |
In a SML tutorial that I'm reading, the comment is made:
[quote]
An "auxiliary" function (....) is used to do most of the work. This is not at all unusual in a functional language. Because we do not normally use "variables", we can only have values in parameters, which sometimes requires the use of more than one function in order to perform a single computation.[/quote]... more »
|
|
Miranda dead?
|
| |
Is Miranda dead? From what information I've been able to find, seems
like it hasn't been actively developed in years. The mailing list
information says only a couple of posts happen a year. A search here
for "Miranda" shows the last post on it being in 2004 or so.
|
|
|