gildor changed the topic of #ocaml to: Discussions about the OCaml programming language | http://caml.inria.fr/ | OCaml 3.12.1 http://bit.ly/nNVIVH
gnuvince has quit [Ping timeout: 250 seconds]
jknick has joined #ocaml
<jarray52> thelema_: What would I add to .ocamlinit to automatically add the path without having to manually do it at the command line?
<thelema_> #directory "~/lacaml-release-5..."
sepuku has quit [Quit: leaving]
err404 has quit [Remote host closed the connection]
emmanuel__ has quit [Remote host closed the connection]
<jarray52> thelema_: the command '#directory "~/lacaml-release-5..." doesn't seem to work. I get the error message "Error: Unbound module Lacaml.Impl.S. I checked the spelling.
<jarray52> thelema_: got it working.
<jarray52> thelema_: .ocamlinit's #directory tag doesn't like the use of ~ for specifying the home directory.
<jarray52> thelema_: Thanks.
jamii has quit [Ping timeout: 265 seconds]
ulfdoz_ has joined #ocaml
ulfdoz has quit [Ping timeout: 252 seconds]
ulfdoz_ is now known as ulfdoz
smerz has quit [Remote host closed the connection]
diego_diego has quit [Read error: Operation timed out]
JoeyA has joined #ocaml
diego_diego has joined #ocaml
wagle has quit [Read error: Connection reset by peer]
mjonsson has joined #ocaml
wagle has joined #ocaml
bzzbzz has quit [Ping timeout: 256 seconds]
diego_diego has quit [Quit: diego_diego]
jarray52 has quit [Ping timeout: 265 seconds]
jarray52 has joined #ocaml
mjonsson has quit [Quit: Leaving]
tautologico has quit [Quit: tautologico]
ulfdoz has quit [Ping timeout: 244 seconds]
diego_diego has joined #ocaml
diego_diego has quit [Quit: diego_diego]
jarray52 has left #ocaml []
<flux> bnwr, ..yes?
JoeyA has quit [Quit: Leaving]
ftrvxmtrx_ has joined #ocaml
ftrvxmtrx has quit [Ping timeout: 272 seconds]
ftrvxmtrx_ has quit [Quit: Leaving]
Anarchos has joined #ocaml
ftrvxmtrx has joined #ocaml
Anarchos has quit [Read error: No route to host]
Anarchos has joined #ocaml
mika1 has joined #ocaml
cago has joined #ocaml
Cyanure has joined #ocaml
Snark has joined #ocaml
djcoin has joined #ocaml
thomasga has joined #ocaml
sgnb has quit [Remote host closed the connection]
Cyanure has quit [Remote host closed the connection]
Submarine has joined #ocaml
Submarine has quit [Changing host]
Submarine has joined #ocaml
<bnwr> flux: sorry, wrong window and bad nick tab-autocomplete
mononofu has joined #ocaml
Cyanure has joined #ocaml
sgnb has joined #ocaml
ocp has joined #ocaml
wagle has quit [Ping timeout: 240 seconds]
GPHemsley has quit [Ping timeout: 260 seconds]
GPHemsley has joined #ocaml
wagle has joined #ocaml
sepuku has joined #ocaml
cdidd has quit [Remote host closed the connection]
wagle has quit [Ping timeout: 244 seconds]
err404 has joined #ocaml
wagle has joined #ocaml
<jaxtr> ahh it's a wonderful day
munga has joined #ocaml
_andre has joined #ocaml
milosn has quit [Ping timeout: 240 seconds]
<sepuku> jaxtr: hello :)
<sepuku> here is wonderful day too
<sepuku> :)
ocp has quit [Read error: Operation timed out]
milosn has joined #ocaml
jonafan has quit [Ping timeout: 245 seconds]
emmanuelux has joined #ocaml
munga has quit [Ping timeout: 244 seconds]
fraggle_ has quit [Read error: Connection reset by peer]
fraggle_ has joined #ocaml
err404 has quit [Quit: Ex-Chat]
gnuvince has joined #ocaml
bzzbzz has joined #ocaml
jamii has joined #ocaml
<sepuku> hello all, is there a source that compares ocaml with scheme( or any lisp like language ) syntax?
struktured has quit [Ping timeout: 245 seconds]
caligula_ has quit [Ping timeout: 265 seconds]
<flux> ocaml has syntax, scheme doesn't simple as that!
<flux> well, no..
<flux> I don't think I've seen such a comparison
<flux> they're quite different things to compare anyway.
<flux> for example there is a whole bulk of data type and module definition syntax in ocaml that doesn't exist in scheme
<sepuku> flux: yeah i know, but i was talking about let
<sepuku> not syntax in general
<sepuku> my bad
<flux> let in ocaml is the same as let in scheme
<flux> let rec in ocaml is the same as letrec in scheme
<flux> mostly
<sepuku> yes, but it's clearer in scheme what you 'let'
<sepuku> and what value has something
<sepuku> but it's ok sooner or later i'll get used to it
<sepuku> :)
<flux> it's clearer to say (let ((a 42)) ..) than let a = 42 in .. ?
<sepuku> yes if you have lets within lets
<flux> (let ((a 42)) (let ((b (+ a 42)) ..)) vs let a = 42 in let b = a + 42 in .. ?
<sepuku> i'm not talking about just typing it, but even that way is clearer with scheme for me
<sepuku> :)
<flux> sepuku, well, I'm sure you'll get used to the ocaml way :)
<sepuku> one is sure: i'll try :)
<sepuku> so i you write code to scheme too?
<flux> well, I use emacs..
<sepuku> one more thing when you let something in scheme (let's say x) then it leaves in that let...but in ocaml let is like defining globally?
<flux> well, in ocaml lets have to forms
<flux> there is the statement let: let a = 42
<flux> it's like (setq a 42)
<flux> those statements are top-level statements, and cannot be embedded inside an expression
<flux> then there is the scheme-like let as discussed above
<sepuku> i see
<sepuku> thank you
untroubled has joined #ocaml
<flux> oh and lets in general are generalized to support both functions and values. so let a b = b + 42 in .. would be similar to (let ((a (lambda (b) (+ b 42)))) .. )
<flux> good luck to your learning of ocaml :)
<sepuku> ooook :)
avsm has joined #ocaml
munga has joined #ocaml
Se7en has joined #ocaml
smondet has joined #ocaml
sophia has joined #ocaml
oriba has joined #ocaml
bjorkintosh has quit [Quit: Leaving]
snearch has joined #ocaml
sepuku has left #ocaml []
oriba_ has joined #ocaml
oriba has quit [Ping timeout: 252 seconds]
avsm has quit [Quit: Leaving.]
smerz has joined #ocaml
munga has quit [Ping timeout: 256 seconds]
thelema_ has quit [Remote host closed the connection]
gnuvince has quit [Ping timeout: 248 seconds]
gnuvince has joined #ocaml
Anarchos has quit [Quit: Vision[0.9.7-H-090423]: i've been blurred!]
sophia has quit [Quit: Page closed]
ocp has joined #ocaml
munga has joined #ocaml
cyphase has quit [Ping timeout: 272 seconds]
jamii has quit [Ping timeout: 252 seconds]
jamii has joined #ocaml
jknick has quit [Quit: Lost terminal]
gnuvince has quit [Ping timeout: 255 seconds]
gnuvince has joined #ocaml
Submarine has quit [Quit: Leaving]
gnuvince has quit [Ping timeout: 245 seconds]
fraggle_laptop has joined #ocaml
mononofu has quit [Read error: Operation timed out]
snearch has quit [Quit: Verlassend]
iago has joined #ocaml
untroubled has quit [Quit: leaving]
oriba_ has quit [Quit: oriba_]
Cyanure has quit [Remote host closed the connection]
thelema has joined #ocaml
mononofu has joined #ocaml
mika1 has quit [Quit: Leaving.]
Cyanure has joined #ocaml
bjorkintosh has joined #ocaml
cago has quit [Quit: Leaving.]
<ssbr_> ok I give up
<ssbr_> apparently the only editor with built in .annot reading support is emacs
<pippijn> what's .annot?
<thelema> pippijn: for getting type information from compiled code
<ssbr_> pippijn: the compiler can output the types it infers for everything (and other stuff?) if you compile with -dtypes
<pippijn> oh
<pippijn> nice
<ssbr_> pippijn: then a suitably ocaml-aware editor can read this in and give you that information
<ssbr_> unfortunately this is very difficult in my editor of choice
<ssbr_> so I'm switching editors :/
<thelema> welcome to the lisp side. :)
<pippijn> ssbr_: what is your editor?
<ssbr_> pippijn: kate
<ssbr_> kate used to be able to do this
<ssbr_> then they disabled it in version 3.8
<ssbr_> very mad.
<thelema> sad
<pippijn> oh
roha has joined #ocaml
<ssbr_> thelema: yeah, that's the thing I wanted to use in kate
<thelema> it doesn't work any more?
<ssbr_> but they disabled the plugin for running programs
<thelema> ah...
<ssbr_> and re-enabling it is really difficult
<ssbr_> developers: if your target audience is developers please do not disable features entirely just because it's got 5 outstanding bugs and no maintainer
<ssbr_> things can be useful with bugs too
<djcoin> thelema: great link !
<thelema> djcoin: glad you appreciate
djcoin has quit [Quit: WeeChat 0.3.2]
jamii has quit [Read error: Connection reset by peer]
ftrvxmtrx has quit [Quit: Leaving]
gnuvince has joined #ocaml
bzzbzz has quit [Quit: leaving]
tautologico has joined #ocaml
Kakadu has joined #ocaml
Kakadu has quit [Client Quit]
Kakadu has joined #ocaml
ocp has quit [Read error: Operation timed out]
munga has quit [Read error: Operation timed out]
ulfdoz has joined #ocaml
cyphase has joined #ocaml
Cyanure has quit [Read error: Operation timed out]
Cyanure has joined #ocaml
Xizor has joined #ocaml
ftrvxmtrx has joined #ocaml
bzzbzz has joined #ocaml
sepuku has joined #ocaml
ftrvxmtrx has quit [Ping timeout: 272 seconds]
eni has joined #ocaml
iago has quit [Ping timeout: 244 seconds]
ftrvxmtrx has joined #ocaml
bobzhang has joined #ocaml
<bobzhang> does any one know there's a easy way to write function "A" -> <:expr< <:expr< A >> >>?
<bobzhang> I mean using quotations, not hard-code constructors
<thelema> sorry, my camlp4-fu is weak
<bobzhang> thelema: ocaml lack support of generic programming, which makes you need to write 2-stages for meta-programming compared with haskell
<thelema> bobzhang: functors?
<bobzhang> thelema: I mean given a string "A", generate <:expr< <:expr< A >> >>; a string "B", generate <:expr< <:expr< B >> >>;
<bobzhang> like lisp ``(,,b)
<bobzhang> but ($ $$ $) is not supported
<thelema> you want to treat "A" as camlp4 code? I think you'll have to work much harder
<bobzhang> "A" is an arbitray string input
<bobzhang> thelema: I can do it without quotations
<bobzhang> thelema: I want to know whether there's an elegant way for such task
eni has quit [Ping timeout: 272 seconds]
jonafan has joined #ocaml
roha has quit [Ping timeout: 272 seconds]
Submarine has joined #ocaml
Submarine has quit [Changing host]
Submarine has joined #ocaml
roha has joined #ocaml
err404 has joined #ocaml
eni has joined #ocaml
ftrvxmtrx has quit [Ping timeout: 272 seconds]
thomasga has quit [Quit: Leaving.]
ftrvxmtrx has joined #ocaml
ftrvxmtrx has quit [Ping timeout: 256 seconds]
roha has quit [Ping timeout: 240 seconds]
iago has joined #ocaml
ftrvxmtrx has joined #ocaml
lopex has quit [Ping timeout: 244 seconds]
<Drakken> bobzhang let f uid = let e = <:expr< $uid:uid$ >> in <:expr< $e$ >>
IbnFirnas has quit [Read error: Operation timed out]
joewilliams has quit [Ping timeout: 276 seconds]
<Drakken> maybe you can do it all at once, I'm not sure.
<Drakken> the main thing is to get the right kind of antiquotation of the identifier
ftrvxmtrx has quit [Ping timeout: 272 seconds]
JoeyA has joined #ocaml
lopex has joined #ocaml
IbnFirnas has joined #ocaml
roha has joined #ocaml
fraggle_laptop has quit [Remote host closed the connection]
<Drakken> actually, <:expr< $e$ >> looks kinda pointless.
<Drakken> why would you want to do that?
<Drakken> bobzhang "A" is a specific string, i.e. an uppercase identifier.
<Drakken> If you want to process arbitrary text, you'll have to parse it.
joewilliams has joined #ocaml
eni has quit [Ping timeout: 260 seconds]
Tobu has quit [Ping timeout: 248 seconds]
Snark has quit [Quit: Quitte]
Anarchos has joined #ocaml
ftrvxmtrx has joined #ocaml
Anarchos has quit [Client Quit]
ulfdoz has quit [Ping timeout: 240 seconds]
Tobu has joined #ocaml
BiDOrD_ has quit [Ping timeout: 252 seconds]
gnuvince has quit [Ping timeout: 245 seconds]
Kakadu has quit [Quit: Konversation terminated!]
BiDOrD has joined #ocaml
iago has quit [Ping timeout: 248 seconds]
roha has quit [Ping timeout: 244 seconds]
ftrvxmtrx_ has joined #ocaml
_andre has quit [Quit: leaving]
ftrvxmtrx has quit [Ping timeout: 244 seconds]
Cyanure has quit [Remote host closed the connection]
gnuvince has joined #ocaml
cdidd has joined #ocaml
sepuku has left #ocaml []
Tobu has quit [Ping timeout: 248 seconds]
mononofu has quit [Remote host closed the connection]
Tobu has joined #ocaml
curryboy has joined #ocaml
bobzhang has quit [Remote host closed the connection]
untroubled has joined #ocaml
untroubled has quit [Client Quit]
oriba has joined #ocaml
Xizor has quit []
tautologico has quit [Quit: tautologico]
iago has joined #ocaml
smondet has quit [Quit: Leaving]
JoeyA has quit [Ping timeout: 272 seconds]
mjonsson has joined #ocaml
err404 has quit [Quit: Ex-Chat]