<yminsky>
OK. Thanks all. I think I’m now well on my way.
<AltGr>
Hi
<AltGr>
[catching up]
yminsky has quit [Quit: yminsky]
swgillespie has joined #ocaml
<AltGr>
well it seems everything has been solved already :)
<AltGr>
Thanks Drup, whitequark
paolooo has joined #ocaml
badon has quit [Quit: Leaving]
MrScout has quit [Remote host closed the connection]
The_Mad_Pirate has quit [Ping timeout: 252 seconds]
ygrek has joined #ocaml
MrScout has joined #ocaml
rwmjones has quit [Read error: Network is unreachable]
rwmjones has joined #ocaml
paolooo has quit [Ping timeout: 246 seconds]
The_Mad_Pirate has joined #ocaml
<TheCommieDuck>
this is making me bang my head.
<TheCommieDuck>
I'm trying to do some kind of foreach(i in list) bindings = do_stuff i bindings
q66 has quit [Quit: Leaving]
MrScout has quit [Remote host closed the connection]
badon has joined #ocaml
<whitequark>
List.fold_left?
<TheCommieDuck>
errrm
manizzle has quit [Ping timeout: 264 seconds]
<TheCommieDuck>
that very well might be it
<TheCommieDuck>
fold_left is iterate a list with an accumulator and perform some function on each element, right?
<TheCommieDuck>
(I've looked over it so many times yet it won't click)
<TheCommieDuck>
yeah, looks it. Thanks :)
TheCommieDuck has quit [Read error: Connection reset by peer]
badon_ has joined #ocaml
badon has quit [Disconnected by services]
badon_ is now known as badon
psy_ has joined #ocaml
claudiuc has quit [Remote host closed the connection]
psy_ has quit [Ping timeout: 265 seconds]
yminsky has joined #ocaml
mort___ has quit [Ping timeout: 250 seconds]
badon has quit [Disconnected by services]
badon_ has joined #ocaml
jneen is now known as jneen|afk
badon_ is now known as badon
<yminsky>
Another question about OPAM. Once I create a dot-install file, what do I do to make the opam package aware of it?
<yminsky>
And is the .install file a manifest of what you’ve otherwise told the system to do? Or does OPAM do the copying for you automatically, based on the .install file?
<yminsky>
Also, I’d be happy for tips as to where this is all documented. I didn’t quite manage to find this in the HOWTO.
Axle has quit [Quit: Leaving.]
<AltGr>
A file foo.install will automatically be used when found at the root of the source for package foo
<yminsky>
So, I can just build the project, and do nothing, and the files will be installed accordingly? Lovely.
<yminsky>
Am I looking in the wrong place for documentation? I couldn’t find this described anywhere.
<AltGr>
On the repository, files put in the package's definition in subdirectory `files/` are copied to the root of the project before anything else, so putting the .install file there works too
<AltGr>
Indeed it's not yet very well documented. But it's been around a while and works quite well so we should probably advertise it more now.
<yminsky>
And I suppose the point of this is to give a good mechanism for uninstalling later?
<AltGr>
You can get rid of the `install` and `remove` fields if you use .install files,yes
<AltGr>
(but using both is possible)
<AltGr>
#1532 has been fixed since 1.2.1-beta2 by the way ; but you can't really use the new `libexec:` field on the repository just yet, of course.
<yminsky>
Well, I just submitted my first opam PR. I feel like I’ve arrived.
<AltGr>
The idea was to integrate into build tools, or at least provide ways to ease .install file generation -- that seemed to be the thing to do first before advertising .install files more
<AltGr>
Cool ! :)
<destrius>
yminsky: writing a book wasn't good enough? ;)
<AltGr>
You may also want to check out the stand-alone `opam-installer` command, that handles .install files outside of OPAM
jao has quit [Ping timeout: 264 seconds]
<yminsky>
What’s the use case for it?
<yminsky>
(destrius: writing a book was good too…)
<destrius>
yminsky: your book was really good btw, helped me immensely. thanks!
<AltGr>
Providing a Makefile with a `make install` target without specifying the files to install twice
nopf has quit [Ping timeout: 240 seconds]
<yminsky>
Ah, makes sense.
<AltGr>
yminsky, you may want to try `opam lint` on your package description
<AltGr>
or jump to opam-publish (`opam install opam-publish`) that should ease contributing to opam-repo greatly
<yminsky>
Hmmm. opam lint gives me weird advice.
<yminsky>
- Field 'opam-version' refers to the patch version of opam, should be of the form MAJOR.MINOR
<yminsky>
- Field 'opam-version' doesn't match the current version, validation may not be accurate
<yminsky>
but my opam-version is this: opam-version: "1.2.0"
<yminsky>
which is the version of opam I’m running.
<yminsky>
Oh, never mind.
<AltGr>
hmm, the second warning may be spurious, I'll check
<yminsky>
The second message is weird, but the first one is right on.
<AltGr>
we assume we don't change the format between patch versions
<AltGr>
thanks ! But is still here in 1.2.1, first warning implies the second
<yminsky>
What do these mean:
<yminsky>
- Field 'ocaml-version' is deprecated, use 'available' instead
<yminsky>
- Missing field 'bug-reports'
<yminsky>
- Missing field 'dev-repo'
<yminsky>
- Package declares 'depexts', but has no 'post-messages' to help the user out when they are missing
<yminsky>
Is there detailed help on the file format somewhere?
<AltGr>
Fixed
<yminsky>
That’s quick turnaround!
<yminsky>
I’m trying to fill in dev-repo, but keep on getting “not a recognized version control URL”.
<AltGr>
but `dev-repo` doesn't have a way to specify an explicit repository kind :/
<yminsky>
Though how does that work? Can you pin a random project? Where do you get the opam file? I would have thought pinning would be largely for opam project descriptions, not source repos.
reem has quit [Remote host closed the connection]
<yminsky>
I like how it says “dev-repo” and means “github address”. You might want to look at changing your variable names.
badkins has quit [Remote host closed the connection]
manud has quit [Quit: manud]
<yminsky>
Anyway, thanks for the advice! That was pretty painless, though I have to admit that without IRC, I’d have had no shot.
<AltGr>
Sorry about that! with github we workaround it by suffixing the address with `.git` which makes opam detect it as git; but bitbucket doesn't accept `planets.hg`
<whitequark>
yminsky: huh? no, it means just any source control repo. git://git.whitequark.org/foo.git
<whitequark>
why not
<AltGr>
This'll be valuable in improving the documentation
<yminsky>
whitequark: You mean any _git_ source control repo, right? :)
<AltGr>
yminsky, no no, it _should_ work
<AltGr>
but OPAM has to guess somehow that it's a hg repo
<whitequark>
oh, hg doesn't have hg:// urls
<AltGr>
if it's git://xxx/yyy.git it's kind of easy
<yminsky>
Totally. I understand the problem, and why it’s easier given how the git URL works. I’m just giving you a hard time. Actually, this has been quite lovely.
nopf has joined #ocaml
<yminsky>
Thanks for all the help guys. I’m off to bed. I just hope the gods smile upon my PR...
<AltGr>
well that's a bug, OPAM would support it but you can't specify it in the metadata :/
<AltGr>
> Though how does that work? Can you pin a random project?
<AltGr>
yes, you can
<yminsky>
If you pin a random project, how does it know what to build?
<AltGr>
it'll either pick an opam file from the project, if there is one
<Algebr>
Say super class has val mutable children = [], and sub class wants to act on this ivar, do I have to define val mutable children = [] as well in the sub class? I thought I could just act on the ivar directly but no dice
<AltGr>
or from the repo if there is a project by this name
<AltGr>
or prompt you with an editor to write the opam file (from a template)
<yminsky>
Oh, got it. That’s shockingly user friendly.
<yminsky>
I’ll try to understand depexts next time around. There’s some depects stuff from whoever packaged 0.1.13 for me, which I left in place but don’t quite grok yet.
<yminsky>
Always more to learn...
<yminsky>
Anyway, goodnight all.
yminsky has quit [Quit: yminsky]
<AltGr>
Good night
<AltGr>
Just made it so that you can write hg://https://bitbucket.org/yminsky/planets
<AltGr>
ugly but this way at least it's possible
<whitequark>
wow that's horrible
<whitequark>
please don't
<whitequark>
can you do it sth like ["hg", "url://"]?
<whitequark>
or "url://" {hg}
<whitequark>
so that the field value is a well-formed URL instead of... something
<whitequark>
that you can't parse with an URL parser
reem has joined #ocaml
<AltGr>
huhu
<AltGr>
yeah, no solution without changing file format it seems
<whitequark>
yes
<whitequark>
i mean, with hg://, you are still changing file format.
<whitequark>
not syntactically, but changing
<AltGr>
for the user, yes, but not from OPAM's point of view
<AltGr>
(since it didn't work at all before)
<AltGr>
"url://" {hg} would be the best but is a syntax error to earlier versions
swgillespie has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
johnf has joined #ocaml
<Algebr>
Feeling pretty dumb...I have a super class defined as class virtual b0 = object(self) val mutable c = [], and I have another class called b1 which inherits from b0 and finally a third class b2 which inherits from b1. I'm trying to use the instance variables from b0 in b2 but I keep getting Unbound instance variables. I'm guessing then that the lookup is only one level up?
<struktured>
Algebr: can you show how you are invoking the instance varS?
<struktured>
Algebr: compiles for me, with some modifications..
<Algebr>
/ sigh. not sure if I'm doing something wrong or lambda term is doing some magic.
<struktured>
Algebr: well, in your example, your missing the "ends" on each object definition, and I didn't have "t" to inherit from so not sure what the impact of that is
<Algebr>
struktured: okay, I figured it out but am not sure why this is why it is, something about I guess binding with ocaml methods. The vbox I was using was defined as class vbox = Other_module.vbox, so I was doing inherit vbox which doesn't work, but doing inherit Other_module.vbox did the trick.
<struktured>
interesting, a subtle scoping issue? I imagine "open Other_module" would also work
Algebr has quit [Ping timeout: 245 seconds]
psy_ has joined #ocaml
mcclurmc_ has joined #ocaml
MrScout has joined #ocaml
mcclurmc has quit [Ping timeout: 250 seconds]
MrScout has quit [Remote host closed the connection]
manizzle has joined #ocaml
ygrek has quit [Ping timeout: 265 seconds]
<flux>
oh, I hadn't even noticed you can do class a = b
badkins has joined #ocaml
badkins has quit [Ping timeout: 245 seconds]
reem has quit [Remote host closed the connection]
reem has joined #ocaml
reem has quit [Remote host closed the connection]
ontologiae has joined #ocaml
reem has joined #ocaml
reem has quit [Remote host closed the connection]
reem has joined #ocaml
manud has joined #ocaml
manud has quit [Client Quit]
ygrek has joined #ocaml
reem has quit [Remote host closed the connection]
ontologiae has quit [Ping timeout: 245 seconds]
paolooo has joined #ocaml
antkong has quit [Quit: antkong]
reem has joined #ocaml
swgillespie has joined #ocaml
manizzle has quit [Remote host closed the connection]
Muzer has quit [Read error: Connection reset by peer]
Simn has joined #ocaml
psy_ has quit [Remote host closed the connection]
idem-pyon-tent has quit [Ping timeout: 240 seconds]
idem-pyon-tent has joined #ocaml
swgillespie has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
swgillespie has joined #ocaml
Muzer has joined #ocaml
c74d has quit [Remote host closed the connection]
ggole has joined #ocaml
matason has joined #ocaml
idem-pyon-tent is now known as im-pyon-stor
c74d has joined #ocaml
swgillespie has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
Haudegen has quit [Ping timeout: 246 seconds]
zpe has joined #ocaml
tane has joined #ocaml
matason has quit [Ping timeout: 264 seconds]
Haudegen has joined #ocaml
octachron has joined #ocaml
Kakadu has joined #ocaml
reem has quit [Remote host closed the connection]
zpe has quit [Remote host closed the connection]
reem has joined #ocaml
avsm has joined #ocaml
paolooo has quit [Ping timeout: 246 seconds]
leowzukw has joined #ocaml
captain_furious has joined #ocaml
psy_ has joined #ocaml
psy_ has quit [Max SendQ exceeded]
psy_ has joined #ocaml
dav_ has joined #ocaml
keen__________72 has quit [Read error: Connection reset by peer]
dav has quit [Ping timeout: 240 seconds]
keen__________72 has joined #ocaml
matason has joined #ocaml
zpe has joined #ocaml
burgobianco has quit [Remote host closed the connection]
Kakadu has quit [*.net *.split]
struk|work has quit [*.net *.split]
antegallya has joined #ocaml
kapil___ has quit [Quit: Connection closed for inactivity]
dsheets has quit [Ping timeout: 246 seconds]
leowzukw has quit [Remote host closed the connection]
antegallya has quit [Quit: Leaving.]
antegallya has joined #ocaml
octachron has quit [Ping timeout: 252 seconds]
lyxia has joined #ocaml
reem has quit [Remote host closed the connection]
lyxia_ has joined #ocaml
AltGr has left #ocaml [#ocaml]
zpe has quit [Remote host closed the connection]
octachron has joined #ocaml
tane has quit [Quit: Verlassend]
ollehar has joined #ocaml
Haudegen has quit [Ping timeout: 256 seconds]
yomimono has joined #ocaml
mort___ has joined #ocaml
dsheets has joined #ocaml
im-pyon-stor is now known as pyon
Submarine has joined #ocaml
Haudegen has joined #ocaml
lyxia_ has quit [Quit: leaving]
myst|wor1 has quit [Quit: Lost terminal]
antegallya has quit [Ping timeout: 246 seconds]
zpe has joined #ocaml
antegallya has joined #ocaml
aubergines has joined #ocaml
mort___ has quit [Quit: Leaving.]
_andre has joined #ocaml
jao has joined #ocaml
jao has quit [Changing host]
jao has joined #ocaml
ygrek has quit [Ping timeout: 250 seconds]
psy_ has quit [Read error: No route to host]
ghostpl_ has joined #ocaml
psy_ has joined #ocaml
antegallya has quit [Ping timeout: 264 seconds]
badon has quit [Read error: Connection reset by peer]
badon has joined #ocaml
mort___ has joined #ocaml
mort___ has quit [Client Quit]
Submarine has quit [Remote host closed the connection]
aviraldg has joined #ocaml
aviraldg has quit [Max SendQ exceeded]
paradoja has joined #ocaml
mort___ has joined #ocaml
avsm has quit [Quit: Leaving.]
mort___ has left #ocaml [#ocaml]
myst|work has joined #ocaml
antegallya has joined #ocaml
Jefffrey has joined #ocaml
Algebr has joined #ocaml
<Simn>
Is there any way to replicate the C feof behavior on an in_channel? That is, return true only if there has actually been a read attempt after end of file.
<whitequark>
I don't think so. but you can wrap the in_channel and catch the exception
<whitequark>
then mutate some value inside your wrapper to indicate that EOF is reached
<Simn>
Yeah something like that was my backup plan, hmm...
Unhammer has quit [Changing host]
Unhammer has joined #ocaml
ygrek has joined #ocaml
badon has quit [Ping timeout: 244 seconds]
antegallya has quit [Ping timeout: 264 seconds]
badon has joined #ocaml
antegallya has joined #ocaml
antegallya has quit [Ping timeout: 272 seconds]
<Simn>
Would it be too simple/bad practice to just wrap it in a tuple with a bool ref?
larhat has joined #ocaml
yminsky has joined #ocaml
<octachron>
a tuple works but why not use a record?
<flux>
I suppose you might even be able to work with in_channel option ref, or a record doing the same..
<flux>
unless you have some other operations you want to perform on an eofed channel
<Simn>
I would rather not make assumptions about what users might want to do with that.
zpe_ has joined #ocaml
moei has quit [Quit: Leaving...]
zpe has quit [Ping timeout: 246 seconds]
reem has joined #ocaml
Haudegen has quit [Ping timeout: 252 seconds]
axiles has quit [Ping timeout: 250 seconds]
axiles has joined #ocaml
kapil___ has joined #ocaml
reem has quit [Ping timeout: 256 seconds]
jgjl has joined #ocaml
psy_ has quit [Read error: No route to host]
yminsky has quit [Quit: yminsky]
<Algebr>
Can I pattern match something like this? | {(imagine lots of other fields)foo=Bar|| Baz }
<Drup>
yes
<Drup>
except it's |, not ||
<Algebr>
Drup: in browserMain, you have an object with two initializers, how can that be?
<ggole>
In general you can replace any pattern with a (possibly parenthesized) sub pattern
Haudegen has joined #ocaml
segmond has quit [Ping timeout: 255 seconds]
<Drup>
Algebr: what's the problem with having two initializers ?
<Drup>
they are executed in order
<Algebr>
I guess I was thinking of the initializer like python's __init__, but that's wrong I see now.
bytbox has joined #ocaml
segmond has joined #ocaml
avsm has joined #ocaml
BitPuffin has joined #ocaml
BitPuffin has quit [Ping timeout: 265 seconds]
avsm has quit [Quit: Leaving.]
segmond has quit [Ping timeout: 245 seconds]
BitPuffin has joined #ocaml
uris77 has joined #ocaml
segmond has joined #ocaml
shinnya has joined #ocaml
tane has joined #ocaml
<tane>
good afternoon
<Algebr>
Drup: When you have a second, can you take a look at this pastebin? http://pastebin.com/wYb4m1q3 I'm not sure why these events are not going off, surely events should go off from the most specific widget to the most general/outsidemost.
<Drup>
it's the other way around
<Drup>
I think.
<tane>
yes
<tane>
[on_event ?switch f] calls [f] each time an event is
<tane>
received. If [f] returns [true], the event is not passed to
<tane>
other callbacks.
thomasga has joined #ocaml
<tane>
exchange false and true in your event handlers, i guess
<tane>
Drup, btw, after doing some stuff in haskell i have to take bake my statement about it's readability. Full agreement on your statement now :)
segmond has quit [Ping timeout: 245 seconds]
<tane>
back*
govg has joined #ocaml
Denommus has joined #ocaml
ghostpl_ has quit [Remote host closed the connection]
<MercurialAlchemi>
ah, the pitfalls of using booleans
<Algebr>
tane: hmm, tried that, doesn't seem to be correct.
segmond has joined #ocaml
<mbac>
when it comes to readability, haskell is like perl for the sophisticated man
* mbac
ducks
<MercurialAlchemi>
mbac: don't say such things about Perl
<MercurialAlchemi>
:)
<Drup>
mbac: well, there is one thing to be said about haskell
<Drup>
since whitespace is significant, you are garanteed to have some of them in a program
<Drup>
you don't have such garantee for Perl :D
<mbac>
zing!
ghostpl_ has joined #ocaml
<mbac>
excellent, the bait has been taken
<Drup>
I would never pass up such a bait, it's too tasty :D
pakchoi2 has joined #ocaml
<tane>
Algebr, what seems to be the problem?
pakchoi2 has quit [Max SendQ exceeded]
pakchoi2 has joined #ocaml
<Drup>
Algebr: I also thing it's from the root widget and goes down, not the other way around
<Drup>
but I'm not sure
pakchoi2 has quit [Max SendQ exceeded]
<Drup>
think*
pakchoi2 has joined #ocaml
pakchoi2 has quit [Max SendQ exceeded]
<MercurialAlchemi>
Drup: bah, it's a matter of using . and >>= enough
<Algebr>
tane: Problem is that inner most widgets aren't having their events go off. In the paste bin link, I have tried what I think to be every permutation of the return bools
pakchoi2 has joined #ocaml
pakchoi2 has quit [Max SendQ exceeded]
<Drup>
Algebr: don't guess, returns false everywhere, and see what happens
pakchoi2 has joined #ocaml
pakchoi2 has quit [Max SendQ exceeded]
<Drup>
if nothing is triggered, check that the right widget can be focused
<Drup>
with the method #can_focus
bytbox has quit [Remote host closed the connection]
<Drup>
(you can inherit it and change the result, to be sure it returns true)
badkins has joined #ocaml
ghostpl_ has quit [Ping timeout: 252 seconds]
<Drup>
(I got bitten by that one too)
<Drup>
MercurialAlchemi: any solved problem can be better solved by applying code golf on it.
<MercurialAlchemi>
:)
<Algebr>
Drup: That was it! yay.
<tane>
Algebr, returning true from can_focus?
<Algebr>
yep
<Drup>
now you can fiddle with event return value :D
<tane>
alright
<tane>
yeah, the boolean means "event should not be handled any further" :D
pyon is now known as mabino-pyon
<tane>
does anyone know of work being done on some html5 compliant parser?
<flux>
I only know of one html parser for OCaml: Nethtml
<freling>
I starting a Game Boy emulator in OCaml and I was wondering how to model the CPU. I'm thinking about using an object but I wonder if there is a more "functional" way to do it
<zozozo>
freling: as a module ?
<freling>
So all the registers, etc, as a record in a module? And then just functions to manipulate the "cpu" record?
<zozozo>
for instance
<freling>
I'm quite used to C++ and I don't want to fall in the trap of making everything an object
<Drup>
A module seems weird
<zozozo>
well, here basically, you want something with a current state and transition functions (more or less) from a state to another state, right ?
<Drup>
I would just do a record
<Drup>
(+ auxiliary functions)
<Drup>
you need an object when you want open recursion and/or inheritence
<Drup>
you don't need that for your CPU
<freling>
Worth a try, I'll go with records
<Drup>
you just want one big thing with lot's of mutable fields
<freling>
Yeah, I read that in Real World OCaml and I was wondering "if I don't need these features, is an object still suited"
<Drup>
(technically, you could do an immutable CPU, but I'm not sure it's worth the bother)
<Drup>
(you could do awesome backtracking execution, though :D°
<freling>
But a record with mutable fields and aux. functions seems to describe an object
<freling>
:D I could, but I'll keep it simple
kapil___ has quit [Quit: Connection closed for inactivity]
<flux>
I wouldn't probably try to do a 'functional' (ie. immutable) CPU emulator, unless it provides some tangible benefit (ie: ability to efficiently store CPU snapshots for purposes of rewinding back&forth emulation history)
<Drup>
yeah, I agree
<dmbaturin>
That can make a conference paper I guess. :)
<Drup>
I'm sure some haskeller did it
<ggole>
Immutable machine state might be interesting for a path-sensitive debugger
<ggole>
Smart fuzzers like AFL work a bit like that (using fork under the hood)
<MercurialAlchemi>
wonder what performance would look like
avsm has joined #ocaml
<freling>
If you only store n states and reuse old ones, it should be doable
<freling>
For a small architecture
<dmbaturin>
Most of it is going to be shared anyway, I guess.
<Drup>
well, the memory is going to be very inneficient if immutable
<Drup>
immutable arrays are not fabulous
<dmbaturin>
Ah, yeah, I mean the CPU state. Not sure if it's any good without immutable memory.
<MercurialAlchemi>
which may not be too terrible in terms of performance
thomasga has quit [Quit: Leaving.]
larhat has quit [Quit: Leaving.]
<Drup>
access/modif is not in O(1)
<Drup>
so ...
<MercurialAlchemi>
access to the latest copy is o(1)
<Drup>
right
<MercurialAlchemi>
update too
<Drup>
oh ?
<Drup>
hum, ok
<MercurialAlchemi>
you just have to be really sure you want to access an older version :)
octachron has quit [Quit: Leaving]
<MercurialAlchemi>
on the other hand, it looks like this would eat all your ram very quickly
raphaelss has joined #ocaml
enquora has joined #ocaml
captain_furious1 has joined #ocaml
captain_furious has quit [Ping timeout: 240 seconds]
zpe_ has quit [Remote host closed the connection]
ygrek has quit [Ping timeout: 264 seconds]
ptc has joined #ocaml
ptc is now known as Guest33895
jneen|afk is now known as jneen
Guest33895 has quit [Ping timeout: 272 seconds]
ptc_ has joined #ocaml
leowzukw has joined #ocaml
slash^ has joined #ocaml
mcclurmc has joined #ocaml
mcclurmc_ has quit [Ping timeout: 244 seconds]
ebzzry has quit [Ping timeout: 244 seconds]
ebzzry has joined #ocaml
yomimono has quit [Ping timeout: 256 seconds]
badkins_ has joined #ocaml
badkins has quit [Ping timeout: 245 seconds]
badkins_ is now known as badkins
mengu has joined #ocaml
matason has quit [Ping timeout: 256 seconds]
mengu has quit []
<tobiasBora>
Hello ! In eliom-base-app I can see that the template uses Bcrypt but I can't find it in opam
<tobiasBora>
What is the "mother library" ?
slash^ has quit [Read error: Connection reset by peer]
<Drup>
safepass, I would guess
<Drup>
according to the opam file
MrScout has joined #ocaml
<Algebr>
Drup: do you know if there's a way to increase the font size for some strings in lambda term? I'm not seeing anything suggestive in styles related code
<Drup>
no, because has a terminal application, you don't have control over that
<Algebr>
Oh i didn't know that
<tobiasBora>
Drup : great thank you ! How did you find it with opam ? opam search gives me another package.
<Drup>
you do realize you are repeating yourself ?
MercurialAlchemi has quit [Ping timeout: 256 seconds]
ghostpl_ has quit [Remote host closed the connection]
<dmbaturin>
Drup: I think I sort of understand GADTs after reading that article.
larhat has joined #ocaml
Denommus has quit [Remote host closed the connection]
MercurialAlchemi has joined #ocaml
moei has joined #ocaml
reem has joined #ocaml
bytbox has joined #ocaml
manud has joined #ocaml
manud has quit [Client Quit]
manud has joined #ocaml
BitPuffin has quit [Ping timeout: 240 seconds]
cthuluh has quit [Ping timeout: 255 seconds]
oscar_toro has joined #ocaml
Denommus has joined #ocaml
Submarine has quit [Remote host closed the connection]
Jefffrey has quit [Quit: Leaving...]
mort___ has joined #ocaml
bytbox has quit [Remote host closed the connection]
_andre has quit [Quit: leaving]
<Anarchos>
Drup i had a typography problem with my french guillemets.
cthuluh has joined #ocaml
ghostpl_ has joined #ocaml
cthuluh has quit [Ping timeout: 264 seconds]
ghostpl_ has quit [Remote host closed the connection]
<smondet>
Anarchos: if you like to be superpicky, your quotation marks there are french-swiss or spanish; the french-french ones need a small unbreakable space :)
ghostpl_ has joined #ocaml
<Anarchos>
smondet which i don't know how to type on my IRC client :)
<dmbaturin>
freling: AVR can be a good candidate for a fully persistent simulator. Most of the memory is immutable in very literal sense. :)
<dmbaturin>
smondet: Wow, I'm not the only typography freak here! ;)
<dmbaturin>
Never got a chance to typeset anything in french though, so I didn't know about french-french quotes.
<def`>
Anarchos: that's normal, however the compiler should work; ocamlc --version ?
ontologiae has quit [Ping timeout: 246 seconds]
niculina has joined #ocaml
<niculina>
ciao
<niculina>
!list
niculina has left #ocaml [#ocaml]
oscar_toro has quit [Ping timeout: 245 seconds]
<Anarchos>
dmbaturin thanks for this excerpt. Who is the author ?
<Anarchos>
def` 4.03.0+dev7-2015-02-08
avsm has joined #ocaml
<def`>
Anarchos: no support for experimental version of ocaml
reem has quit [Remote host closed the connection]
BitPuffin has joined #ocaml
<dmbaturin>
Anarchos: Uhm, what excerpt?
ontologiae has joined #ocaml
claudiuc has joined #ocaml
<Algebr>
When ocamldebug complains about unbound modules, what ought one to do? ocamlfind doesn't seem to have a wrapper on it yet. I tried -I ~/.opam/packages
<dmbaturin>
Anarchos: The page screnshot? I have no idea who's the author and did't even read the text, it just show a "widow"—a line separated from from the rest of the paragraph, which is a serious typesetting defect (almost a mortal sin).
reem has joined #ocaml
BitPuffin has quit [Ping timeout: 245 seconds]
<Algebr>
nvm, figured it out using a workaround with ocamlfind
avsm has quit [Quit: Leaving.]
<Anarchos>
def` :/
<def`>
stick to 4.02.1
bytbox has joined #ocaml
ontologiae has quit [Ping timeout: 252 seconds]
<Anarchos>
def` it is a homebrew compiled version of ocaml...
<def`>
use opam
struk|work has joined #ocaml
enquora has quit [Quit: enquora]
Haudegen has quit [Ping timeout: 244 seconds]
ontologiae has joined #ocaml
Haudegen has joined #ocaml
<Anarchos>
def` or "pkgman install ocaml" on my platform.
MrScout has quit [Remote host closed the connection]
<def`>
…
MrScout has joined #ocaml
shinnya has joined #ocaml
MrScout has quit [Remote host closed the connection]
<Drup>
dmbaturin: french typography it's much more fun that english'
<def`>
:)
<Anarchos>
Drup i could never learn the rules of french typo : only exceptions, no global ruling to understand...
<Drup>
unbreakable spaces in weird places
<Anarchos>
Drup if only the spaces... but those caps/no caps rules....
<Anarchos>
Drup don't get me wrong : if well done, those documented are beautiful to read. But i am not skilled enough to do it myself. Sadly computer typesetting killed typography...
<Drup>
babel french in latex enforces almost all the right typographic rules
<Drup>
and doesn't enforce the silly ones that nobody applies anyway
MrScout has joined #ocaml
<dmbaturin>
Computer typesetting didn't kill typography, people who think MS Word is a typesetting package did.
<Drup>
:D
<struk|work>
just like video killed the radio star
* dmbaturin
saw people trying to send .doc's to publishing houses for printing
<Anarchos>
dmbaturin taht is not so silly : publishing houses are intended to get manuscripts by post, and typeset them....
* dmbaturin
was also hired by those people to typeset it after they got laughed at at the publishing house
<Drup>
Anarchos: how many centuries ago ? :D
<Anarchos>
Drup before Springer asked for latex submission and for cash....
<Drup>
dmbaturin: to be fair, there is an issue with how publishing houses work nowadays
<Drup>
I mean, they don't have to do the typesetting anymore
<Drup>
but they keep charging the same amount of money
<dmbaturin>
Drup: Well, good ones do, especially academic ones.
<Anarchos>
anyway time to sleep.
Anarchos has quit [Quit: sleep time.]
<Drup>
and they keep typesetting styles that don't make any sense if you suppose digital distribution
<dmbaturin>
I can rant about their business model and knowledge monopoly for hours, but the fact remains, their typesetting is still good.
<Drup>
like, double column "go fuck your eyes" 9pt
<dmbaturin>
I have an idea to start a company specialized in typesetting for digital distribution and call it "@makeatletter publishing". ;)
<Drup>
=')
ontologiae has quit [Ping timeout: 244 seconds]
lordkryss has joined #ocaml
WraithM has quit [Quit: leaving]
destrius has quit [Remote host closed the connection]
reem has quit [Remote host closed the connection]
Simn has quit [Quit: Leaving]
reem has joined #ocaml
captain_furious1 has quit [Ping timeout: 272 seconds]
cdidd has quit [Ping timeout: 264 seconds]
mort___ has quit [Quit: Leaving.]
larhat has quit [Quit: Leaving.]
Kakadu has quit [Remote host closed the connection]
cdidd has joined #ocaml
uris77 has quit [Quit: leaving]
mabino-pyon has quit [Quit: I'm sorry but... I don't have any interest in three-dimensional girls.]