Return Styles: Pseud0ch, Terminal, Valhalla, NES, Geocities, Blue Moon.

Pages: 1-

Ocaml

Name: Anonymous 2008-12-16 11:06

Sup.

What does /prog/ think about ocaml?

Name: Anonymous 2008-12-16 11:22

I wouldn't recommend it. It has a ridiculous type system and no libraries whatsoever. Could be worse, though.

Name: Anonymous 2008-12-16 11:32

>>2
is a haskell newbie (but thinks they are expert)

Name: >>2 2008-12-16 11:36

>>3
Nope. Try again.

Name: Anonymous 2008-12-16 13:26

>>2,4
ridiculous type system
likes dynamic languages.
no libraries
likes TURKEY LIBRARIES.

>>2,4 is obviously an FIOC programmer.

Name: >>2 2008-12-16 13:29

>>5
Not quite right. Penalty for using the word `obviously'.

Name: Anonymous 2008-12-16 13:55

It's already being used for SCALABLE ENTERPRISE SOLUTIONS (Hello, Xen!), so you might as well sell out completely and call it F#.

Name: Anonymous 2008-12-16 16:58

>>6
Penalty for using single faggot quotes.

Name: Anonymous 2008-12-17 17:01

>>8
Penalty for being a faggot.

Name: Anonymous 2008-12-17 23:37

>>9

Penalty for using a derogatory term which puts down homosexual men. You should be ashamed of yourself.

Name: Anonymous 2008-12-17 23:40

>>10
Penalty for trying to guilt trip me.

Name: Anonymous 2008-12-18 0:17

Penalty for a stupid camel jockey language post.

Name: Anonymous 2008-12-18 0:18

Penalty for using penalty.

Name: MODD !5JrU4QOlH6 2008-12-18 0:25

>>1-13 assigned banned status for miscellaneous reasons.

Name: Anonymous 2008-12-18 0:32

Penalty for using tripcode.

Name: Anonymous 2008-12-18 0:59

>>14 Penalty for conducting moderation activities outside of assigned boards.
>>15 Penalty for not recognizing a well-known moderator.

Name: Thread Closer 2008-12-18 0:59

THIS THREAD IS OFFICIALLY CLOSED UNTIL 7AM PST DECEMBER 18TH. PLEASE TAKE THIS TIME TO REST AND REVITALIZE YOURSELF.

Name: Anonymous 2008-12-18 1:05

Consider this thread's anus "HAXED."

Name: Anonymous 2008-12-18 1:07

I'm learning F# at the moment and it really is the most fun I've had since learning Haskell.
Here's F# fibonnaci sequence
let newfibs = (1I,1I) |> Seq.unfold (fun (a,b) -> Some (a, (b, (a+b))))

then to get the n'th fib:
let myfib = newfibs |> Seq.nth n

Name: Anonymous 2008-12-18 1:12

forgot my code tags
let newfibs = (1I,1I) |> Seq.unfold (fun (a,b) -> Some (a, (b, (a+b))))
let myfib = newfibs |> Seq.nth n

Name: Anonymous 2008-12-18 1:16

Too bad Microsoft will undoubtedly fuck F# up somehow. Oh wait, they already did by making it into some .NET wankery. Hahaha! What kind of retarded Micro$oft monkey will have the patience to learn a functional programming language? That's right. None of them. F# will die a lonely death unless they release source code for a UNIX-compatible F# compiler.

Name: Anonymous 2008-12-18 1:22

>>21
7/10

Name: Anonymous 2008-12-18 1:25

>>21
What are you on about? Microsoft are investing a lot into making F# an official .NET language; in fact it's going to be featured in the next Visual Studio (2010).
http://blogs.msdn.com/dsyme/

Additionally the source for the compiler and core library will be released on CodePlex once VS 2010 is released, as outlined in the mailing list
http://article.gmane.org/gmane.comp.lang.fsharp.general/1000

Name: 23 2008-12-18 1:26

Damn it, have I been trolled? I'm usually good at not falling for trolls... I can't believe I fell for such a troll post.

Name: 21 2008-12-18 1:28

>>24
I think you are trying to reverse-troll me with this post, just posting to say that you're troll failed.

Name: Anonymous 2008-12-18 1:31

>>25
[quote]you're[/quote]
2/10

Name: Anonymous 2008-12-18 1:33

>>26
0/10

Name: Anonymous 2008-12-18 1:34

>>25
Are you trolling me right now? Before this goes on any further, I'm going to end it. Your posts are nothing but the superficial utterings of a sub-par troll. Did you even visit the links I outlined in >>23? It seems you've jumped on the Anti-MS bandwagon, because it's a shame since you really are missing out on great language. But that's fine, look, you're entitled to your opinion, and I'm not going to persuade you to be more open-minded.
I wish you good day, sir.

Name: Anonymous 2008-12-18 1:35

>>28
Yeah, and I bet you run Micro$oft Windows Vista (TM) too, faggot.

Name: Anonymous 2008-12-18 1:38

>>29
XP Service Pack 3, actually. I also have FreeBSD 7.0 and Ubuntu 8.10 installed with Sun Virtualbox. But why are you posting? I'm not trolling you, you're not going to troll me. This is pointless. Why are you dedicating your life to irritation and rage? Can't we all just get along

Name: Anonymous 2008-12-18 1:42

>>30
I'm a warrior sent my Gerry J. Sussman of the SICP. If you fuck with me, you fuck with Gerry. There is no Vista in Heaven. Repent. Traitor.

Name: Anonymous 2008-12-18 2:12

recursively reversing a list

let rec reverselist l =
    match l with
    | [] -> []
    | car :: [] -> [car]
    | car :: cdr -> List.append (reverselist cdr) [car]


reversing a list with tail recursion

let rec tailrev l =
    let rec loop list acc =
        match list with
        | car :: cdr -> loop cdr (car :: acc)
        | _ -> acc
    loop l []

Name: Anonymous 2008-12-18 2:31

>>32
You don't need the rec in let rec tailrev l =

Name: Anonymous 2008-12-18 2:59

>>33
Ah, force of habit I guess. Good point.

Name: Anonymous 2008-12-18 10:12

>>32-34
This is why OCaml sucks.

Name: Anonymous 2011-02-04 13:07

Don't change these.
Name: Email:
Entire Thread Thread List