O'Caml 3.06 is out. It's just a bugfix release of 3.05 which had some bugs.
http://caml.inria.fr/ocaml/distrib.html...
[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
ftp://ftp.inria.fr/lang/caml-light/
(they haven't changed the web sites but it's official ).
Quote:
To: caml-announce@inria.fr
Subject: [Caml-list] OCaml 3.05...
[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
Has OCaml, like many other OO lingos, been incorporated into the .NET Framework yet?
Just curious....
[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 wish to make a program that will go to the 7th line of a text file, take what's on that line, and print it. Right now, I have this:
Code:
# #load "unix.cma";;
# open Unix;;
#...
[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
Is it possible to match types in O'Caml? For example (this does not work, of course):
Code:
let print_any t = match t with
int -> print_int
| string -> print_string
| char -&...
[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
anyone done CGI with Ocaml? i've been meaning to get around to it. i have this nifty asian_viking name generator i need to use:
http://www.qlippoth.com/asian_viking.ml
...
[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, so I'm just curious what you folks are doing (and, perhaps, if any of the SML-ites want to help me with what I'm doing )
I've been writing a unit-testing framework for SML, based loosely on JU...
[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 been learning OCaml lately, and I have come across this pattern matching that everyone always seems to be raving about. Isn't this essentially the same thing as a switch statement in C, or is ...
[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
Here we have the simple factorial
Code:
let rec factorial number =
if number == 0 then
1
else
number * factorial (number-1)
let _ =
...
[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 guys, I've got this function which calculates the sum of a given integer list:
Code:
let rec sum_int_list = function
[] -> 0
| h::t -> h + (sum_int_...
[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://research.microsoft.com/projects/ilx/fsharp.htm
F# for .NET... A language based on the core of Ocaml. What I really liked though was the F# vs Ocaml, where O'Caml has twice as many feature...
[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 took your Syntax Highlighting program (SHL), made a little build.me script (no Makefile, sorry) for easier building for other people. It's available there: http://darkhost.mine.nu:81/shl.tgz...
[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
if anyone has time can you check the build on this:
http://www.qlippoth.com/enoch777.zip
included are binaries for Linux and Windows including the Tk version--probably need to change the mods ...
[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
So does anyone here use any testing methodology in their O'Caml code? I'm looking to start coding on my SML IRC bot in a week or so (after exams are done ) and will want to integrate testing into my ...
[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've been reading up on SML (specifically, SML/NJ) lately, and I'm probably going to be using it (instead of O'Caml) for my next project when I get some time. So I can post things about it in here, w...
[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
Let's face it: O'Caml is a great language, but the syntax is horribly baroque. The syntax is really what keeps a lot of people from even trying the language. It's hard enough a mental burden to hand...
[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, I have "retired" (more like a "significantly long hiatus" ) but seeing that someone has gone to the trouble of making an actual O'Caml forum has inspired me to at least be pre...
[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
anyone know how to create straight up m$ windows programs with Ocaml? i.e. for GUI's so there is no console at the bottom?
like in Python name the file .pyw or GnuAda via -mwindows command line s...
[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
The map function with pattern-matching
Code:
let rec mapp f = function
[] -> []
| h::t -> (f h)::(mapp f 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
Welcome to the OCaml forum! Not that I have any idea what OCaml is, but my advisors say it's needed on a programming board and I won't disagree with them!
So all you OCaml programmers may now h...
[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 order to get an entry in Inkedmn's challenge, I am looking on how to read a file in O'Caml. So far I've found this:
Code:
# let gpl = open_in "gpl.txt";;
val gpl : in_ch...
[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 butLast mylist =
if List.tl mylist = [] then []
else List.hd mylist :: butLast (List.tl mylist);;
This functions recieves on argument, a list of any type (int 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
How are O'Caml and ML related? Is O'Caml just another version of ML?...
[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