boogie has quit [Remote host closed the connection]
ollehar has quit [Ping timeout: 240 seconds]
ousado has joined #ocaml
watermind has quit [Remote host closed the connection]
jbrown__ has quit [Read error: Connection reset by peer]
jbrown__ has joined #ocaml
watermind has joined #ocaml
q66 has quit [Quit: Leaving]
ousado has quit [Ping timeout: 272 seconds]
Drup has quit [Quit: Leaving.]
ousado has joined #ocaml
madroach has quit [Ping timeout: 264 seconds]
madroach has joined #ocaml
watermind has quit [Read error: Connection reset by peer]
watermind has joined #ocaml
watermind has quit [Read error: Connection reset by peer]
watermind has joined #ocaml
watermind has quit [Read error: Connection reset by peer]
watermind has joined #ocaml
watermind has quit [Read error: Connection reset by peer]
watermind has joined #ocaml
CissWit has quit [Ping timeout: 245 seconds]
ygrek has joined #ocaml
ollehar has joined #ocaml
breakds has joined #ocaml
weie has joined #ocaml
arquebus has joined #ocaml
zxqdms has joined #ocaml
cesar_ has joined #ocaml
cesar_ is now known as Guest59327
Guest59327 has quit [Remote host closed the connection]
|jbrown| has joined #ocaml
jbrown__ has quit [Read error: Connection reset by peer]
arquebus has quit [Quit: Konversation terminated!]
breakds has quit [Quit: Konversation terminated!]
ollehar has quit [Ping timeout: 240 seconds]
wagle has quit [Ping timeout: 240 seconds]
weie has quit [Quit: Leaving...]
asmanur has quit [Ping timeout: 260 seconds]
asmanur has joined #ocaml
watermind has quit [Ping timeout: 272 seconds]
chrisdotcode has joined #ocaml
_tca has quit [Read error: Connection reset by peer]
boogie has joined #ocaml
ollehar has joined #ocaml
cesar_ has joined #ocaml
cesar_ is now known as Guest66485
Guest66485 has quit [Remote host closed the connection]
yacks has quit [Quit: Leaving]
shinnya has quit [Ping timeout: 246 seconds]
ggole has joined #ocaml
boogie has quit [Remote host closed the connection]
wagle has joined #ocaml
ygrek has quit [Ping timeout: 252 seconds]
<flux>
has someone managed to use SPOC (an ocaml opencl library) and its camlp4-based Sarek-language?
<flux>
reading the latest release kernels_ext.ml it clearly has support for the external kernels, but it also has bunch of code that would deal with the Sarek kernels.. (camlp4 DSL for creating kernels)
<flux>
but I don't see how it would actually be hooked up.. mind you, I only wish I could read camlp4 code :)
<flux>
I'm just wondering if that release has got that bit missing
<flux>
the language itself seems a bit lacking as well, ie. no for or while-constructs nor if-conditions, I don't see very many interesting opencl being written without those, but the slides mention some PROP benchmarking suite being executed with that
<caseyjames>
If I wanted to take a list [2;4;5;6;7] and linearly scale all values after shifting the endpoingts ([2;7]; [1;9]), would I subtract the difference between the original and changed start points and then scale by the ratio of the difference between their lengths?
<caseyjames>
I'm still new to ocaml and I'm not sure how to make it simple
<flux>
(intermediate values probably need to be floats even if the original values aren't)
<caseyjames>
oh thank you. I was planning on something horrible involving an intermediate list of algebraic types Anchors and Interps... This is very helpful
<caseyjames>
I need to start thinking in terms of base cases
pdewacht has quit [Ping timeout: 256 seconds]
ygrek has joined #ocaml
ttamttam has joined #ocaml
jbrown__ has joined #ocaml
|jbrown| has quit [Read error: Connection reset by peer]
ollehar has quit [Ping timeout: 240 seconds]
wolfnn has joined #ocaml
caseyjames has quit [Ping timeout: 250 seconds]
zxqdms has quit [Quit: leaving]
Drup has joined #ocaml
djcoin_ has joined #ocaml
thomasga has joined #ocaml
thelema has quit [Read error: Connection reset by peer]
thomasga has quit [Remote host closed the connection]
thomasga has joined #ocaml
thelema has joined #ocaml
steshaw has quit [Ping timeout: 240 seconds]
|jbrown| has joined #ocaml
jbrown__ has quit [Read error: Connection reset by peer]
zpe has joined #ocaml
Neros has quit [Ping timeout: 272 seconds]
adrien_oww has joined #ocaml
zzz_ has quit [Remote host closed the connection]
zzz_ has joined #ocaml
thomasga has quit [Ping timeout: 272 seconds]
zpe has quit [Remote host closed the connection]
arquebus has joined #ocaml
weie has joined #ocaml
peterbb has quit [Ping timeout: 240 seconds]
thomasga has joined #ocaml
ontologiae has joined #ocaml
arquebus has quit [Quit: Konversation terminated!]
ontologiae_ has joined #ocaml
ontologiae has quit [Read error: Connection reset by peer]
Drup1 has joined #ocaml
Drup has quit [Read error: Connection reset by peer]
amirmc has joined #ocaml
Drup1 is now known as Drup
ontologiae_ has quit [Ping timeout: 272 seconds]
peterbb has joined #ocaml
Kakadu has joined #ocaml
zpe has joined #ocaml
mfp has joined #ocaml
zpe has quit [Remote host closed the connection]
zpe has joined #ocaml
Sim_n has joined #ocaml
skchrko has joined #ocaml
amirmc has quit [Quit: Leaving.]
peterbb has quit [Ping timeout: 246 seconds]
Sim_n is now known as Simn
amirmc has joined #ocaml
Yoric has joined #ocaml
Yoric has quit [Ping timeout: 245 seconds]
Yoric has joined #ocaml
AltGr has joined #ocaml
chrisdotcode has quit [Ping timeout: 256 seconds]
shinnya has joined #ocaml
amirmc has quit [Quit: Leaving.]
Drup has quit [Ping timeout: 240 seconds]
peterbb has joined #ocaml
dsheets_ has joined #ocaml
q66 has joined #ocaml
Yoric has quit [Ping timeout: 245 seconds]
jbrown__ has joined #ocaml
|jbrown| has quit [Read error: Connection reset by peer]
yacks has joined #ocaml
|jbrown| has joined #ocaml
jbrown__ has quit [Read error: Connection reset by peer]
malo has joined #ocaml
Drup has joined #ocaml
Neros has joined #ocaml
darkf has quit [Quit: Leaving]
Yoric has joined #ocaml
ontologiae_ has joined #ocaml
amirmc has joined #ocaml
Drup has quit [Ping timeout: 240 seconds]
Drup has joined #ocaml
_andre has joined #ocaml
amirmc has quit [Quit: Leaving.]
thorsten` has quit [Ping timeout: 264 seconds]
steshaw has joined #ocaml
Neros has quit [Ping timeout: 245 seconds]
Neros has joined #ocaml
amirmc has joined #ocaml
amirmc has quit [Ping timeout: 246 seconds]
|jbrown| has quit [Ping timeout: 240 seconds]
Simn has quit [Ping timeout: 252 seconds]
Simn has joined #ocaml
ygrek has quit [Ping timeout: 256 seconds]
amirmc has joined #ocaml
amirmc has quit [Ping timeout: 240 seconds]
breakds has joined #ocaml
ollehar has joined #ocaml
amirmc has joined #ocaml
breakds has quit [Remote host closed the connection]
dsheets_ has quit [Read error: Operation timed out]
thelema_ has joined #ocaml
asmanur_ has joined #ocaml
caligula_ has joined #ocaml
thelema has quit [Remote host closed the connection]
asmanur has quit [Ping timeout: 246 seconds]
zzz_ has quit [Remote host closed the connection]
caligula has quit [Remote host closed the connection]
zzz_` has joined #ocaml
cthuluh has quit [Ping timeout: 246 seconds]
paddymahoney has quit [Ping timeout: 246 seconds]
cthuluh has joined #ocaml
paddymahoney has joined #ocaml
wolfnn has quit [Ping timeout: 246 seconds]
paddymahoney has quit [Max SendQ exceeded]
paddymahoney has joined #ocaml
maufred_ has quit [Ping timeout: 246 seconds]
maufred has joined #ocaml
demonimin has quit [Ping timeout: 253 seconds]
Neros has quit [Ping timeout: 245 seconds]
demonimin has joined #ocaml
ollehar has quit [Ping timeout: 248 seconds]
dsheets_ has joined #ocaml
dsheets_ is now known as dsheets
iZsh has quit [Ping timeout: 245 seconds]
maufred has quit [Remote host closed the connection]
<johnelse>
I learnt functional programming using haskell - haskell is better in a way for learning since it doesn't let you (easily) fall back to imperative programming
<johnelse>
for the same reason, I prefer to use ocaml now, since it's more flexible
amirmc has joined #ocaml
<Drup>
johnelse: I would say the opposite, because you can evolve progressively to a functional programming style with ocaml, but I suppose it's a matter of tastes.
<hardliner_>
i learn ml with programming languages course in coursera
<johnelse>
Drup: yeah it depends - I found it useful being forced to use the paradigm I was trying to learn
peterbb has quit [Ping timeout: 246 seconds]
<mangaba_leitosa>
hardliner_: there are two coursera classes proglang including standard ML and racket, and progfun 'Principles of FP in Scala'
<mangaba_leitosa>
hardliner_: it would be cool to see haskell and ocaml courses, but ... :-(
* mangaba_leitosa
now taking Principles FP in Scala
<hardliner_>
mangaba_leitosa: yes, great course by creator of scala
<mangaba_leitosa>
hardliner_: are you taking it too?
avsm has quit [Quit: Leaving.]
<mangaba_leitosa>
hardliner_: but as it relates to the choice of language, ocaml and haskell are both better :-)
avsm has joined #ocaml
<mangaba_leitosa>
(than scala)
skchrko has quit [Quit: Leaving]
<hardliner_>
mangaba_leitosa: no, i'm not taking that course, i just saw first lectures from it
<mangaba_leitosa>
hardliner_: also, there will be next course starting Nov 3, reactive functional programming in Scala :-)
Yoric has quit [Ping timeout: 245 seconds]
<mangaba_leitosa>
hardliner_: ah, and there is also F# :-)
<hardliner_>
mangaba_leitosa: is there nemerle course? lol
<mangaba_leitosa>
hardliner_: no, of the online courses, racket/standard ML and scala are the only ones I'm aware of
<mangaba_leitosa>
but if picking the standard ML course, you are forced to take racket + ruby as well :-)
<hardliner_>
mangaba_leitosa: i know, i think it will be useful for understanding programming languages anyway
jbrown has joined #ocaml
<mangaba_leitosa>
but maybe you don't like parentheses and/or japanese things :-)
<hardliner_>
mangaba_leitosa: it's just syntax, i'm intrested in semantics
<mangaba_leitosa>
yes, I assume the japanese style of doing things is about semantics :-)
cesar_ has joined #ocaml
cesar_ is now known as Guest53999
thomasga1 has joined #ocaml
thomasga has quit [Read error: Connection reset by peer]
boogie has joined #ocaml
amirmc has quit [Quit: Leaving.]
ollehar has joined #ocaml
ontologiae_ has quit [Ping timeout: 256 seconds]
wolfnn has joined #ocaml
tane has joined #ocaml
tane has quit [Client Quit]
tane has joined #ocaml
AltGr has left #ocaml []
tani has joined #ocaml
tane has quit [Ping timeout: 268 seconds]
zpe has quit [Remote host closed the connection]
peterbb has joined #ocaml
thomasga1 has quit [Quit: Leaving.]
Guest53999 has quit [Remote host closed the connection]
boogie has quit [Remote host closed the connection]
ttamttam has quit [Quit: ttamttam]
tani has quit [Ping timeout: 260 seconds]
hardliner_ has quit [Ping timeout: 240 seconds]
shinnya has quit [Ping timeout: 240 seconds]
tane has joined #ocaml
tane has quit [Ping timeout: 264 seconds]
boogie has joined #ocaml
avsm has quit [Quit: Leaving.]
tane has joined #ocaml
tane has quit [Ping timeout: 240 seconds]
tane has joined #ocaml
boogie has quit [Remote host closed the connection]
dsheets has quit [Ping timeout: 240 seconds]
tani has joined #ocaml
tane has quit [Ping timeout: 272 seconds]
tani has quit [Ping timeout: 272 seconds]
Anarchos has joined #ocaml
dsheets has joined #ocaml
kay__ has quit [Ping timeout: 264 seconds]
Kakadu has quit []
caseyjames has joined #ocaml
<caseyjames>
Does anyone here use Sqlite3 with ocaml? My transactions succeed, but finding non-iterative ways of mapping over a SELECT has been confusing.
Drup has quit [Ping timeout: 252 seconds]
weie has quit [Quit: Leaving...]
ygrek has quit [Ping timeout: 248 seconds]
chrisdotcode has joined #ocaml
djcoin_ has quit [Quit: WeeChat 0.4.1]
ggole has quit [Ping timeout: 240 seconds]
Drup has joined #ocaml
Yoric has joined #ocaml
zpe has joined #ocaml
wwilly has joined #ocaml
tane has joined #ocaml
thomasga has joined #ocaml
thomasga has quit [Client Quit]
malo has quit [Quit: Leaving]
thomasga has joined #ocaml
thomasga has quit [Client Quit]
cdidd has quit [Remote host closed the connection]
cdidd has joined #ocaml
thorsten` has joined #ocaml
Kakadu has joined #ocaml
Anarchos has quit [Quit: Vision[0.9.7-H-280704]: i've been blurred!]
<caseyjames>
does any know if ctypes is able to handle structs built from other structs? Like: typedef struct Moo { Boo aBoo[400]; } Moo;
Drup1 has joined #ocaml
Drup has quit [Ping timeout: 245 seconds]
<nicoo>
caseyjames: IIRC, yes.
caseyjames has quit [Ping timeout: 250 seconds]
mrpantoufle is now known as Pantoufle
_andre has quit [Quit: leaving]
darkf has joined #ocaml
Drup has joined #ocaml
Drup1 has quit [Read error: Connection reset by peer]
chrisdotcode has quit [Ping timeout: 246 seconds]
chrisdotcode has joined #ocaml
shinnya has joined #ocaml
tane has quit [Quit: Verlassend]
amirmc has joined #ocaml
amirmc has quit [Quit: Leaving.]
zpe has quit [Remote host closed the connection]
wwilly has quit [Remote host closed the connection]
steshaw has quit [Ping timeout: 245 seconds]
darkf_ has joined #ocaml
darkf has quit [Disconnected by services]
darkf_ is now known as darkf
Kakadu has quit []
caseyjames has joined #ocaml
hkarim has joined #ocaml
<hkarim>
does ocaml have an LLVM frontend?
<Drup>
you mean backend, I suppose ?
<hkarim>
oh yes sorry
<Drup>
then, no.
<hkarim>
can I target ARM anyway?
hkarim has left #ocaml []
Yoric has quit [Ping timeout: 246 seconds]
<whitequark>
then why does LLVM has an "
<whitequark>
OCaml GC" upstreamed?..
<Drup>
whitequark: don't know, but there is an ocaml binding to use llvm/clang as a library
<whitequark>
Drup: ... for which I've submitted a 22-long patchset about yesterday, yes :)
<whitequark>
(it was horribly outdated)
<Drup>
I'm not surprised :]
<whitequark>
hm?
<Drup>
(23:59:37) whitequark: (it was horribly outdated)
<whitequark>
yeah, why?
<Drup>
unless there is someone very active maintaining it, and then we hear about it, ocamls binding fo C stuff get outdated quite quickly
<whitequark>
ah, so it's a general pattern
<Drup>
kind of
<whitequark>
fun fact: I've swept through logs and it seems that (very basic) tests for ocaml bindings caught bugs not found by other parts of LLVM testsuite, more than once.
<Drup>
yes, I heard about it
<whitequark>
(though it has happened like four years ago so today it probably wouldn't happen)
<whitequark>
did you?
<whitequark>
as in, why is that so prominent?
<Drup>
I didn't say that, I just said I head the anecdote :)
<Drup>
heard*
<whitequark>
ah, I see
zpe has joined #ocaml
<whitequark>
LLVM's backends and plugins also very nicely map to the .cmxs files
<whitequark>
but I'd need to consider the version issue. quite a bit of bindings there seem to care about old ocaml versions... no ocamlc -o, no ocamlc -g, this kind of old.
zpe has quit [Read error: Operation timed out]
<caseyjames>
Is anyone using the OCamlXARM iOS compiler? I was able to build object files, I'm working on getting ctypes setup right now, but I'm not sure how to integrate the object files in a C or C++ context instead of the ObjectiveC. I'm not accessing any apple libraries.
jdoles has quit [Ping timeout: 245 seconds]
ollehar has quit [Ping timeout: 245 seconds]
steshaw has joined #ocaml
rand__ has joined #ocaml
Simn has quit [Ping timeout: 252 seconds]
rand__ has quit [Quit: leaving]
rand__ has joined #ocaml
rand__ is now known as rand000
rand000 has quit [Client Quit]
rand000 has joined #ocaml
rand000 has quit [Client Quit]
wagle has quit [Read error: Connection reset by peer]
wolfnn has quit [Read error: Operation timed out]
Drup has quit [Read error: Connection reset by peer]