<Anarchos>
and that is the very reason of the weird errors mentioned in the INSTALL file which recommend LC_ALL=C as a workaround.
infinity0_ has joined #ocaml
infinity0 has joined #ocaml
infinity0 has quit [Changing host]
infinity0 has quit [Killed (verne.freenode.net (Nickname regained by services))]
Merv_ has quit [Ping timeout: 240 seconds]
infinity0 has joined #ocaml
Anarchos has quit [Quit: time to sleep]
infinity0 has quit [Remote host closed the connection]
infinity0 has joined #ocaml
infinity0 has quit [Remote host closed the connection]
apache2 has quit [Ping timeout: 240 seconds]
ahf has quit [Ping timeout: 240 seconds]
infinity0 has joined #ocaml
jlouis has quit [Ping timeout: 240 seconds]
infinity0 has quit [Remote host closed the connection]
infinity0 has joined #ocaml
infinity0 has quit [Remote host closed the connection]
infinity0 has joined #ocaml
infinity0 has quit [Remote host closed the connection]
shinnya has quit [Ping timeout: 240 seconds]
sgronblo has joined #ocaml
richi235 has quit [Remote host closed the connection]
ryanartecona has joined #ocaml
richi235 has joined #ocaml
ahf has joined #ocaml
ziyourenxiang has quit [Ping timeout: 240 seconds]
sgronblo has quit [Ping timeout: 260 seconds]
jack5638 has quit [Ping timeout: 240 seconds]
jack5638 has joined #ocaml
apache2 has joined #ocaml
copy` has quit [Quit: Connection closed for inactivity]
barcabuona is now known as octochrome2
Merv_ has joined #ocaml
spew has joined #ocaml
silver has quit [Read error: Connection reset by peer]
sgronblo has joined #ocaml
jack5638 has quit [Ping timeout: 240 seconds]
jack5638 has joined #ocaml
jack5638 has quit [Remote host closed the connection]
Merv_ has quit [Ping timeout: 240 seconds]
ryanartecona has quit [Quit: ryanartecona]
mfp__ has quit [Ping timeout: 246 seconds]
spew has quit [Quit: foobar]
ygrek has quit [Ping timeout: 240 seconds]
mfp__ has joined #ocaml
mfp__ has quit [Ping timeout: 255 seconds]
agravier has joined #ocaml
enterprisey has quit [Remote host closed the connection]
octochrome2 is now known as barcabouna
Merv_ has joined #ocaml
KeyJoo has quit [Ping timeout: 255 seconds]
olibjerd has joined #ocaml
eikke has quit [Remote host closed the connection]
Merv_ has quit [Ping timeout: 240 seconds]
gasche has left #ocaml ["ERC (IRC client for Emacs 24.5.1)"]
jlam_ has joined #ocaml
jlam__ has quit [Ping timeout: 260 seconds]
jao has quit [Ping timeout: 240 seconds]
olibjerd has quit [Quit: olibjerd]
olibjerd has joined #ocaml
Merv_ has joined #ocaml
olibjerd has quit [Quit: olibjerd]
infinity0 has joined #ocaml
Merv_ has quit [Ping timeout: 255 seconds]
iCharlie has quit []
slash^ has joined #ocaml
andreas_ has quit [Quit: Connection closed for inactivity]
_whitelogger has joined #ocaml
KeyJoo has joined #ocaml
Mercuria1Alchemi has joined #ocaml
raphaelss has quit [Remote host closed the connection]
samrat has joined #ocaml
iitalics has joined #ocaml
Algebr has quit [Remote host closed the connection]
benmachine has quit [Ping timeout: 255 seconds]
benmachine has joined #ocaml
freusque has joined #ocaml
Simn has joined #ocaml
alfredo has joined #ocaml
iitalics has quit [Quit: /thread]
ontologiae_ has joined #ocaml
ontologiae_ has quit [Ping timeout: 260 seconds]
Merv_ has joined #ocaml
Merv__ has joined #ocaml
samrat has quit [Ping timeout: 260 seconds]
Merv_ has quit [Ping timeout: 240 seconds]
jlam has quit [Read error: Connection reset by peer]
jlam has joined #ocaml
AltGr has joined #ocaml
barcabouna has quit [Ping timeout: 240 seconds]
boojinks has joined #ocaml
maarhart has joined #ocaml
barcabouna has joined #ocaml
maarhart has quit [Client Quit]
maarhart has joined #ocaml
maarhart has quit [Ping timeout: 240 seconds]
zpe has joined #ocaml
zpe_ has joined #ocaml
zpe has quit [Ping timeout: 240 seconds]
slash^ has quit [Ping timeout: 258 seconds]
samrat has joined #ocaml
andreas_ has joined #ocaml
agravier has quit [Quit: agravier]
argent_smith has joined #ocaml
KeyJoo has quit [Ping timeout: 260 seconds]
sgronblo has quit [Ping timeout: 246 seconds]
Mercuria1Alchemi has quit [Ping timeout: 240 seconds]
dhil has joined #ocaml
chat_ has quit [Read error: Connection reset by peer]
chat_ has joined #ocaml
Simn has quit [Ping timeout: 255 seconds]
Simn has joined #ocaml
tormen has quit [Remote host closed the connection]
tormen has joined #ocaml
steve_gh has joined #ocaml
mfp__ has joined #ocaml
kakadu has joined #ocaml
samrat has quit [Ping timeout: 258 seconds]
ziyourenxiang has joined #ocaml
zpe_ has quit [Remote host closed the connection]
zpe has joined #ocaml
zpe has quit [Ping timeout: 258 seconds]
_andre has joined #ocaml
slash^ has joined #ocaml
<steve_gh>
Hi. Just got a new lappie and transferred stuff over. Got some mismatches - running oasis setup-clean; ./configure points at /usr/bin, when my installation is in .oasis/4.02.3 (e.g. ocamlc: ...... /usr/bin/ocamlc). What have I missed? Thxs STeve
<mrvn>
evaluating the opam setup?
<steve_gh>
opam config env is looking good - all pointing to the right place
<octachron>
steve_gh, probably some remnants of oasis setup.* files that have not been updated/cleaned: have you tried "ocaml setup.ml -distclean"?
MercurialAlchemi has quit [Ping timeout: 255 seconds]
MercurialAlchemi has joined #ocaml
jao has joined #ocaml
<steve_gh>
looks like something is subtely and deeply screwed. Which ocaml points me to ~/.opam/4.02.3/bin, and the environment variables all look correct, but "ocaml setup.ml -distclean" failed claiming /usr/bin/ocamlc didn't exist. So I explictly gave the whole path to ocaml, and it ran fine. But now rerunning oasis setup, there is a failure because core isn't found - but opam reports we are on 4.02.3 and all the expected packages are there.
<steve_gh>
Is the answer to dust off and nuke it from orbit (remove .opam, reinstall opam, and then go from there?)
agravier has joined #ocaml
zpe has joined #ocaml
steve_gh has quit [Ping timeout: 260 seconds]
<def`>
.opam/4.02.3/bin/ocamlc exists?
<kakadu>
make sure that setup.data is removed
sepp2k has joined #ocaml
spew has joined #ocaml
jlam__ has joined #ocaml
agravier_ has joined #ocaml
jlam_ has quit [Ping timeout: 240 seconds]
jlam_ has joined #ocaml
agravier has quit [Ping timeout: 240 seconds]
jlam__ has quit [Ping timeout: 260 seconds]
spew has quit [Quit: foobar]
silver has joined #ocaml
dhil has quit [Ping timeout: 246 seconds]
agravier_ has quit [Quit: agravier_]
jao has quit [Ping timeout: 260 seconds]
elfring has joined #ocaml
nicoo has quit [Read error: Connection reset by peer]
nicoo has joined #ocaml
<elfring>
Would you like to clarify how good software build dependencies work finally when they are provided by the tool “ocamldep 4.03.0” for the program “GNU Make 4.2.1-1.7”?
alfredo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
manizzle has quit [Read error: Connection timed out]
<companion_cube>
I would like to, but you need to clarify your question first
manizzle has joined #ocaml
KeyJoo has joined #ocaml
<companion_cube>
(also, to build OCaml programs, just use ocamlbuild or jbuilder, you will do yourself a favor)
<elfring>
companion_cube: Do you occsasionally need to collaborate with the make tool?
<companion_cube>
no, not to build OCaml
freusque has quit [Quit: WeeChat 1.7.1]
freusque has joined #ocaml
freusque has quit [Quit: WeeChat 1.7.1]
freusque has joined #ocaml
freusque has quit [Client Quit]
freusque has joined #ocaml
jlouis has joined #ocaml
agravier has joined #ocaml
MercurialAlchemi has quit [Ping timeout: 268 seconds]
rootmos has joined #ocaml
zpe has quit [Remote host closed the connection]
zpe has joined #ocaml
sh0t has joined #ocaml
zpe has quit [Ping timeout: 246 seconds]
agravier has quit [Quit: agravier]
MercurialAlchemi has joined #ocaml
Algebr has joined #ocaml
ryanartecona has joined #ocaml
agravier has joined #ocaml
agravier has quit [Quit: agravier]
agravier has joined #ocaml
manizzle has joined #ocaml
shinnya has joined #ocaml
MK__ has joined #ocaml
mengu has joined #ocaml
Mercuria1Alchemi has joined #ocaml
boojinks has quit [Quit: leaving]
MercurialAlchemi has quit [Ping timeout: 255 seconds]
copy` has joined #ocaml
selite has joined #ocaml
<selite>
What keyword do I use inside my abstract class to show that the method doesn't return anything for example method virtual printNameSurname : ...?
<selite>
Is there like a void value in ocaml?
<jjb_>
type unit has only one value: ()
<companion_cube>
there is no void, non
<companion_cube>
no*
<selite>
hmm so then method virtual printNameSurname : unit?
<def`>
yes
jlam__ has joined #ocaml
jlam2 has joined #ocaml
sgronblo has joined #ocaml
jlam_ has quit [Ping timeout: 255 seconds]
jlam__ has quit [Ping timeout: 240 seconds]
olibjerd has joined #ocaml
enterprisey has joined #ocaml
dhil has joined #ocaml
Mercuria1Alchemi has quit [Remote host closed the connection]
<selite>
Why doesn't this abstract class give syntax error. All I have is abstract class for person and then I make subclass male and I want the default gender for male to be 'm'?
<selite>
octachron: Ok. So string -> unit means method takes string and doesn't return anything.
<octachron>
also as a word of advice, class are used quite rarely in idiomatic OCaml code
<selite>
Now I get Error: The instance variable name cannot be accessed from the definition of another instance variable
<selite>
Hmm I see
<selite>
think the line surname <- newSurname should be ok
<octachron>
yes 'a -> 'b means a function that takes a "'a" and return a "'b" (as a side note,unit is not exactly "nothing", more like a type that contains only one value, and thus its contents is unimportant)
sgronblo has quit [Ping timeout: 268 seconds]
<selite>
I see.
MercurialAlchemi has joined #ocaml
ontologiae_ has joined #ocaml
<selite>
So now why is there issue in changing the surname with surname <- newSurname in the male subclass?
sz0 has joined #ocaml
alfredo has joined #ocaml
<octachron>
selite, look more closely at the compiler error: the problem here is that you are using the instance variable "name" inherited from person in the definition of name in "male"
<octachron>
removing the redefinition of name and surname should work
<selite>
So redefining it inside male causes problem because I am already inheriting it?
<octachron>
yes
<octachron>
no scrap that, the problem is reusing the previous instance variable "name" inside the definition of the new "name"
<octachron>
so this is more of a name collision problem, renaming "male name surname" to "male name' surname'" will fix the problem, even if the redefinition of name and surname will still be unnecessary
<selite>
Ok
mengu has quit [Remote host closed the connection]
barcabouna has quit [Ping timeout: 255 seconds]
marsam has joined #ocaml
barcabouna has joined #ocaml
samrat has joined #ocaml
Sim_n has joined #ocaml
Simn has quit [Ping timeout: 240 seconds]
jao has joined #ocaml
samrat has quit [Ping timeout: 260 seconds]
MercurialAlchemi has quit [Ping timeout: 255 seconds]
<selite>
Is it possible to use initilization to make one object take another object's field, for example without using getter to allow surname of the male to be passed on to woman?
<selite>
How do I define a list of objs in my class, for example initially it will be empty then I can add one by one
<selite>
val mutable objs = ....?
agravier has quit [Quit: agravier]
<octachron>
selite, I don't think so. May I also point that your interface feels very side-effect and class heavy? If you are learning OCaml starting from an OO language, you may have the wrong outlook on OCaml program structure
<octachron>
"val mutabl objs = []"?
<selite>
Just experimenting around.
agravier has joined #ocaml
<octachron>
which is perfectly fine :) , I just wanted to point that the OCaml object system is a fun but quite advanced part of OCaml
<octachron>
they are whole OCaml library/program that does not use class nor objects at all
mengu has joined #ocaml
mengu has quit [Ping timeout: 246 seconds]
mrvn has left #ocaml [#ocaml]
ryanartecona has joined #ocaml
<elfring>
Did you ever try to convert dependency information which is provided by the tool “ocamldep” to an other file format (than make rules)?
KeyJoo has quit [Read error: Connection reset by peer]
<octachron>
elfring, "ocamldep -modules" is generally more amenable to data processing
Soni has quit [Ping timeout: 260 seconds]
agravier has quit [Quit: agravier]
<_y>
is -modules a recent option?
<octachron>
_y, it is at least as old as ocamlbuild
raphaelss has joined #ocaml
ontologiae_ has quit [Ping timeout: 255 seconds]
dhil has quit [Ping timeout: 255 seconds]
TarVanimelde has joined #ocaml
<octachron>
_y, it seems that it was already here in 2006
robertc` has joined #ocaml
robertc has quit [Remote host closed the connection]
Soni has joined #ocaml
mengu has joined #ocaml
mengu has quit [Ping timeout: 260 seconds]
enterprisey has quit [Remote host closed the connection]
MK__ has quit [Remote host closed the connection]
<elfring>
octachron: But it seems that the tool “ocamldep” does not provide path information for the data export variant “-modules”.
dhil has joined #ocaml
jlam_ has joined #ocaml
TarVanimelde has quit [Quit: TarVanimelde]
jlam__ has quit [Ping timeout: 255 seconds]
jlam2 has joined #ocaml
<octachron>
elfring, the mapping between paths and module dependencies need to be reconstructed in a post-processing phase indeed; but the information is here
jlam_ has quit [Ping timeout: 246 seconds]
selite has quit [Quit: Page closed]
Merv__ has quit [Remote host closed the connection]
enterprisey has joined #ocaml
<elfring>
octachron: How do you think about possibilties to restore path information?
<octachron>
elfring, trivial data processing
<elfring>
octachron: I find the safe access to data from this relationship not trivial at the moment. How should I extend my knowledge there?
<octachron>
elfring, deductive learning: read carefully the description of the "-modules" option in ocamldep man page; inductive learning: craft small examples, look at the produced output by "ocamldep -modules", infer hypothesis, check them and if imperfect go back to crafting examples
<elfring>
octachron: I am looking for safer ways with access to source file names of OCaml modules.
jlam2 has quit [Read error: Connection reset by peer]
jlam_ has joined #ocaml
freusque has joined #ocaml
<elfring>
octachron: Simple access for the combined data by the export tool for example.
<octachron>
elfring, this not safer: ocamldep does not have more information internally that the one exported by the "-modules" option
isaachodes[m] has quit [Ping timeout: 240 seconds]
tcc[m] has quit [Ping timeout: 240 seconds]
orbifx[m] has quit [Ping timeout: 240 seconds]
ontologiae_ has joined #ocaml
manizzle has quit [Ping timeout: 240 seconds]
M-jimt has quit [Ping timeout: 240 seconds]
aspiwack[m] has quit [Ping timeout: 246 seconds]
Bluddy[m] has quit [Ping timeout: 246 seconds]
M-martinklepsch has quit [Ping timeout: 240 seconds]
regnat[m] has quit [Ping timeout: 258 seconds]
mars0i[m] has quit [Ping timeout: 258 seconds]
hpd_m has quit [Ping timeout: 264 seconds]
timclassic has quit [Ping timeout: 258 seconds]
smondet[m] has quit [Ping timeout: 255 seconds]
srenatus[m] has quit [Ping timeout: 255 seconds]
dhil has quit [Ping timeout: 240 seconds]
yetanotherion[m] has quit [Ping timeout: 258 seconds]
ontologiae_ has quit [Ping timeout: 255 seconds]
kakadu has quit [Quit: Konversation terminated!]
govg has quit [Ping timeout: 260 seconds]
govg has joined #ocaml
sz0 has quit [Quit: Connection closed for inactivity]
manizzle has joined #ocaml
govg has quit [Ping timeout: 240 seconds]
<elfring>
octachron: The tool “ocamldep” provides some data not in a file format which I would prefer at the moment.
govg has joined #ocaml
manizzle has quit [Ping timeout: 258 seconds]
<octachron>
elfring, and which file format would have your preference?
olibjerd has quit [Quit: olibjerd]
<elfring>
octachron: A data export variant like “-modules” would be nice where source file names would be preserved for an use case I became interested in again.
<elfring>
octachron: File formats like Json and XML might also be useful for other data processing occasions.
<octachron>
elfring, file names are already preserved in the "-modules" output, the mapping module/compilation is not yet *computed* at the stage of the ocamldep pipeline where the "-modules" output is emitted
<octachron>
a json output format might be marginally useful, this may be worth some consideration
<elfring>
octachron: I would like to use the computed file names which you mention.
jnavila has joined #ocaml
ltsdj has joined #ocaml
ltsdj is now known as tokomak
tokomak is now known as ltsdj
kakadu has joined #ocaml
ryanartecona has quit [Quit: ryanartecona]
kakadu has quit [Ping timeout: 240 seconds]
kakadu has joined #ocaml
KeyJoo has joined #ocaml
<octachron>
elfring, currently this data is not direcly available, your best bet is thus to recompute it ((other options(forking ocamldep or parsing codept -info output) would be far more involved))
MercurialAlchemi has quit [Ping timeout: 246 seconds]
nicoo has quit [Ping timeout: 248 seconds]
nicoo has joined #ocaml
pierpa has joined #ocaml
jnavila has quit [Remote host closed the connection]
ontologiae_ has joined #ocaml
TheLemonMan has quit [Quit: "It's now safe to turn off your computer."]
ontologiae_ has quit [Ping timeout: 240 seconds]
Sim_n has quit [Quit: Leaving]
Merv_ has joined #ocaml
enterprisey has quit [Remote host closed the connection]
_andre has quit [Quit: leaving]
pierpa has quit [Ping timeout: 260 seconds]
raphaelss has quit [Ping timeout: 240 seconds]
slash^ has quit [Read error: Connection reset by peer]
freusque has quit [Ping timeout: 240 seconds]
enterprisey has joined #ocaml
raphaelss has joined #ocaml
isaachodes[m] has joined #ocaml
elfring has quit [Quit: Konversation terminated!]
aspiwack[m] has joined #ocaml
timclassic has joined #ocaml
srenatus[m] has joined #ocaml
smondet[m] has joined #ocaml
M-jimt has joined #ocaml
M-martinklepsch has joined #ocaml
hpd_m has joined #ocaml
regnat[m] has joined #ocaml
yetanotherion[m] has joined #ocaml
tcc[m] has joined #ocaml
orbifx[m] has joined #ocaml
Bluddy[m] has joined #ocaml
mars0i[m] has joined #ocaml
enterprisey has quit [Remote host closed the connection]
Merv_ has quit [Ping timeout: 255 seconds]
ryanartecona has joined #ocaml
raphaelss has quit [Quit: Lost terminal]
sh0t has quit [Remote host closed the connection]
manizzle has joined #ocaml
manizzle has quit [Max SendQ exceeded]
nicoo has quit [Remote host closed the connection]
manizzle has joined #ocaml
nicoo has joined #ocaml
manizzle has quit [Max SendQ exceeded]
manizzle has joined #ocaml
manizzle has quit [Max SendQ exceeded]
manizzle has joined #ocaml
manizzle has quit [Max SendQ exceeded]
manizzle has joined #ocaml
manizzle has quit [Max SendQ exceeded]
manizzle has joined #ocaml
tormen has quit [Quit: Lost terminal]
manizzle has quit [Max SendQ exceeded]
manizzle has joined #ocaml
tormen has joined #ocaml
manizzle has quit [Max SendQ exceeded]
manizzle has joined #ocaml
manizzle has quit [Max SendQ exceeded]
manizzle has joined #ocaml
manizzle has quit [Max SendQ exceeded]
manizzle has joined #ocaml
manizzle has quit [Ping timeout: 260 seconds]
Merv_ has joined #ocaml
AltGr has left #ocaml [#ocaml]
jbrown has joined #ocaml
troydm has joined #ocaml
manizzle has joined #ocaml
manizzle has quit [Max SendQ exceeded]
manizzle has joined #ocaml
ltsdj has quit [Ping timeout: 255 seconds]
argent_smith has quit [Quit: Leaving.]
kakadu has quit [Remote host closed the connection]