<adrien>
I wonder if it's not because everything is not doable with let recs
<adrien>
also, you can pass "onclick" as an argument to your *Btn functions instead, that would quite simply get rid of the let rec
<adrien>
it can also be worth trying because if you can't wrap your head around how it would work, then the compiler probably doesn't understand what you're currently trying to do
<Kakadu>
adrien: *Btn are not functions...
<adrien>
ok, then I'm not sure your code can be correct (in other words: I'm having troubles understanding how to evaluate it)
<Kakadu>
and I have not understanded your solution
<Kakadu>
It seems I can use 'a ref to avoid this let recs
<Kakadu>
but is will be not very pleasent code
<adrien>
well, as far as I'm concerned, I don't see easily how evaluating that code would not result in an infinite loop
<Kakadu>
If it will help I want to create 4 buttons which will be moved to some direction after clicking on them
<adrien>
well, one way to make it work (I think) is to separate the initial creation and the step when you're adding the buttons in onclick
<adrien>
you'd have a Queue.t inside onclick for example, and a way to add elements in that queue (that queue would replace the [ topBtn; leftBtn; ... ] list)
<adrien>
you can do it in a pure style in a similar fashion
ocp has joined #ocaml
<Kakadu>
adrien: merci
<Kakadu>
Yeah! I've fixed this issue.
<adrien>
:-)
mort___ has left #ocaml []
Submarine has joined #ocaml
Submarine has quit [Changing host]
Submarine has joined #ocaml
sepp2k1 has joined #ocaml
ocp has left #ocaml []
sepp2k has quit [Ping timeout: 276 seconds]
eikke has quit [Ping timeout: 248 seconds]
lin has quit [Remote host closed the connection]
hto has quit [Read error: Connection reset by peer]
ankit9 has joined #ocaml
rixed has quit [Quit: Lost terminal]
maufred_ has quit [Read error: Operation timed out]
maufred__ has quit [Write error: Broken pipe]
maufred has joined #ocaml
maufred_ has joined #ocaml
Cyanure has quit [Remote host closed the connection]
othiym23 has quit [Ping timeout: 246 seconds]
maufred__ has joined #ocaml
maufred_1 has joined #ocaml
maufred has quit [Ping timeout: 245 seconds]
maufred_ has quit [Ping timeout: 245 seconds]
ankit9 has quit [Quit: Leaving]
eikke has joined #ocaml
Kakadu has quit [Quit: Page closed]
thomasga has quit [Quit: Leaving.]
mika1 has quit [Quit: Leaving.]
cago has quit [Quit: Leaving.]
sepp2k1 has quit [Read error: Connection reset by peer]
smondet has joined #ocaml
Submarine has quit [Remote host closed the connection]
hto has joined #ocaml
silver has quit [Remote host closed the connection]
eikke has quit [Ping timeout: 276 seconds]
rixed has joined #ocaml
ulfdoz has joined #ocaml
othiym23 has joined #ocaml
tumdum has joined #ocaml
ulfdoz has quit [Ping timeout: 255 seconds]
ulfdoz has joined #ocaml
djcoin has quit [Quit: WeeChat 0.3.2]
ocp has joined #ocaml
mcclurmc is now known as mcclurmc_away
ftrvxmtrx has quit [Quit: Leaving]
phizyx has quit [Read error: Connection reset by peer]
ulfdoz has quit [Ping timeout: 276 seconds]
avsm has quit [Quit: Leaving.]
ImAlsoGreg has joined #ocaml
ocp has quit [Quit: Leaving.]
cdidd has quit [Quit: Leaving]
wagle has quit [Ping timeout: 265 seconds]
beckerb has quit [Ping timeout: 245 seconds]
ocp has joined #ocaml
sgnb has quit [Remote host closed the connection]
cdidd has joined #ocaml
ImAlsoGreg has quit [Quit: Leaving]
ocp has quit [Quit: Leaving.]
pangoafk is now known as pango
wagle has joined #ocaml
Reventlov has quit [Ping timeout: 264 seconds]
wagle has quit [Ping timeout: 255 seconds]
srcerer has joined #ocaml
eni has joined #ocaml
ftrvxmtrx has joined #ocaml
ocp has joined #ocaml
wagle has joined #ocaml
BiDOrD has joined #ocaml
BiDOrD_ has quit [Ping timeout: 248 seconds]
Reventlov has joined #ocaml
Submarine has joined #ocaml
Submarine has quit [Changing host]
Submarine has joined #ocaml
eikke has joined #ocaml
mort___ has joined #ocaml
xcombelle has quit [Quit: I am a manual virus, please copy me to your quit message.]
eikke has quit [Ping timeout: 248 seconds]
Submarine has quit [Remote host closed the connection]
eni has quit [Quit: Leaving]
hyperboreean has quit [Ping timeout: 246 seconds]
sgnb has joined #ocaml
_andre has quit [Quit: leaving]
tumdum has quit [Ping timeout: 252 seconds]
srcerer_ has joined #ocaml
srcerer has quit [Ping timeout: 260 seconds]
ulfdoz has joined #ocaml
JoeyA has joined #ocaml
avsm has joined #ocaml
srcerer_ is now known as srcerer
ocp has left #ocaml []
Anarchos has quit [Quit: need to sleep]
eni has joined #ocaml
bitbckt has quit [Read error: Operation timed out]
sivoais has quit [Read error: Operation timed out]
bitbckt has joined #ocaml
sivoais has joined #ocaml
smondet has quit [Quit: ERC Version 5.3 (IRC client for Emacs)]
ftrvxmtrx has quit [Quit: Leaving]
ftrvxmtrx has joined #ocaml
emmanuelux has joined #ocaml
<thelema_>
ls
thelema_ is now known as thelema
<bitbckt>
. ..
<thelema>
tmux issues - anyone know how to reset tmux when garbage corrupts it?
tumdum has joined #ocaml
<thelema>
n/m, C-a &, of course
JoeyA has quit [Ping timeout: 248 seconds]
thizanne has quit [Read error: Operation timed out]