mfurr changed the topic of #ocaml to: OCaml 3.08.2 available! | Archive of Caml Weekly News: http://sardes.inrialpes.fr/~aschmitt/cwn/ | A free book: http://cristal.inria.fr/~remy/cours/appsem/ | Mailing List: http://caml.inria.fr/bin/wilma/caml-list/ | Cookbook: http://pleac.sourceforge.net/
monochrom has quit ["me!"]
mbh has quit [Read error: 60 (Operation timed out)]
Sonarman has joined #ocaml
Sonarman has quit [Read error: 60 (Operation timed out)]
cjohnson has joined #ocaml
cjohnson has quit ["KVIrc 3.2.0 'Realia'"]
Sonarman has joined #ocaml
a-zwei has quit ["Leaving"]
tintin has joined #ocaml
tintin has quit [Remote closed the connection]
shawn has joined #ocaml
shawn_ has quit [Connection reset by peer]
zzorn has joined #ocaml
Sonarman has quit ["leaving"]
Submarine_ has joined #ocaml
Herrchen has joined #ocaml
pango has quit [Remote closed the connection]
mlh has quit [Remote closed the connection]
Submarine_ has quit ["Leaving"]
__DL__ has joined #ocaml
smimou has joined #ocaml
kinners has joined #ocaml
Msandin has joined #ocaml
shawn_ has joined #ocaml
Msandin has quit [Read error: 60 (Operation timed out)]
karryall has joined #ocaml
karryall has quit [Remote closed the connection]
solarwind has quit [Read error: 104 (Connection reset by peer)]
karryall has joined #ocaml
Msandin has joined #ocaml
shawn has quit [Connection timed out]
Skal has joined #ocaml
kinners has quit ["leaving"]
Submarine has quit [Remote closed the connection]
mattam has joined #ocaml
Snark has joined #ocaml
_JusSx_ has joined #ocaml
mellum_ has joined #ocaml
mellum has quit [Read error: 113 (No route to host)]
vezenchio has joined #ocaml
yangsx has joined #ocaml
CosmicRay has joined #ocaml
yangsx has quit [Read error: 60 (Operation timed out)]
Msandin_ has joined #ocaml
Msandin has quit [Read error: 110 (Connection timed out)]
cognominal has joined #ocaml
<Msandin_> vincenz: Tywith 0.4 out, handles record types, types in other modules, and function types =) (http://www.seedwiki.com/wiki/shifting_focus/tywith)
<vincenz> neat :)
<vegai> that's a bit like emulating Haskell's typeclasses, no?
Smerdy has joined #ocaml
Smerdyakov has quit [Read error: 110 (Connection timed out)]
<vegai> hmm, a bit more, I guess
<Msandin_> vegai: well, it's a bit like emulating Haskell's deriving
<Msandin_> but it isn't as elegant, while it does support folds and maps, which deriving doesn't :)
<vegai> it boggles my mind a bit that you can accurately generate those from type signatures..
<Msandin_> (it's less elegant mainly 'cause of the lack of type classes)
<Msandin_> vegai: well, it's not really hard either..
Snark has quit ["Leaving"]
joey_ has joined #ocaml
<nlv11757_> i will stick to haskell as much as possible :P
<vegai> when isn't it possible? =)
<nlv11757_> those maps and folds can easily be generated for haskell to with Generic Haskell
<nlv11757_> to=too
<nlv11757_> just look at algebraic datatypes as sums of products
<nlv11757_> define it for sums and products...and there you have it...for every datatype
<Msandin_> yeah...
Msandin_ is now known as Msandin
<vincenz> Anyone ever muddled with tinyfugue
<Msandin> For Tywith 0.5: string_of should be complemented by of_string (like show/read), and I'd like a pretty generator for a more aestethically pleasing output of larger values.
<Msandin> vincenz: what is it?:-)
<vincenz> nm
* vincenz mutters
<vincenz> it's a telnet client
<vincenz> with hte WORST programming language ever
<vincenz> ARGH
<mflux> :-)
<vincenz> it's SO frustrating I'm considering writing a telnet client and doing my coding in ocalm
<vincenz> ocaml even
<Msandin> Hmm, I've seen, even designed, some fairly bad ones:-)
<vegai> has anyone here used Equeues for anything?
<vincenz> not yet but I might ;)
<Msandin> hehe:)
<karryall> vegai: I did once
<vincenz> ugh
<vincenz> talk about a nonorthogonal language
alek2 has joined #ocaml
<vegai> karryall: how did it work out?
<karryall> it worked all right
<karryall> but it can be a bit slow since it relies a lot on exceptions
<karryall> (each handler is tried in turn and must raise an exception if it doesn't want to handle the event)
<vegai> yeah, I wondered about that too
<vegai> more specifically, how complex would it get if the right handlers were called in O(1)
Smerdy is now known as Smerdyakov
<karryall> hmm not too complex I guess : I would try to limit the number of handlers and have some registration mechanism in the handler ; the handler could then dispatch with a hashtable
<karryall> something like that or did you mean how complex would it be to modify Equeue ?
Msandin has quit [Read error: 60 (Operation timed out)]
joey_ has quit ["Leaving"]
<vegai> the latter
joey_ has joined #ocaml
<vegai> but I guess the former would work too :)
<karryall> ah I did not really looked at Equeue internals so I don't know
alek2 has quit ["Leaving"]
<noj> is there a way to generate a format string to Printf.printf? such as dynamically specifying the number of decimals in a %f-directive?
<karryall> with the ^^ operator maybe ?
<noj> I tried: let fmt = "%.2f\n";; and then: Printf.printf fmt 1.03;; but that doesn't work
<noj> I know how to concatenate strings :)
<noj> ah
<karryall> ha but ^^ concatenates *format* strings
<noj> neat!
<karryall> but it won't solve your problem I'm afraid
<noj> what will?
<vegai> is printf a bit hackish?
<vegai> I mean, is it implemented fully in ocaml, or does it rely on some internal things+
<karryall> it is a trifle hackish
<karryall> it puts a complex type : ('a,'b,'c,'d) format4 on a string constant
karryall has quit ["bye"]
zzorn is now known as zzorn_afk
bbls has joined #ocaml
CosmicRay_ has joined #ocaml
CosmicRay_ has quit ["Client exiting"]
Gueben has joined #ocaml
pango has joined #ocaml
bbls has quit []
Snark has joined #ocaml
humasect has joined #ocaml
humasect has quit [Read error: 54 (Connection reset by peer)]
humasect has joined #ocaml
mrvn has joined #ocaml
Msandin has joined #ocaml
Herrchen has quit ["good night"]
humasect has quit [Read error: 54 (Connection reset by peer)]
humasect has joined #ocaml
Msandin has quit [Read error: 54 (Connection reset by peer)]
humasect has quit [Read error: 54 (Connection reset by peer)]
__DL__ has quit [Remote closed the connection]
__DL__ has joined #ocaml
__DL__ has quit [Read error: 54 (Connection reset by peer)]
Snark has quit ["Leaving"]
zzorn_afk has quit ["They are coming to take me away, ha ha"]
mlh has joined #ocaml
_JusSx_ has quit ["leaving"]
CosmicRay has quit ["Client exiting"]
vezenchio has quit ["I live in a yurt on the steppes of Sheepfuckistan. That's why."]
lodewijk has joined #ocaml
<lodewijk> hello. does anyone know why doing a while true do Gc.full_major () done results in the process growing as quickly as it can?