ChanServ changed the topic of #ocaml to: Discussions about the OCaml programming language | http://caml.inria.fr/ | http://www.ocaml.org | OCaml 4.01.0 announce at http://bit.ly/1851A3R | Logs at http://irclog.whitequark.org/ocaml
rand000 has quit [Quit: leaving]
racycle_ has joined #ocaml
studybot has quit [Remote host closed the connection]
hhugo has quit [Quit: Leaving.]
rgrinberg has joined #ocaml
pyon has quit [Remote host closed the connection]
hhugo has joined #ocaml
hhugo has quit [Read error: Connection reset by peer]
hhugo has joined #ocaml
jao has joined #ocaml
jao has quit [Changing host]
jao has joined #ocaml
eikke__ has joined #ocaml
pyon has joined #ocaml
shinnya has quit [Ping timeout: 245 seconds]
dapz has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
Moataz-E has quit [Quit: Leaving]
<BitPuffin> I'm a bit confused
<BitPuffin> what does module type meon
<BitPuffin> and what would happen if you didn't assign a sig
<whitequark> it would get inferred from the struct
<BitPuffin> well how does a module type differ from a module
<BitPuffin> I like how real world ocaml just went you can do this: ... without explaining what it means
<Drup> BitPuffin: modules are structurally typed by their content.
hhugo has quit [Quit: Leaving.]
<Drup> BitPuffin: type "module M = List" in the interpreter, it will show you the type
<BitPuffin> ah
<BitPuffin> and what's spat out of that is something I could have put in a sig and done module M: L = List
<Drup> yes
Lutin` has quit [Read error: Connection reset by peer]
<BitPuffin> and then L would have to be a "module type"
<Drup> yes
<BitPuffin> I think I kind of grok I guess
<Drup> "module type" and "signature" are the same thing
<BitPuffin> yeah so I guess the form module M : sig ... end = struct ... end syntax is in a way sugar that let's you make an anonymous module type
<BitPuffin> although sugar is the wrong way
<BitPuffin> are module types and module structures in different namespaces?
<BitPuffin> or "can I call a module type the same thing as a module without name clash"
waern has joined #ocaml
WraithM has quit [Ping timeout: 260 seconds]
<Drup> yes
<BitPuffin> okay
<BitPuffin> fair enough
q66 has quit [Quit: Leaving]
<BitPuffin> my my this module system seems very powerful so far
<BitPuffin> I'm especially very fond of the local open stuff
struktured has quit [Ping timeout: 240 seconds]
agarwal1975 has joined #ocaml
struktured has joined #ocaml
studybot has joined #ocaml
agarwal1975 has quit [Quit: agarwal1975]
penglingbo has joined #ocaml
waern has quit [Ping timeout: 245 seconds]
ygrek has joined #ocaml
Lutin` has joined #ocaml
Lutin` has quit [Ping timeout: 265 seconds]
Lutin` has joined #ocaml
jpdeplaix has quit [Ping timeout: 240 seconds]
Eyyub has quit [Ping timeout: 265 seconds]
jpdeplaix has joined #ocaml
Lutin` has quit [Read error: Connection reset by peer]
dapz has joined #ocaml
Eyyub has joined #ocaml
Don_Pellegrino|l has joined #ocaml
jao has quit [Ping timeout: 276 seconds]
BitPuffin has quit [Ping timeout: 260 seconds]
poindontcare has quit [Remote host closed the connection]
limbopeng has joined #ocaml
penglingbo has quit [Ping timeout: 240 seconds]
BitPuffin has joined #ocaml
Eyyub has quit [Ping timeout: 265 seconds]
mcclurmc has joined #ocaml
Don_Pellegrino|l has quit [Quit: Konversation terminated!]
ontologiae has joined #ocaml
racycle_ has quit [Quit: ZZZzzz…]
ygrek has quit [Remote host closed the connection]
ontologiae has quit [Ping timeout: 265 seconds]
mcclurmc has quit [Remote host closed the connection]
divyanshu has joined #ocaml
skchrko has quit [Remote host closed the connection]
demonimin has quit [Remote host closed the connection]
demonimin has joined #ocaml
ygrek has joined #ocaml
struktured has quit [Ping timeout: 240 seconds]
_tca has quit []
slash^ has joined #ocaml
axiles has joined #ocaml
Simn has joined #ocaml
Cyanure has joined #ocaml
<BitPuffin> does functional updates on records make a full copy of the record you are basing off or does it "point" to the old fields in the base for those you don't update?
<adrien> { some_record with field = value } is only one allocation
<BitPuffin> for that field only?
<BitPuffin> or does it make an entirely new field
<BitPuffin> er
<BitPuffin> record
<adrien> i.e. it allocates the record, copies the pointers in the record except for the changed one
<adrien> it cannot do otherwise
robink has quit [Remote host closed the connection]
<BitPuffin> so it is still pointing to the same memory then?
<adrien> all the fields in the record? yes
<BitPuffin> except for the new field
<BitPuffin> ah
lordkryss has joined #ocaml
<BitPuffin> cool
<BitPuffin> that's what I was hoping
<BitPuffin> I've been meaning to try doing something like that in C++ for a game engine
<BitPuffin> but now that I'm writing ocaml I might as well try it out with records maybe
<BitPuffin> :)
<Simn> What about mutable fields?
<BitPuffin> gets icky in a multithreaded context
robink has joined #ocaml
<Simn> I meant how the copying behave.
<BitPuffin> oh
<BitPuffin> I see
<BitPuffin> good question
<adrien> copied
<adrien> hmmm
<adrien> I was using ints which isn't a good idea I think
<BitPuffin> adrien: by value?
<adrien> ints will always be copied
<adrien> but I've tried with an int list and it appears to be copied too
<BitPuffin> ah
<adrien> errr, hold
<adrien> on
<adrien> still too early in my morning, I think I've done something wrong
<adrien> right, _not_ copied
<adrien> so mutable doesn't change the behaviour wrt 'with'
<Simn> Thanks for investigating!
Cyanure has quit [Disconnected by services]
Cyanure has joined #ocaml
Cyanure has quit [Disconnected by services]
Arsenik has joined #ocaml
|jbrown| has quit [Ping timeout: 240 seconds]
dapz has quit [Quit: Textual IRC Client: www.textualapp.com]
lordkryss has quit [Ping timeout: 240 seconds]
fds has quit [Ping timeout: 252 seconds]
fds has joined #ocaml
fds has quit [Ping timeout: 260 seconds]
fds has joined #ocaml
lordkryss has joined #ocaml
johnf has quit [Ping timeout: 240 seconds]
dw has quit [Ping timeout: 240 seconds]
eikke__ has quit [Ping timeout: 260 seconds]
dw has joined #ocaml
eikke__ has joined #ocaml
BitPuffin has quit [Ping timeout: 240 seconds]
ollehar has quit [Ping timeout: 245 seconds]
BitPuffin has joined #ocaml
Kakadu has joined #ocaml
pollux has quit [Ping timeout: 240 seconds]
pollux has joined #ocaml
hhugo has joined #ocaml
seliopou has quit [Ping timeout: 240 seconds]
seliopou has joined #ocaml
ygrek has quit [Remote host closed the connection]
j0sh has quit [Ping timeout: 240 seconds]
j0sh has joined #ocaml
lordkryss has quit [Ping timeout: 260 seconds]
lordkryss has joined #ocaml
robink_ has joined #ocaml
seliopou has quit [Ping timeout: 240 seconds]
robink has quit [Ping timeout: 240 seconds]
seliopou has joined #ocaml
gasche_ has joined #ocaml
gasche has quit [Ping timeout: 240 seconds]
ggole has joined #ocaml
eikke__ has quit [Ping timeout: 240 seconds]
tane has joined #ocaml
lordkryss has quit [Ping timeout: 265 seconds]
seliopou has quit [Ping timeout: 240 seconds]
seliopou has joined #ocaml
avsm has joined #ocaml
avsm has quit [Client Quit]
seliopou has quit [Ping timeout: 240 seconds]
ggole has quit [Read error: Connection timed out]
ggole has joined #ocaml
seliopou has joined #ocaml
seliopou has joined #ocaml
seliopou has quit [Ping timeout: 240 seconds]
thomasga has joined #ocaml
rgrinberg has quit [Quit: Leaving.]
testcocoon has quit [Quit: Coyote finally caught me]
rgrinberg has joined #ocaml
seliopou has quit [Ping timeout: 240 seconds]
seliopou has joined #ocaml
testcocoon has joined #ocaml
ddosia has quit [Ping timeout: 240 seconds]
ddosia has joined #ocaml
thomasga has quit [Quit: Leaving.]
seliopou has quit [Ping timeout: 240 seconds]
mbac_ has joined #ocaml
smiler has quit [Ping timeout: 245 seconds]
jbrown has joined #ocaml
mbac has quit [Ping timeout: 240 seconds]
seliopou has joined #ocaml
keen________ has quit [Ping timeout: 240 seconds]
yacks has quit [Ping timeout: 245 seconds]
yacks has joined #ocaml
<ia0> m
avsm has joined #ocaml
keen________ has joined #ocaml
seliopou has quit [*.net *.split]
alpounet has joined #ocaml
rgrinberg has quit [Quit: Leaving.]
seliopou has joined #ocaml
rwmjones_hols is now known as rwmjones
claudiuc has joined #ocaml
claudiuc has quit [Remote host closed the connection]
avsm has quit [Quit: Leaving.]
avsm has joined #ocaml
tani has joined #ocaml
ygrek has joined #ocaml
tane has quit [Ping timeout: 260 seconds]
tani has quit [Ping timeout: 276 seconds]
darkf has quit [Ping timeout: 252 seconds]
thomasga has joined #ocaml
darkf has joined #ocaml
rand000 has joined #ocaml
waern has joined #ocaml
lordkryss has joined #ocaml
ygrek has quit [Remote host closed the connection]
poindontcare has joined #ocaml
maattdd has joined #ocaml
_andre has joined #ocaml
studybot has quit [Remote host closed the connection]
maattdd has quit [Ping timeout: 260 seconds]
smiler has joined #ocaml
igitoor has quit [Ping timeout: 245 seconds]
igitoor has joined #ocaml
eikke__ has joined #ocaml
agarwal1975 has joined #ocaml
agarwal1975 has quit [Client Quit]
thomasga has quit [Quit: Leaving.]
BitPuffin has quit [Ping timeout: 252 seconds]
avsm has quit [Quit: Leaving.]
igitoor has quit [Changing host]
igitoor has joined #ocaml
lordkryss_ has joined #ocaml
lordkryss has quit [Ping timeout: 265 seconds]
studybot has joined #ocaml
studybot_ has joined #ocaml
studybot has quit [Ping timeout: 264 seconds]
hhugo has quit [Quit: Leaving.]
divyanshu has quit [Quit: Computer has gone to sleep.]
limbopeng has quit [Ping timeout: 260 seconds]
Submarine has joined #ocaml
Submarine has joined #ocaml
Submarine has quit [Changing host]
struktured has joined #ocaml
avsm has joined #ocaml
divyanshu has joined #ocaml
eikke__ has quit [Ping timeout: 240 seconds]
jao has joined #ocaml
jao has quit [Changing host]
jao has joined #ocaml
oriba has joined #ocaml
mal`` has quit [Quit: ERC Version 5.3 (IRC client for Emacs)]
Thooms has joined #ocaml
jao has quit [Ping timeout: 276 seconds]
mal`` has joined #ocaml
avsm has quit [Quit: Leaving.]
JokerDoom has joined #ocaml
thomasga has joined #ocaml
struktured has quit [Ping timeout: 240 seconds]
Hannibal_Smith has joined #ocaml
hhugo has joined #ocaml
darkf has quit [Quit: Leaving]
limbopeng has joined #ocaml
avsm has joined #ocaml
dsheets has joined #ocaml
divyanshu has quit [Quit: Computer has gone to sleep.]
divyanshu has joined #ocaml
eikke__ has joined #ocaml
shinnya has joined #ocaml
agarwal1975 has joined #ocaml
maattdd has joined #ocaml
SethTisue has joined #ocaml
maattdd has quit [Ping timeout: 265 seconds]
struktured has joined #ocaml
slash^ has quit [Read error: Connection reset by peer]
divyanshu has quit [Quit: Computer has gone to sleep.]
Hannibal_Smith has quit [Quit: Sto andando via]
fraggle_laptop has quit [Ping timeout: 265 seconds]
ontologiae has joined #ocaml
rand000 has quit [Ping timeout: 252 seconds]
lordkryss_ has quit [Ping timeout: 260 seconds]
ontologiae has quit [Ping timeout: 252 seconds]
ontologiae has joined #ocaml
Thooms has quit [Quit: WeeChat 0.3.8]
divyanshu has joined #ocaml
agarwal1975 has quit [Quit: agarwal1975]
shinnya has quit [Ping timeout: 260 seconds]
agarwal1975 has joined #ocaml
seanmcl has joined #ocaml
SethTisue has quit [Quit: SethTisue]
lordkryss has joined #ocaml
oriba_ has joined #ocaml
eikke__ has quit [Ping timeout: 245 seconds]
waern has quit [Quit: Lost terminal]
bartbes has quit []
SethTisue has joined #ocaml
lordkryss has quit [Ping timeout: 245 seconds]
tchell has joined #ocaml
eikke__ has joined #ocaml
hhugo has quit [Quit: Leaving.]
oriba_ has quit [Quit: Verlassend]
ontologiae has quit [Ping timeout: 240 seconds]
bartbes has joined #ocaml
mcclurmc has joined #ocaml
lordkryss has joined #ocaml
hhugo has joined #ocaml
seanmcl has quit [Ping timeout: 276 seconds]
agarwal1975 has quit [Quit: agarwal1975]
divyanshu has quit [Quit: Computer has gone to sleep.]
agarwal1975 has joined #ocaml
agarwal1975 has quit [Client Quit]
tnguyen1 has joined #ocaml
seanmcl has joined #ocaml
tlockney_away is now known as tlockney
thomasga has quit [Quit: Leaving.]
SethTisue has quit [Quit: SethTisue]
SethTisue has joined #ocaml
rand000 has joined #ocaml
divyanshu has joined #ocaml
avsm has quit [Quit: Leaving.]
agarwal1975 has joined #ocaml
hhugo has quit [Quit: Leaving.]
thomasga has joined #ocaml
hhugo has joined #ocaml
SethTisue has quit [Quit: SethTisue]
oriba has quit [Quit: oriba]
tobiasBora has joined #ocaml
<jpdeplaix> ping gasche_
thomasga has quit [Quit: Leaving.]
thomasga has joined #ocaml
SethTisue has joined #ocaml
Iluvatar593 has joined #ocaml
<Iluvatar593> hi all
<Iluvatar593> i was thinking to a tail recursive interpratation of a list append function
racycle has joined #ocaml
<Iluvatar593> but the only solution i found is something that need reversing the first list
agarwal1975 has quit [Quit: agarwal1975]
<companion_cube> Iluvatar593: yes, that's the most straightforward solution
<companion_cube> you cant also begin with the non-tailrec version and switch to the tailrec one after a given number of recursive steps
<Iluvatar593> uhm ok
<Iluvatar593> the question arises from the fact
<Iluvatar593> that i have defined in advance
<companion_cube> also, often you don't care what the ordering of the list is, so rev_map is fine
<Iluvatar593> a data that behaves as list through functional abstraction
<Iluvatar593> so i wanted this tail recursive append operation compatible with my signature
agarwal1975 has joined #ocaml
<Iluvatar593> and i think it doesn't work if i use List.rev
<companion_cube> which data type is it exactly?
<Iluvatar593> i'll send to you
<Iluvatar593> 1 sec, i'll write on keyboard
<companion_cube> use a pastebin
philtor has joined #ocaml
<Iluvatar593> the sig is something like that
<Iluvatar593> now i have to do three implementations of append
<Iluvatar593> the first with "classical" recursion
hhugo has quit [Quit: Leaving.]
<Iluvatar593> and i was thinking to something like that
<Iluvatar593> so, forgetting about tail recursion for a moment, must i use the cons val defined in the signature on the match of the append instead of :: ?
<companion_cube> do you necessarily require the underlying type to be a list?
<companion_cube> it could be a tree of lists, for easier append
<Drup> (tree of list is bad, I tried)
<Drup> (well, it's better than list, but *anything* is better than lists)
<companion_cube> :D
<Iluvatar593> well it was the first exercise
<companion_cube> Drup: with lazy append?
hhugo has joined #ocaml
struktured has quit [Ping timeout: 240 seconds]
hhugo has quit [Client Quit]
<Drup> which exercise ? :p
<Iluvatar593> the signature is about the first one
<Iluvatar593> the append function is the second one
<Drup> "Use Data Extensions through Functional Abstractions"
* Drup buzz world overflow
<def`> Drup: church encoding? :P
<Iluvatar593> (signature http://pastebin.com/QYX4Ji32 , append with normal recursion http://pastebin.com/cuMYJsmE )
<Iluvatar593> lol
<companion_cube> buzz world? hmmmmm
<Iluvatar593> i think he meant word
<companion_cube> I know :)
<Drup> right
<Iluvatar593> lol, so i think you was sarcastic XD
<Iluvatar593> i'm not a very good english speaker
<Drup> Iluvatar593: what you did is fine.
<Iluvatar593> however, does it answers to your question if i necessarily require the underlying type companion_cube ?
<Iluvatar593> or with underlying type you mean something else?
<companion_cube> well, you have an abstract signature with an abstract type
<Kakadu> Iluvatar593: You are very lucky that OCaml is mentioned in some Universities in your country
<companion_cube> you can use any type you want to implement it, in general, and that can be more subtle than list
<def`> Kakadu: you didn't had functional programming courses in your university :( ?
<companion_cube> well I only had one course in OCaml, and it wasn't about FP (compiler course)
<Iluvatar593> i know Kakadu
<Kakadu> def`: I had but I met OCaml two years before
<def`> so that's fine :)
<Iluvatar593> here in Pisa the department have a quite theoretical imprinting
<Iluvatar593> so they focus a lot on functional programming
<Kakadu> We had one course about FP in Haskell on the 5th year of studying but I think that after 4 years of university almost all minds are poisoned by OOP and new Algol
<Iluvatar593> ocaml is the first language they teach on the first cours of programming!
<Iluvatar593> *course
<def`> Kakadu: oh, I had the same problem. it took me two or three attempts to recover from OOP poisoning
<Kakadu> Nice. On 1st semester we was studying Pascal...
boogie has joined #ocaml
<Iluvatar593> I think is a good approach, if we're speaking of computer scientist
<Iluvatar593> *scientists
<Iluvatar593> In Italy we can leave that Imperative-OOP poisoning to Computer Engineers
rgrinberg has joined #ocaml
<Iluvatar593> I was told that in other countries the difference is not so marked
<def`> I started as computer engineer… the oop brainwashing is terrible.
<companion_cube> it's sad that there is such a wide gap
<Kakadu> What job your post-graduaters usually do?
<companion_cube> a post-doc.
<companion_cube> :DDDD
<Iluvatar593> hahha exactly
<Kakadu> Iluvatar593: ^
<Kakadu> ah
<Kakadu> I need to fix auto scroll in IRC web client!
<Iluvatar593> if they don't want to do shitty jobs who can be done by high school kids or less qualificated people
<Kakadu> btw
<Iluvatar593> or leave Italy...
<def`> Iluvatar593: I am not sure there is a promised land… shitty jobs in IT are everywhere
maattdd has joined #ocaml
<Kakadu> Iluvatar593: When you say to engineers that FP is very nice and useful does they look at you like you are idiot or freak?
<Iluvatar593> well, i don't have yet a very clear vision about that, that's my master degree last year, but the impression is that in Italy there are very few companies who really exploit your knowledge and don't simply need programming monkeys
eikke__ has quit [Ping timeout: 276 seconds]
slash^ has joined #ocaml
<Iluvatar593> Kakadu, yes, something like that
<Iluvatar593> :)
<Iluvatar593> It has to be said that i'm the first that doesn't want to continue studying, but rationally speaking about didactics FP is really useful
<Drup> Iluvatar593: afaict, that's everywhere
Anarchos has joined #ocaml
<Iluvatar593> well, i return for a moment to my boring question XD
<Iluvatar593> so, in the first recursive implementation of append
<Iluvatar593> have i written something compatible with the list defined in the previous exercise?
<Iluvatar593> (my doubt is about using :: in matching instead of the cons i defined)
<Drup> your doubt is correct
emias has joined #ocaml
<Iluvatar593> and why the funk when i write the module type on ocaml
<Iluvatar593> than if i try to use it says unbound module?
<def`> you defined a module type, not a module
<def`> (sig vs struct)
jwatzman|work has joined #ocaml
<Iluvatar593> ...
<Iluvatar593> i'm an idiot
<Iluvatar593> sorry, too many degrees to study XD
<Iluvatar593> is there a keyword for optional fields in module types?
<Drup> no
testcocoon has quit [Ping timeout: 240 seconds]
arjunguha has joined #ocaml
<Iluvatar593> how can i use in matching
<Iluvatar593> my defined empty list?
<def`> you can't
<Iluvatar593> :(
<Iluvatar593> so if i want to write an append func that has type 'a Mylist.mylist -> 'a Mylist.mylist -> 'a Mylist.mylist
<Iluvatar593> what can i do?
<Kakadu> destructing list with hd or tl?
<def`> yep
seanmcl has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
seanmcl has joined #ocaml
jwatzman|work has quit [Quit: jwatzman|work]
SethTisue has quit [Quit: SethTisue]
mcclurmc has quit [Remote host closed the connection]
SethTisue has joined #ocaml
olauzon has joined #ocaml
Hannibal_Smith has joined #ocaml
SethTisue has quit [Client Quit]
Eyyub has joined #ocaml
watermind has joined #ocaml
SethTisue has joined #ocaml
<Tekk_> I'm having some issues with the unix api. I'm trying to do a simple test with pipes but I always get an invalid argument exception whenever I try to do any reading or writing
<Tekk_> oh wait
<Tekk_> I think I may know..
watermind has quit [Remote host closed the connection]
SethTisue has quit [Quit: SethTisue]
q66 has joined #ocaml
SethTisue has joined #ocaml
<Tekk_> hm, no. forking just means that I get to have invalid argument on both write nad read :/
<adrien> forking?
<adrien> let buffer = "" in
<adrien> let ro = read r buffer 0 5 in
<adrien> your string must be the right size
ontologiae has joined #ocaml
<Tekk_> adrien: okay, but I can't even get there. the exception is from write if I run it without forking
<Tekk_> Fatal error: exception Invalid_argument("Unix.write")
<Tekk_> sorry, thought I added that
<adrien> let wo = write w "test" 0 5 in
<Tekk_> I was also wondering how read was supposed to work, but that answers my question
<adrien> your string is 4 chars, not 5 :)
<Tekk_> oh, don't need to add the null?
<adrien> it's not part of the string length
<adrien> and if it did automatically, it would make it impossible not to have it
<adrien> (or needlessly complicated)
aggelos has quit [Ping timeout: 240 seconds]
dsheets has quit [Ping timeout: 276 seconds]
<Tekk_> great. I think this is working now :)
<Tekk_> thanks a lot adrien
<adrien> :)
tobiasBora has quit [Quit: Konversation terminated!]
struktured has joined #ocaml
* Tekk_ moves onto something slightly more complex
<Tekk_> and equally not working :)
<Tekk_> but I'll poke around for a bit
Kakadu has quit [Ping timeout: 246 seconds]
aggelos has joined #ocaml
aggelos has quit [Ping timeout: 240 seconds]
S11001001 has joined #ocaml
S11001001 has quit [Changing host]
S11001001 has joined #ocaml
aggelos has joined #ocaml
<jpdeplaix> This fix a segfault when calling the function
<whitequark> jpdeplaix: any chance you could add a set of tests to test/Bindings/Ocaml/target.ml ?
jwatzman|work has joined #ocaml
hhugo has joined #ocaml
philtor has quit [Ping timeout: 252 seconds]
<whitequark> otherwise, r210480
<jpdeplaix> thanks
<whitequark> jpdeplaix: can you test all the similar functions too?
<whitequark> there's half a dozen or so of those setters, maybe others are similarly broken
johnf has joined #ocaml
<johnf> Hi. O
<johnf> Hi, I'm still exploring camlp4 but I noticed the wiki page linked by a bunch of tutorials seems to be down, http://brion.inria.fr/gallium/index.php
<johnf> did it move?
rgrinberg has quit [Ping timeout: 240 seconds]
<johnf> Drup: thanks!
lordkryss_ has joined #ocaml
mcclurmc has joined #ocaml
SethTisue has quit [Quit: SethTisue]
SethTisue has joined #ocaml
lordkryss has quit [Ping timeout: 276 seconds]
rgrinberg has joined #ocaml
limbopeng has quit [Ping timeout: 252 seconds]
rgrinberg has quit [Ping timeout: 240 seconds]
rgrinberg has joined #ocaml
arjunguh_ has joined #ocaml
arjunguha has quit [Ping timeout: 260 seconds]
SethTisue has quit [Quit: SethTisue]
rgrinberg1 has joined #ocaml
mcclurmc has quit [Remote host closed the connection]
rgrinberg1 has quit [Client Quit]
rgrinberg has quit [Ping timeout: 260 seconds]
SethTisue has joined #ocaml
lordkryss_ has quit [Ping timeout: 260 seconds]
rgrinberg has joined #ocaml
Iluvatar593 has quit [Disconnected by services]
Iluvatar594 has joined #ocaml
lordkryss_ has joined #ocaml
WraithM has joined #ocaml
SethTisue has quit [Quit: SethTisue]
struktured has quit [Ping timeout: 276 seconds]
Eyyub has quit [Ping timeout: 265 seconds]
<jpdeplaix> whitequark: you mean the setters in Llvm or just Llvm_target ?
<whitequark> Llvm_target only
Simn has quit [Quit: Leaving]
Kakadu has joined #ocaml
<jpdeplaix> mmmh except this one, I don't see any setters :/
<whitequark> oh I see, nevermind then
<whitequark> r210482
<jpdeplaix> thanks ! :)
struktured has joined #ocaml
seanmcl has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
rgrinberg has quit [Read error: Connection reset by peer]
rgrinberg1 has joined #ocaml
seanmcl has joined #ocaml
thomasga has quit [Quit: Leaving.]
maattdd has quit [Ping timeout: 260 seconds]
rgrinberg1 has quit [Ping timeout: 260 seconds]
Kakadu is now known as yourtwitchuserna
yourtwitchuserna is now known as Kakaduhafanana
Iluvatar594 has quit [Ping timeout: 265 seconds]
Iluvatar593 has joined #ocaml
arjunguh_ has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
lordkryss_ is now known as lordkryss
mcclurmc has joined #ocaml
rgrinberg has joined #ocaml
thomasga has joined #ocaml
Kakaduhafanana is now known as Kakadu
Submarine has quit [Quit: Leaving]
slash^ has quit [Read error: Connection reset by peer]
arjunguha has joined #ocaml
thomasga has quit [Quit: Leaving.]
<maurer> I'm trying to use ocamlbuild, and am running into some troubles with directories and mlpack files
<rgrinberg> ah its probably the for-pack(M) stuff
<maurer> In the base directory, I've got in _tags: http://pastebin.com/2f0v4uvg
manizzle has joined #ocaml
<maurer> rgrinberg: So, kind of
<maurer> In a child directory, let's call it Foo
<maurer> not <Foo.cmx> : for-pack(RootPack.Foo)
<maurer> in its _tags file
<maurer> rootPack.mlpack contains Foo
<maurer> when building, Foo.cmx will build OK
<maurer> (it is only defined by a mlpack file)
robink_ is now known as robink
<maurer> however, building RootPack gives the error that Foo/Bar.cmx was not compiled with the -for-pack RootPack.Foo option
<maurer> I'm a little confused
lordkryss_ has joined #ocaml
thomasga has joined #ocaml
lordkryss has quit [Ping timeout: 252 seconds]
divyanshu has quit [Quit: Textual IRC Client: www.textualapp.com]
<maurer> Any ideas?
<maurer> (there are a number of subdirectories I'd like to combine in this way)
Iluvatar594 has joined #ocaml
Iluvatar593 has quit [Disconnected by services]
rgrinberg has quit [Ping timeout: 265 seconds]
maattdd has joined #ocaml
Submarine has joined #ocaml
Submarine has joined #ocaml
Submarine has quit [Changing host]
maattdd has quit [Client Quit]
igitoor has quit [Ping timeout: 260 seconds]
Submarine has quit [Remote host closed the connection]
avsm has joined #ocaml
Eyyub has joined #ocaml
igitoor has joined #ocaml
rgrinberg has joined #ocaml
divyanshu has joined #ocaml
lordkryss_ is now known as lordkryss
diginux_ has quit [Ping timeout: 252 seconds]
diginux has joined #ocaml
ontologiae has quit [Quit: WeeChat 0.4.0]
ontologiae has joined #ocaml
igitoor has joined #ocaml
igitoor has quit [Changing host]
diginux has quit [Ping timeout: 265 seconds]
diginux has joined #ocaml
axiles has quit [Remote host closed the connection]
jao has joined #ocaml
jao has quit [Changing host]
jao has joined #ocaml
ggole has quit []
tnguyen1 has quit [Quit: tnguyen1]
avsm has quit [Quit: Leaving.]
divyanshu has quit [Quit: Computer has gone to sleep.]
lordkryss_ has joined #ocaml
lordkryss_ is now known as lordkryss_tired_
lordkryss has quit [Disconnected by services]
lordkryss_tired_ is now known as lordkryss
_andre has quit [Quit: leaving]
tnguyen1 has joined #ocaml
diginux has quit [Ping timeout: 260 seconds]
tnguyen1 has quit [Client Quit]
diginux has joined #ocaml
seanmcl has quit [Ping timeout: 276 seconds]
_JokerDoom has joined #ocaml
tnguyen1 has joined #ocaml
JokerDoom has quit [Ping timeout: 265 seconds]
divyanshu has joined #ocaml
S11001001 has quit [Quit: ERC Version 5.3 (IRC client for Emacs)]
hhugo has quit [Ping timeout: 265 seconds]
agarwal1975 has quit [Quit: agarwal1975]
hhugo has joined #ocaml
Thooms has joined #ocaml
agarwal1975 has joined #ocaml
alpounet has quit [Remote host closed the connection]
Lutin` has joined #ocaml
divyanshu has quit [Quit: Textual IRC Client: www.textualapp.com]
alpounet has joined #ocaml
<smondet> hi, is there any ocp-build user out there? who made it work with yojson by any chance?
olauzon has quit [Quit: olauzon]
tobiasBora has joined #ocaml
alpounet has quit [Ping timeout: 265 seconds]
Simn has joined #ocaml
ontologiae has quit [Ping timeout: 265 seconds]
Anarchos has quit [Quit: Vision[0.9.7-H-20140108]: i've been blurred!]
maattdd has joined #ocaml
thomasga has quit [Quit: Leaving.]
Kakadu has quit [Quit: Konversation terminated!]
thomasga has joined #ocaml
arjunguha has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
ontologiae has joined #ocaml
Hannibal_Smith has quit [Quit: Sto andando via]
BitPuffin has joined #ocaml
Eyyub has quit [Ping timeout: 252 seconds]
lordkryss has quit [Ping timeout: 260 seconds]
shinnya has joined #ocaml
jao has quit [Ping timeout: 260 seconds]
Eyyub has joined #ocaml
Eyyub has quit [Ping timeout: 240 seconds]
nicoo_ has joined #ocaml
eikke__ has joined #ocaml
Iluvatar594 has quit [Ping timeout: 245 seconds]
maattdd has quit [Ping timeout: 276 seconds]
nicoo has quit [*.net *.split]
Simn has quit [Quit: Leaving]
pyon has quit [Remote host closed the connection]
pyon has joined #ocaml
Eyyub has joined #ocaml
Thooms has quit [Quit: WeeChat 0.3.8]
nicoo_ is now known as nicoo
agarwal1975 has quit [Quit: agarwal1975]
pyon has quit [Remote host closed the connection]
jao has joined #ocaml
jao has quit [Changing host]
jao has joined #ocaml
darkf has joined #ocaml
alpounet has joined #ocaml
rand000 has quit [Quit: leaving]
tobiasBora has quit [Quit: Konversation terminated!]
alpounet has quit [Ping timeout: 276 seconds]
Lutin` has quit [Read error: Connection reset by peer]
Arsenik has quit [Remote host closed the connection]
hinzelmann has joined #ocaml
<hinzelmann> Is there anyone interested in new Extension Points feature or meta programming in general?
ygrek has joined #ocaml
Lutin` has joined #ocaml
<companion_cube> well some people here work on extension points, yes
madroach has quit [Ping timeout: 252 seconds]
madroach has joined #ocaml
<hinzelmann> Can extension points feature be useful as Lisp macros?
<companion_cube> in some ways, I think
<companion_cube> o/ whitequark
<whitequark> extension points are not as useful but they cover a large number of cases pretty well
thomasga has quit [Quit: Leaving.]
<hinzelmann> I read this article, believed its yours (http://whitequark.org/blog/2014/04/16/a-guide-to-extension-points-in-ocaml/), but seem to me kind of an extention of camlp4, nearly nothing significant about homoiconicity.
tlockney is now known as tlockney_away
<whitequark> it allows to implement a subset of camlp4
<whitequark> much cleaner
<whitequark> well, technically compiler-libs allow to manipulate code as data, but for syntactical reasons it isn't as useful as in lisp
<def`> nothing significant about homoiconicity. you might want to look at meta-ocaml
<hinzelmann> I never heard it, should look
ygrek has quit [Remote host closed the connection]
agarwal1975 has joined #ocaml
<def`> hinzelmann: be aware that it is a research project though
<hinzelmann> But as an experimental idea, how about make ASTs simpler as an abstract lamda calculus expression then convert it Lisp then converting it again OCaml? Could it work in theory?
<def`> I can't really tell but it seems you lose a lot of information through these transformations.
<def`> The AST is not complicated for the sake of being complicated (it is quite reasonable actually), it carries a lot of information
<Drup> hinzelmann: I'm very impatient to see your transformation from modules to simply typed lambda calculus :3
<def`> Drup: -dlambda :P
<Drup> def`: dlambda is a bit more than simply typed lambda calculus
<Drup> (hopefully)
<def`> or simply untyped lambda calculus
Eyyub has quit [Ping timeout: 276 seconds]