nikki93 has quit [Remote host closed the connection]
skchrko has quit [Quit: Leaving]
csakatoku has quit [Remote host closed the connection]
csakatoku has joined #ocaml
csakatoku has quit [Ping timeout: 240 seconds]
BitPuffin has quit [Ping timeout: 240 seconds]
ontologiae has joined #ocaml
talzeus has joined #ocaml
csakatoku has joined #ocaml
ygrek has joined #ocaml
avsm has quit [Quit: Leaving.]
shinnya has quit [Ping timeout: 260 seconds]
mcclurmc has quit [Remote host closed the connection]
avsm has joined #ocaml
avsm has quit [Client Quit]
avsm has joined #ocaml
ollehar has quit [Ping timeout: 265 seconds]
<jle`>
is there a clean way to do simulate pattern matching on strings as if they were char list
yminsky has joined #ocaml
<jle`>
do something if the string is empty, do something with the first char and the rest if it is not
<ygrek>
convert it to char list first?
<yminsky>
Anyone interested in giving the Real World OCaml install instructions a spin? I'd love to get feedback before the invading hordes start using it....
<jle`>
ygrek: i have been doing that, but i am basically processing a string one char at a time, kind of like recursion, and this would involve exploding and re-imploding for every single character
<def-lkb>
There is probably an option to list keywords in order to prevent ac completion… But I agree, most default settings get in the way of the user.
<yminsky>
ocp-index has a default .emacs file?
<yminsky>
We should make an OPAM package with a good set of default emacs settings.
<yminsky>
Something that ties together ocp-index, merlin, auto-complete, tuareg, the default emacs mode, etc.
<yminsky>
That said, I'm still inclined to think that installing the emacs files along with the relevant packages (as opam already does) is better, in that it's one step less.
<ggole>
Yes, you may be right.
<yminsky>
thomasga: would you be up for getting an initial repo set up? I'd be happy to help hack on the emacs config, but I sadly don't know much about creating the OPAM package.
<yminsky>
thomasga: (though, from glancing at your emacs configs, I suspect you'll consider mine to be hopelessly ugly.)
<thomasga>
sure. Just need help for naming the repo though :p
<yminsky>
Hah!
<yminsky>
default-emacs-configs-for-ocaml?
<yminsky>
(I err on the side of descriptive and dull names...)
<ggole>
emacs-ocaml-settings
<yminsky>
Sure. Much better.
<ggole>
Or maybe "emacs-beginner-settings"
<ggole>
(Is it redundant to have "ocaml" in the name of an opam package?)
<yminsky>
I was thinking of the name for the github repo.
madroach has joined #ocaml
<yminsky>
The opam package need not mention OCaml I think.
<ggole>
Right.
emias has joined #ocaml
<rks`>
hmm, isn't "package" available by defaut on emacs 24?
<yminsky>
I think it is.
<yminsky>
I just installed marmalade on my emacs, and that was pretty damn simple.
<rks`>
but yes I agree: it's much better to install the modes with opam than with marmalade
<yminsky>
If we can get marmalade working, I don't really mind using that instead of OPAM. The current state, though, is split: some elisp files do now come through OPAM, and some don't. Seems like we want a reasonably consistent story.
<rks`>
that way you don't have synchronisation problems between your mode and tbe tool
<rks`>
the*
csakatok_ has quit [Ping timeout: 252 seconds]
wolfnn has joined #ocaml
thomasga has quit [Quit: Leaving.]
cantstanya has joined #ocaml
<yminsky>
For sure.
yezariaely has quit [Quit: Leaving.]
thomasga has joined #ocaml
yminsky has quit [Quit: yminsky]
<thomasga>
sorry I've been disconnect
AltGr has left #ocaml []
shinnya has joined #ocaml
<jpdeplaix>
thomasga: is there an option in opam for installing a switch plus the packages installed in the current switch ? (like « opam switch reinstall » do)
<jpdeplaix>
does*
yminsky has joined #ocaml
eikke has quit [Ping timeout: 252 seconds]
<thomasga>
you can export and import the package installed in your current switch
<kerneis>
jpdeplaix: export/import through a text file
<jpdeplaix>
mmmh I'm not sure to see what you mean :/
mcclurmc has quit [Remote host closed the connection]
demonimin has quit [Ping timeout: 252 seconds]
mcclurmc has joined #ocaml
demonimin has joined #ocaml
mcclurmc has quit [Remote host closed the connection]
eikke has joined #ocaml
mcclurmc has joined #ocaml
yminsky has quit [Quit: yminsky]
avsm has joined #ocaml
ggole_ has joined #ocaml
<gour>
i haven't tried it (yet), but wonder what is situation in regard to merlin & vim?
<rks`>
the situation is awesome
<gour>
:-)
<gasche>
both rks and deflkb use Vim as their main editor, I believe
q66_ has joined #ocaml
<gasche>
that said, they had to use Emacs temporarily to test Merlin-related issues; after a bit of that they'll recognize the One True Editor and switch permanently
<gasche>
so do you vim while you can get some support
ggole has quit [Ping timeout: 240 seconds]
<gasche>
s/you/use/
<rks`>
I think def-lkb already switched
q66 has quit [Disconnected by services]
q66_ is now known as q66
<gour>
gasche: with wrist pain included? ;)
<gasche>
I guess they'll use viper
<def-lkb>
evil gasche, evil.
gour_ has joined #ocaml
gour_ has quit [Changing host]
gour_ has joined #ocaml
gour has quit [Disconnected by services]
csakatoku has joined #ocaml
cago has left #ocaml []
gour_ is now known as gour
yminsky has joined #ocaml
yminsky has left #ocaml []
avsm has quit [Quit: Leaving.]
thomasga has quit [Quit: Leaving.]
thomasga has joined #ocaml
Yoric has quit [Ping timeout: 260 seconds]
peterbb has quit [Ping timeout: 240 seconds]
ggole_ is now known as ggole
demonimin has quit [Ping timeout: 252 seconds]
csakatoku has quit [Remote host closed the connection]
zpe has quit [Remote host closed the connection]
zpe has joined #ocaml
demonimin has joined #ocaml
zpe has quit [Ping timeout: 272 seconds]
paddymahoney has quit [Remote host closed the connection]
cesar_ has joined #ocaml
demonimin has quit [Ping timeout: 252 seconds]
cesar_ is now known as Guest87466
demonimin has joined #ocaml
Neros has joined #ocaml
ygrek has joined #ocaml
demonimin has quit [Ping timeout: 252 seconds]
Arsenik has quit [Remote host closed the connection]
Arsenik has joined #ocaml
sepp2k has quit [Quit: Konversation terminated!]
demonimin has joined #ocaml
csakatoku has joined #ocaml
demonimin has quit [Ping timeout: 252 seconds]
csakatoku has quit [Ping timeout: 264 seconds]
demonimin has joined #ocaml
demonimin has quit [Ping timeout: 252 seconds]
thomasga has quit [Quit: Leaving.]
jonludlam has quit [Remote host closed the connection]
Kakadu has quit []
Guest87466 has quit [Remote host closed the connection]
demonimin has joined #ocaml
demonimin has quit [Changing host]
demonimin has joined #ocaml
testcocoon has quit [Quit: Coyote finally caught me]
<ousado>
"the situation is awesome" lol
djcoin has quit [Ping timeout: 264 seconds]
<adrien>
hmm?
<ousado>
some hours ago, rks` said that, in response to <gour> i haven't tried it (yet), but wonder what is situation in regard to merlin & vim?
osa1 has joined #ocaml
mcclurmc has quit [Remote host closed the connection]
ygrek has quit [Ping timeout: 264 seconds]
syntropy has quit [Quit: Page closed]
mcclurmc has joined #ocaml
shinnya has quit [Ping timeout: 272 seconds]
csakatoku has joined #ocaml
wormphlegm has quit [Ping timeout: 264 seconds]
mcclurmc has quit [Remote host closed the connection]
csakatoku has quit [Ping timeout: 240 seconds]
zpe has joined #ocaml
paddymahoney has joined #ocaml
eikke has quit [Ping timeout: 272 seconds]
mcclurmc has joined #ocaml
avsm has joined #ocaml
cesar_ has joined #ocaml
cesar_ is now known as Guest49869
skchrko has quit [Remote host closed the connection]
Guest49869 has quit [Ping timeout: 265 seconds]
gustav_ has joined #ocaml
yacks has quit [Quit: Leaving]
Yoric has joined #ocaml
dsheets has quit [Ping timeout: 252 seconds]
thomasga has joined #ocaml
osa1 has quit [Ping timeout: 240 seconds]
nikki93 has joined #ocaml
wormphlegm has joined #ocaml
ynhandl has joined #ocaml
testcocoon has joined #ocaml
wormphlegm has quit [Ping timeout: 245 seconds]
dsheets has joined #ocaml
testcocoon has quit [Quit: Coyote finally caught me]
testcocoon has joined #ocaml
baz_ has joined #ocaml
yacks has joined #ocaml
Yoric has quit [Ping timeout: 248 seconds]
baz_ has quit [Remote host closed the connection]
thomasga has quit [Ping timeout: 264 seconds]
nickmeha1ry is now known as nickmeharry
peterbb has joined #ocaml
rand000 has joined #ocaml
_andre has quit [Quit: leaving]
wormphlegm has joined #ocaml
Yoric has joined #ocaml
jonludlam has joined #ocaml
w0rm_x has joined #ocaml
w0rm_x has left #ocaml []
wormphlegm has quit [Ping timeout: 272 seconds]
skchrko has joined #ocaml
jonludlam has quit [Ping timeout: 252 seconds]
thomasga has joined #ocaml
thomasga has quit [Client Quit]
klltkr has joined #ocaml
peterbb has quit [Ping timeout: 272 seconds]
anderse has joined #ocaml
jonludlam has joined #ocaml
ggole has quit []
robink has quit [Read error: Connection reset by peer]
csakatoku has joined #ocaml
csakatoku has quit [Ping timeout: 264 seconds]
avsm has quit [Quit: Leaving.]
Ptival is now known as dwoos___
peterbb has joined #ocaml
klltkr has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
cesar_ has joined #ocaml
cesar_ is now known as Guest95031
Guest95031 has quit [Ping timeout: 272 seconds]
wormphlegm has joined #ocaml
baz_ has joined #ocaml
wormphlegm has quit [Ping timeout: 245 seconds]
zpe has quit [Remote host closed the connection]
zpe has joined #ocaml
peterbb has quit [Ping timeout: 245 seconds]
zpe has quit [Ping timeout: 240 seconds]
ivan\ has quit [Quit: ERC Version 5.3 (IRC client for Emacs)]
ivan\ has joined #ocaml
yminsky has joined #ocaml
klltkr has joined #ocaml
VictorTaupin has joined #ocaml
<VictorTaupin>
Hi! how do you expand a result with MacCaml
dwoos___ is now known as Ptival
zpe has joined #ocaml
wormphlegm has joined #ocaml
<VictorTaupin>
I have a result (it's a binary tree) but i can see the whole tree
wormphlegm has quit [Ping timeout: 245 seconds]
zpe has quit [Ping timeout: 272 seconds]
<VictorTaupin>
hi ! do someone know how to display a whole answer with MacCaml or Caml light ?
<adrien>
I don't know maccaml but I expecet there's nothing specific about it for setting that
<adrien>
#print_depth n;; Limit the printing of values to a maximal depth of n. The parts of values whose depth exceeds n are printed as ... (ellipsis).
<adrien>
#print_length n;; Limit the number of value nodes printed to at most n. Remaining parts of values are printed as ... (ellipsis).
VictorTaupin has quit [Ping timeout: 250 seconds]
<kerneis>
putting a limit is mandatory because of recursive data structures
<kerneis>
otherwise, let rec ones = 1 :: ones would kill your toplevel