yondalf_ has quit [Read error: 60 (Operation timed out)]
danly has quit [Remote closed the connection]
pango_ has joined #ocaml
benben has joined #ocaml
pango has quit [Remote closed the connection]
sponge45 has quit ["zzzzzzzzzz"]
<Shimei>
So has anyone else ordered _Practical_OCaml_ from amazon.com and had hell with their shipping delays?
Demitar has quit [Remote closed the connection]
<dibblego>
yeah I vaguely recall someone else whinging about it
dibblego has quit ["Leaving"]
Aradorn has quit [niven.freenode.net irc.freenode.net]
slipstream has quit [niven.freenode.net irc.freenode.net]
knobo has quit [niven.freenode.net irc.freenode.net]
seafood_ has quit [niven.freenode.net irc.freenode.net]
bohanlon has quit [niven.freenode.net irc.freenode.net]
mellum has quit [niven.freenode.net irc.freenode.net]
stesch has quit [niven.freenode.net irc.freenode.net]
mellum_ has joined #ocaml
bohanlon_ has joined #ocaml
seafood_ has joined #ocaml
Aradorn has joined #ocaml
slipstream has joined #ocaml
stesch has joined #ocaml
yondalf has quit ["leaving"]
_fab has joined #ocaml
kral has joined #ocaml
ikaros has quit [Read error: 60 (Operation timed out)]
shawn__ has joined #ocaml
ikaros has joined #ocaml
setog3 has quit [Read error: 110 (Connection timed out)]
Demitar has joined #ocaml
gene9 has joined #ocaml
pango_ has quit [Remote closed the connection]
pango has joined #ocaml
<flux__>
hmm, I have a problem with polymorphic record fields
<flux__>
I have this test code:
<flux__>
type t = { test : 'a.('a -> 'a) }
<flux__>
let new_t f = { test = f }
<flux__>
let new_t' () = { test = fun i -> i }
<flux__>
the function new_t won't compile
<flux__>
however these declarations compile once again:
<flux__>
type c = { value : 'a.('a -> 'a) }
<flux__>
let new_t'' c = { test = c.value }
<flux__>
so somehow the 'f'-argument isn't generic enough
<flux__>
(the latter works as a workaround for me, though)
<flux__>
oh, the error message is: This field value has type 'a -> 'a which is less general than 'b. 'b -> 'b
clog has joined #ocaml
dark_light has joined #ocaml
Amorphous has joined #ocaml
shawn__ has joined #ocaml
Norgg has joined #ocaml
triple_ has joined #ocaml
Ugarte has joined #ocaml
shawn__ has quit ["Leaving"]
ramkrsna has quit [Remote closed the connection]
levi_home has joined #ocaml
<flux__>
the channel's been quite quiet lately :)
haelix has joined #ocaml
love-pingoo has quit ["Connection reset by pear"]
tld has joined #ocaml
<tld>
From my understanding, with Ocaml, you don't use pointers as you would in C. But if I mmap() a file, can I easily and quickly access sections of that memory? Preferrably without having to copy it?
<erikh>
hello folks. I can't seem to find the appropriate module for File I/O in the standard library. Could someone point me to where I can find documentation for it?
<erikh>
I also signed up for the "ocaml-beginners" list last night and yet to recieve confirmation - on the off chance that anyone could help me with that, it'd be awesome.
pango has joined #ocaml
shawn__ has quit ["This computer has gone to sleep"]
shawn__ has joined #ocaml
shawn__ has quit ["Leaving"]
Mr_Awesome has joined #ocaml
_fab has quit []
shawn__ has joined #ocaml
llama32 has quit [Read error: 110 (Connection timed out)]
smimou has quit ["bli"]
jajs has quit [Remote closed the connection]
love-pingoo has quit ["Connection reset by pear"]
protoscript has joined #ocaml
rillig has quit ["Gute Nacht"]
<Ugarte>
erikh: You can do file IO with the Unix library.
<erikh>
ah, I got the answer a while back
<erikh>
open_in and friends
<Shimei>
Yay, got my _Practical_OCaml_ book. :)
postalchris has quit ["Leaving."]
<dark_light>
Shimei, i am wanting one too (actually i have never read a book written in english before.. well not in paper :P)
<Shimei>
Hehe. Where're you from?
<Shimei>
Ah, Brazil?
protoscript has quit [Read error: 110 (Connection timed out)]