Alright,
I don't want to make too many new topics and flood the boards with questions, so I'll just extend this every time I have a new Haskell question instead.
Just wondering what the diffe...
[Tags: No tags defined yet] - Be the first to Tag this threadAdd TagsCancel
*Note: Tags must be comma (,) seperated. For example: boardtracker, forum search, search engine
I have only used haskell so my opinion is really biased and doesnt really count. but i find it quite easy to use and im fond of the lazy evaluation! how do others compare?...
[Tags: No tags defined yet] - Be the first to Tag this threadAdd TagsCancel
*Note: Tags must be comma (,) seperated. For example: boardtracker, forum search, search engine
how do i go about sorting a list of strings in haskell e.g. on input:
["Noradh","Marges","letsee","telegrams","Sharan's","sees"]...
[Tags: No tags defined yet] - Be the first to Tag this threadAdd TagsCancel
*Note: Tags must be comma (,) seperated. For example: boardtracker, forum search, search engine
what i wanna know is how to refer to all the elements to a list in the next exampe:
let rec concat = function
[] -> []
|[n] -> n
|[f;<what ever it be>] -> f @ (con...
[Tags: No tags defined yet] - Be the first to Tag this threadAdd TagsCancel
*Note: Tags must be comma (,) seperated. For example: boardtracker, forum search, search engine
I am writing a program that calculates the area of a polygon (any shape) given the 5 vertices.
Does any-one know the maths behind calculating areas of polygons? Think its something to do with diff...
[Tags: No tags defined yet] - Be the first to Tag this threadAdd TagsCancel
*Note: Tags must be comma (,) seperated. For example: boardtracker, forum search, search engine
I'v been trying to learn this stuff on O'Caml but its too hard! I don't get it.
I know some C++ and Java and have been working on those. For fun I thought I would learn O'Caml but I am too stupi...
[Tags: No tags defined yet] - Be the first to Tag this threadAdd TagsCancel
*Note: Tags must be comma (,) seperated. For example: boardtracker, forum search, search engine
hi..
i m a java/c++ programmer, and just recently was required to learn some functional programming.. i wont lie abt it, this is a question from an assignment that i was given.. if someone could p...
[Tags: No tags defined yet] - Be the first to Tag this threadAdd TagsCancel
*Note: Tags must be comma (,) seperated. For example: boardtracker, forum search, search engine
hey i have wrote a very simple function that computes the average of three inputted integers. how do i write a function that computes how many integers are above the average using the average function...
[Tags: No tags defined yet] - Be the first to Tag this threadAdd TagsCancel
*Note: Tags must be comma (,) seperated. For example: boardtracker, forum search, search engine
Hello !
I am wondering how to return a function in a function. I want to do this to be able to return a operator.
The result I would like to achieve is something like this:
returnOperator::C...
[Tags: No tags defined yet] - Be the first to Tag this threadAdd TagsCancel
*Note: Tags must be comma (,) seperated. For example: boardtracker, forum search, search engine
Can anyone help? I'm looking for someone that knows even a little about Haskell!!
The problem is: I have a String e.g
LFTWDGTA0012300050Widget
And I need to split it up into four compon...
[Tags: No tags defined yet] - Be the first to Tag this threadAdd TagsCancel
*Note: Tags must be comma (,) seperated. For example: boardtracker, forum search, search engine
What are functional languages used for (duhh) obviously to develop an "app" of some kind. Are they more for scripting, batch files, login scripts...ect....I basically would like one of you t...
[Tags: No tags defined yet] - Be the first to Tag this threadAdd TagsCancel
*Note: Tags must be comma (,) seperated. For example: boardtracker, forum search, search engine
Okay, I'm trying to translate my Haskel bubble sort into O'Caml and I'm not understanding why the interpreter doesn't like this:
Code:
# let rec bsorthelper lst =
match lst with
...
[Tags: No tags defined yet] - Be the first to Tag this threadAdd TagsCancel
*Note: Tags must be comma (,) seperated. For example: boardtracker, forum search, search engine
I'm taking a functional programming course next semester. Apparently we are going to be using Haskel. Will I like it?
How much more subjective question can a guy ask right?...
[Tags: No tags defined yet] - Be the first to Tag this threadAdd TagsCancel
*Note: Tags must be comma (,) seperated. For example: boardtracker, forum search, search engine
ok, gotta post something considering the last post in here was 12-12-2002.
so...how bout them functional languages? yeeeah functional!
actually, since Common Lisp qualifies as functional,...
[Tags: No tags defined yet] - Be the first to Tag this threadAdd TagsCancel
*Note: Tags must be comma (,) seperated. For example: boardtracker, forum search, search engine
i was playing with mod_ocaml:
http://www.slacky.de/docs/projects/mod_ocaml/
and thought i'd share some examples and findings. briefly it's kinda like php where you put ocaml statement directl...
[Tags: No tags defined yet] - Be the first to Tag this threadAdd TagsCancel
*Note: Tags must be comma (,) seperated. For example: boardtracker, forum search, search engine
In honor of what became sort of the ad hoc "Functional Programming night" in #coderforums, I decided to do all the stuff that ink and Vince and I were working out in Haskell .. in Scheme as ...
[Tags: No tags defined yet] - Be the first to Tag this threadAdd TagsCancel
*Note: Tags must be comma (,) seperated. For example: boardtracker, forum search, search engine
yes, it's just a factorial, but it's quite a long time in the making (just ask Strike )
Code:
factorial :: Integer -> Integer
factorial 0 = 1
factorial x = x * factorial (x-1)
...
[Tags: No tags defined yet] - Be the first to Tag this threadAdd TagsCancel
*Note: Tags must be comma (,) seperated. For example: boardtracker, forum search, search engine
alright, after flip-flopping over functional programming for the past month or so, i've decided that i'm going to try haskell. i like the way the syntax looks, and i'm stoked to get a better understa...
[Tags: No tags defined yet] - Be the first to Tag this threadAdd TagsCancel
*Note: Tags must be comma (,) seperated. For example: boardtracker, forum search, search engine
i asked once upon a time how to make a non-console win32 app with Ocaml and finally found a way to do it--so i thought i'd share the insight.
Harry Chomskey's latest win32 ocaml bindings include c...
[Tags: No tags defined yet] - Be the first to Tag this threadAdd TagsCancel
*Note: Tags must be comma (,) seperated. For example: boardtracker, forum search, search engine
Just a question... How are functional languages useful and what advantages do they have over a procedural language?
I've been wondering this for some time......
[Tags: No tags defined yet] - Be the first to Tag this threadAdd TagsCancel
*Note: Tags must be comma (,) seperated. For example: boardtracker, forum search, search engine
I noticed in the General forum that you were working on a neural network system. What's it for?
Jeremy...
[Tags: No tags defined yet] - Be the first to Tag this threadAdd TagsCancel
*Note: Tags must be comma (,) seperated. For example: boardtracker, forum search, search engine
OK, the name of the forum hasn't officially changed yet, but all functional language/programming discussion should come here.
I have written two functions:
nth: returns the nth element of a list...
[Tags: No tags defined yet] - Be the first to Tag this threadAdd TagsCancel
*Note: Tags must be comma (,) seperated. For example: boardtracker, forum search, search engine
http://www.nongnu.org/mldonkey/
mldonkey is a clonde of eDonkey, a file sharing program à la gnutella I think. This program has a GTK+ GUI. Definitly a nice addition to the hump of O'Caml applic...
[Tags: No tags defined yet] - Be the first to Tag this threadAdd TagsCancel
*Note: Tags must be comma (,) seperated. For example: boardtracker, forum search, search engine
Code:
let rec dot_product a b =
match a with
[] -> (match b with [] -> 0)
| ah::at ->
(match b with
bh::bt -> ah*bh + dot_product at bt);;
...
[Tags: No tags defined yet] - Be the first to Tag this threadAdd TagsCancel
*Note: Tags must be comma (,) seperated. For example: boardtracker, forum search, search engine
I'm reading the 100 lines of O'caml examples, and I'm getting syntax errors in the insertion sort example, even when I copy it directly from the page. Wondering if anyone knows what's up....
he...
[Tags: No tags defined yet] - Be the first to Tag this threadAdd TagsCancel
*Note: Tags must be comma (,) seperated. For example: boardtracker, forum search, search engine